summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_info.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-02-16 16:10:58 +1100
committerTimothy Arceri <[email protected]>2018-02-19 08:47:48 +1100
commit347038baa9e897aee32df9db99a099146f249f42 (patch)
tree29289df401b90a5ebdce462777c5c7fd0a9ef0b9 /src/compiler/shader_info.h
parentfe76fc11b1fb8856c753630665a9ab5512427c96 (diff)
glsl/nir: add pixel_center_integer to shader info
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/shader_info.h')
-rw-r--r--src/compiler/shader_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
index f6dedb8d624..e7fd7dbe62d 100644
--- a/src/compiler/shader_info.h
+++ b/src/compiler/shader_info.h
@@ -159,6 +159,8 @@ typedef struct shader_info {
bool post_depth_coverage;
+ bool pixel_center_integer;
+
/** gl_FragDepth layout for ARB_conservative_depth. */
enum gl_frag_depth_layout depth_layout;
} fs;