mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
i965: Fix GPU hangs in the dummy fragment shader.
The dummy FB write failed to specify EOT and a message length, causing the GPU to hang. Now we can enjoy "everyone's favorite color" again. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
0342ffba1f
commit
393b42240f
1 changed files with 2 additions and 0 deletions
|
|
@ -1809,6 +1809,8 @@ fs_visitor::emit_dummy_fs()
|
|||
fs_inst *write;
|
||||
write = emit(FS_OPCODE_FB_WRITE, fs_reg(0), fs_reg(0));
|
||||
write->base_mrf = 2;
|
||||
write->mlen = 4;
|
||||
write->eot = true;
|
||||
}
|
||||
|
||||
/* The register location here is relative to the start of the URB
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue