diff options
author | Marek Olšák <[email protected]> | 2019-07-15 21:39:22 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-19 20:16:43 -0400 |
commit | fd92e65febcde29f728cb570c6db9c30a9ba2a3a (patch) | |
tree | 03cf706b38a933f85fa638a26888a51eb812e402 /src/gallium/drivers/radeonsi/si_blit.c | |
parent | e2c8ff009e5e077ae93ad19c63bd06d5c23d8376 (diff) |
radeonsi: add si_shader_selector into si_compute
Now we can assume that shader->selector is always set.
This will simplify some code.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Acked-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_blit.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_blit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c index ff189f1274d..63601ec1497 100644 --- a/src/gallium/drivers/radeonsi/si_blit.c +++ b/src/gallium/drivers/radeonsi/si_blit.c @@ -803,9 +803,9 @@ void si_decompress_textures(struct si_context *sctx, unsigned shader_mask) si_check_render_feedback(sctx); } else if (shader_mask & (1 << PIPE_SHADER_COMPUTE)) { - if (sctx->cs_shader_state.program->uses_bindless_samplers) + if (sctx->cs_shader_state.program->sel.info.uses_bindless_samplers) si_decompress_resident_textures(sctx); - if (sctx->cs_shader_state.program->uses_bindless_images) + if (sctx->cs_shader_state.program->sel.info.uses_bindless_images) si_decompress_resident_images(sctx); } } |