summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/freedreno/a2xx/fd2_program.h
diff options
context:
space:
mode:
authorJonathan Marek <jonathan@marek.ca>2018-11-23 10:58:11 -0500
committerRob Clark <robdclark@gmail.com>2019-01-28 13:04:41 -0500
commit7c930d99adfa3537b1dce987178544e1ce5eedf3 (patch)
treebfc46dd36738b5dab9e0ca2d9c31f8214d00fba4 /src/gallium/drivers/freedreno/a2xx/fd2_program.h
parent32b1d2d716ccc85c119e7a46008cdfd6450220e1 (diff)
freedreno: a2xx: enable early-Z testing
Enable earlyZ when alpha test is disabled. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx/fd2_program.h')
-rw-r--r--src/gallium/drivers/freedreno/a2xx/fd2_program.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_program.h b/src/gallium/drivers/freedreno/a2xx/fd2_program.h
index d4ac93bfed3..00e89d4e0a6 100644
--- a/src/gallium/drivers/freedreno/a2xx/fd2_program.h
+++ b/src/gallium/drivers/freedreno/a2xx/fd2_program.h
@@ -51,6 +51,7 @@ struct fd2_shader_stateobj {
bool writes_psize;
bool need_param;
+ bool has_kill;
/* note:
* fragment shader only has one variant