diff options
Diffstat (limited to 'src/compiler/shader_info.h')
-rw-r--r-- | src/compiler/shader_info.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h index cd044d86094..5f14ad19df7 100644 --- a/src/compiler/shader_info.h +++ b/src/compiler/shader_info.h @@ -73,6 +73,13 @@ typedef struct shader_info { /** Bitfield of which textures are used by texelFetch() */ uint32_t textures_used_by_txf; + /** + * True if this shader uses the fddx/fddy opcodes. + * + * Note that this does not include the "fine" and "coarse" variants. + */ + bool uses_fddx_fddy; + /* The size of the gl_ClipDistance[] array, if declared. */ unsigned clip_distance_array_size; |