diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_descriptors.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_descriptors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c index cf661022d28..8b6e0bbb3a7 100644 --- a/src/gallium/drivers/radeonsi/si_descriptors.c +++ b/src/gallium/drivers/radeonsi/si_descriptors.c @@ -456,7 +456,7 @@ static void si_set_sampler_view(struct si_context *sctx, if (views->sampler_states[slot]) memcpy(desc + 12, - views->sampler_states[slot], 4*4); + views->sampler_states[slot]->val, 4*4); } views->enabled_mask |= 1u << slot; @@ -474,7 +474,7 @@ static void si_set_sampler_view(struct si_context *sctx, /* Re-set the sampler state if we are transitioning from FMASK. */ if (views->sampler_states[slot]) memcpy(desc + 12, - views->sampler_states[slot], 4*4); + views->sampler_states[slot]->val, 4*4); views->enabled_mask &= ~(1u << slot); } |