compiler: Move gl_program::TexelFetchSamplers to shader_info.
I'd like to put this sort of metadata in the shader_info structure, rather than adding more things to gl_program. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
@@ -70,6 +70,9 @@ typedef struct shader_info {
|
||||
/* Whether or not this shader ever uses textureGather() */
|
||||
bool uses_texture_gather;
|
||||
|
||||
/** Bitfield of which textures are used by texelFetch() */
|
||||
uint32_t textures_used_by_txf;
|
||||
|
||||
/* The size of the gl_ClipDistance[] array, if declared. */
|
||||
unsigned clip_distance_array_size;
|
||||
|
||||
|
Reference in New Issue
Block a user