~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/auxiliary/tgsi/tgsi_aa_point.c

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
    */
198
198
   /* KILL_IF tmp0.w;  # if tmp0.w < 0 KILL */
199
199
   tgsi_transform_kill_inst(ctx, TGSI_FILE_TEMPORARY, tmp0,
200
 
                            TGSI_SWIZZLE_W, FALSE);
 
200
                            TGSI_SWIZZLE_W, false);
201
201
 
202
202
   /* If the distance is less than the threshold, the coverage/alpha value
203
203
    * will be greater than one.  Clamp to one here.
283
283
                  const bool need_texcoord_semantic)
284
284
{
285
285
   struct aa_transform_context transform;
286
 
   const uint num_new_tokens = 200; /* should be enough */
287
 
   const uint new_len = tgsi_num_tokens(tokens_in) + num_new_tokens;
 
286
   const unsigned num_new_tokens = 200; /* should be enough */
 
287
   const unsigned new_len = tgsi_num_tokens(tokens_in) + num_new_tokens;
288
288
 
289
289
   /* setup transformation context */
290
290
   memset(&transform, 0, sizeof(transform));