From: Kenneth Graunke Date: Sun, 2 Dec 2018 23:41:13 +0000 (-0800) Subject: iris: omask can kill X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=480c62bc7e693bfdce5fa7bfff3f5ebd16818c98;p=mesa.git iris: omask can kill --- diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 399bdf8d9ca..f41bf1430c7 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -3331,7 +3331,9 @@ 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; - psx.PixelShaderKillsPixel = wm_prog_data->uses_kill; + // XXX: alpha test / alpha to coverage :/ + psx.PixelShaderKillsPixel = wm_prog_data->uses_kill || + wm_prog_data->uses_omask; 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;