mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
radeonsi: Also set the depth component mask bit for stencil-only exports
The stencil values come out wrong without this for some reason. 50 more little piglits. Cc: mesa-stable@lists.freedesktop.org
This commit is contained in:
parent
7fa18774bd
commit
46fd81e586
1 changed files with 4 additions and 1 deletions
|
|
@ -826,7 +826,10 @@ handle_semantic:
|
|||
args[7] =
|
||||
args[8] =
|
||||
args[6] = LLVMBuildLoad(base->gallivm->builder, out_ptr, "");
|
||||
mask |= 0x2;
|
||||
/* Only setting the stencil component bit (0x2) here
|
||||
* breaks some stencil piglit tests
|
||||
*/
|
||||
mask |= 0x3;
|
||||
|
||||
if (depth_index < 0)
|
||||
args[5] = args[6];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue