diff options
author | Jordan Justen <[email protected]> | 2016-05-22 15:54:48 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2016-06-01 19:29:02 -0700 |
commit | 6f316c9d8658e870b0140b0f601d35d1fcf133b9 (patch) | |
tree | d530843779c528c1dd9693032484610e8f25af74 /src/compiler/nir/nir.h | |
parent | 7b9def35835232a10010f256b9c108219f97f752 (diff) |
nir: Make lowering gl_LocalInvocationIndex optional
Cc: "12.0" <[email protected]>
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 2e1bdfb429e..20f65201890 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1682,6 +1682,8 @@ typedef struct nir_shader_compiler_options { /* Indicates that the driver only has zero-based vertex id */ bool vertex_id_zero_based; + + bool lower_cs_local_index_from_id; } nir_shader_compiler_options; typedef struct nir_shader_info { |