mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-22 05:10:35 +01:00
iris: omask can kill
This commit is contained in:
parent
bd031eb2e8
commit
480c62bc7e
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue