diff options
author | Matt Turner <[email protected]> | 2018-12-10 11:01:39 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2019-01-09 16:42:40 -0800 |
commit | ecb115eb3f2eb876a294b66737c91e195e54532a (patch) | |
tree | f188d0ab57901c9550908b6e9d59e008291fa6bb /src/compiler/shader_info.h | |
parent | 41f3e9e5f5de5309821c266b76ccdd1b4d016ce8 (diff) |
nir: Add and set info::uses_64bit
Will be used to communicate that a shader uses 64-bit operations to the
concerned lowering passes.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/shader_info.h')
-rw-r--r-- | src/compiler/shader_info.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h index dc47cd7656d..87a2c805d37 100644 --- a/src/compiler/shader_info.h +++ b/src/compiler/shader_info.h @@ -121,6 +121,11 @@ typedef struct shader_info { */ bool uses_fddx_fddy; + /** + * True if this shader uses 64-bit ALU operations + */ + bool uses_64bit; + /* The size of the gl_ClipDistance[] array, if declared. */ unsigned clip_distance_array_size; |