nir/glsl: gather bitmask of images used by program

In a similar fashion as commit f5c7df4dc9 does for textures.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4080>
This commit is contained in:
Tapani Pälli
2020-02-19 08:33:04 +02:00
committed by Marge Bot
parent 51b1b102bd
commit 5910c938a2
3 changed files with 22 additions and 0 deletions

View File

@@ -140,6 +140,9 @@ typedef struct shader_info {
/** Bitfield of which textures are used by texelFetch() */
uint32_t textures_used_by_txf;
/** Bitfield of which images are used */
uint32_t images_used;
/* SPV_KHR_float_controls: execution mode for floating point ops */
uint16_t float_controls_execution_mode;