~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/drivers/softpipe/sp_state_shader.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:
393
393
      draw_set_mapped_constant_buffer(softpipe->draw, shader, index, data, size);
394
394
   }
395
395
 
396
 
   softpipe->mapped_constants[shader][index] = data;
397
 
   softpipe->const_buffer_size[shader][index] = size;
 
396
   softpipe->mapped_constants[shader][index].ptr = data;
 
397
   softpipe->mapped_constants[shader][index].size = size;
398
398
 
399
399
   softpipe->dirty |= SP_NEW_CONSTANTS;
400
400