diff options
author | Chris Forbes <[email protected]> | 2013-09-25 16:56:36 +1200 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2013-10-03 07:56:02 +1300 |
commit | 36e25ccd29056d965612523f82d973b43b85313e (patch) | |
tree | 31a6e24ddd3236132e7a505ccd474e4e518d3b8f /src/mesa/main | |
parent | 4ed3930f9741721f4ace2d008678c0c88fdcc501 (diff) |
glsl: flag shaders which use gather4 at all
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 3d414d5e76e..514f81048d1 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1963,6 +1963,8 @@ struct gl_program GLbitfield SamplersUsed; /**< Bitfield of which samplers are used */ GLbitfield ShadowSamplers; /**< Texture units used for shadow sampling. */ + GLboolean UsesGather; /**< Does this program use gather4 at all? */ + /** Named parameters, constants, etc. from program text */ struct gl_program_parameter_list *Parameters; |