diff options
author | Samuel Pitoiset <[email protected]> | 2017-05-16 12:25:28 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-14 10:04:36 +0200 |
commit | 2c3a7d584095bacb129a3fbbd6ccd5eac34d1451 (patch) | |
tree | e08fdb8b4728764183471895b7ee137845271193 /src/gallium/drivers/radeonsi/si_compute.h | |
parent | e1813a8635fb9775791721cf421de05803c3fcb5 (diff) |
radeonsi: track use of bindless samplers/images from tgsi_shader_info
This adds some new helper functions to know if the current draw
call (or dispatch compute) is using bindless samplers/images,
based on TGSI analysis.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_compute.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.h b/src/gallium/drivers/radeonsi/si_compute.h index 764d708c4fb..268817b23a6 100644 --- a/src/gallium/drivers/radeonsi/si_compute.h +++ b/src/gallium/drivers/radeonsi/si_compute.h @@ -49,6 +49,8 @@ struct si_compute { unsigned variable_group_size : 1; unsigned uses_grid_size:1; unsigned uses_block_size:1; + unsigned uses_bindless_samplers:1; + unsigned uses_bindless_images:1; }; #endif /* SI_COMPUTE_H */ |