mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 18:58:10 +02:00
i956: Set the execution size correctly for scratch space writes.
Otherwise, the second half isn't written, and we end up reading back black. Fixes the remaining junk drawn in glsl-max-varyings, and will likely help with a number of large real-world shaders.
This commit is contained in:
parent
ff81a1dd92
commit
04de6861c1
1 changed files with 2 additions and 2 deletions
|
|
@ -1091,10 +1091,10 @@ void brw_dp_WRITE_16( struct brw_compile *p,
|
|||
* spilling within a thread.
|
||||
*/
|
||||
if (intel->gen >= 6) {
|
||||
dest = retype(brw_null_reg(), BRW_REGISTER_TYPE_UW);
|
||||
dest = retype(vec16(brw_null_reg()), BRW_REGISTER_TYPE_UW);
|
||||
send_commit_msg = 0;
|
||||
} else {
|
||||
dest = retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_UW);
|
||||
dest = brw_uw16_grf(0, 0);
|
||||
send_commit_msg = 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue