diff options
author | Kenneth Graunke <[email protected]> | 2018-01-17 14:16:04 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2018-01-18 09:32:28 -0800 |
commit | 3e18c53e59457f585de217208e1745f2683be0b9 (patch) | |
tree | 2bb0e5bea583526fbd6cdc8d06877adb21592d9d /docs/relnotes | |
parent | 7ec6e4e68980c575b0818304920a8a8829ebd240 (diff) |
i965: Bind null render targets for shadow sampling + color.
Portal 2 appears to bind RGBA8888_UNORM textures to a sampler2DShadow,
and calls shadow2D() on it. This causes undefined behavior in OpenGL.
Unfortunately, our sampler appears to hang in this scenario, which is
not acceptable. Just give them a null surface instead, which returns
all zeroes.
Fixes GPU hangs in Portal 2 on Kabylake.
Huge thanks to Jason Ekstrand for noticing this crazy behavior while
sifting through crash dumps.
Cc: [email protected]
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104487
Reviewed-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'docs/relnotes')
0 files changed, 0 insertions, 0 deletions