mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-13 18:28:28 +12:00
use depth mask when writing to depth
This commit is contained in:
parent
21e7466670
commit
2a218d418f
5 changed files with 17 additions and 8 deletions
|
@ -187,8 +187,8 @@ struct LatteDecompilerShader
|
|||
|
||||
// analyzer stage (pixel outputs)
|
||||
uint32 pixelColorOutputMask{ 0 }; // from LSB to MSB, 1 bit per written output. 1 if written (indices of color attachments)
|
||||
// analyzer stage (depth write)
|
||||
bool depthWritten{ false };
|
||||
// analyzer stage (depth output)
|
||||
bool depthMask{ false };
|
||||
// analyzer stage (geometry shader parameters/inputs)
|
||||
uint32 ringParameterCount{ 0 };
|
||||
uint32 ringParameterCountFromPrevStage{ 0 }; // used in geometry shader to hold VS ringParameterCount
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue