summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.h
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2019-07-25 10:35:46 +0200
committerGert Wollny <[email protected]>2019-08-01 05:58:53 +0000
commit57361d89fa1085b953ef7618817f752c3cc824ef (patch)
tree8bfcb3225516ef3db88666c11cad810631758923 /src/mesa/state_tracker/st_program.h
parentd81ba38b02cb1ef8f87b5551e6d668fa245e138e (diff)
mesa/st: Tie depth_clamp code into other shaders (GS and TES)
v2: Use file scope defined depth_range_state in common v3: - don't use the one_shader_variant property, as this is not correct (Marek) - also use tests on available shader stages to enable depth_clamp lowering v4: Don't use key.st, use st directly (Marek) Signed-off-by: Gert Wollny <[email protected]> Reviewed-by: Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_program.h')
-rw-r--r--src/mesa/state_tracker/st_program.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h
index eefa340e5cb..77b335993a5 100644
--- a/src/mesa/state_tracker/st_program.h
+++ b/src/mesa/state_tracker/st_program.h
@@ -269,6 +269,11 @@ struct st_basic_variant_key
/** For compat profile */
bool clamp_color;
+
+ /** both for ARB_depth_clamp */
+ bool lower_depth_clamp;
+ bool clip_negative_one_to_one;
+
};