summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-02-11 11:40:38 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:12 -0800
commit27d751cdd8809da66ec4f147b1e8ef7582549f34 (patch)
tree9a95a9862fe0397a767ce67f5e6954dfa646f67a /src/gallium/drivers/iris
parentbffb65d28e1f8cc5cfcfff0176a4ed3d710236d2 (diff)
iris: Drop XXX about alpha testing
I was misreading i965 - the 3DSTATE_WM::PixelShaderKillsPixel bit from Gen < 8 needed all of this, but the 3DSTATE_PS_EXTRA bit only needs prog_data->uses_kill.
Diffstat (limited to 'src/gallium/drivers/iris')
-rw-r--r--src/gallium/drivers/iris/iris_state.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c
index 2cf9c62587e..8191141a373 100644
--- a/src/gallium/drivers/iris/iris_state.c
+++ b/src/gallium/drivers/iris/iris_state.c
@@ -3392,9 +3392,7 @@ iris_store_fs_state(struct iris_context *ice,
iris_pack_command(GENX(3DSTATE_PS_EXTRA), psx_state, psx) {
psx.PixelShaderValid = true;
psx.PixelShaderComputedDepthMode = wm_prog_data->computed_depth_mode;
- // XXX: alpha test / alpha to coverage :/
- psx.PixelShaderKillsPixel = wm_prog_data->uses_kill ||
- wm_prog_data->uses_omask;
+ psx.PixelShaderKillsPixel = wm_prog_data->uses_kill;
psx.AttributeEnable = wm_prog_data->num_varying_inputs != 0;
psx.PixelShaderUsesSourceDepth = wm_prog_data->uses_src_depth;
psx.PixelShaderUsesSourceW = wm_prog_data->uses_src_w;