mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 19:20:08 +01:00
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.
This commit is contained in:
parent
bffb65d28e
commit
27d751cdd8
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue