~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/drivers/llvmpipe/lp_state_setup.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:
773
773
   key->pixel_center_half = lp->rasterizer->half_pixel_center;
774
774
   key->multisample = lp->rasterizer->multisample;
775
775
   key->twoside = lp->rasterizer->light_twoside;
776
 
   key->size = Offset(struct lp_setup_variant_key, inputs[key->num_inputs]);
 
776
   key->size = offsetof(struct lp_setup_variant_key, inputs[key->num_inputs]);
777
777
 
778
778
   key->color_slot = lp->color_slot[0];
779
779
   key->bcolor_slot = lp->bcolor_slot[0];