mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 10:35:03 +00:00
Fix build
This commit is contained in:
parent
d487ccc93c
commit
d59015a695
@ -285,10 +285,10 @@ bool PipelineCache::RefreshGraphicsKey() {
|
|||||||
auto& regs = liverpool->regs;
|
auto& regs = liverpool->regs;
|
||||||
auto& key = graphics_key;
|
auto& key = graphics_key;
|
||||||
|
|
||||||
key.z_format = regs.depth_buffer.DepthValid() ? regs.depth_buffer.z_info.format
|
key.z_format = regs.depth_buffer.DepthValid() ? regs.depth_buffer.z_info.format.Value()
|
||||||
: Liverpool::DepthBuffer::ZFormat::Invalid;
|
: Liverpool::DepthBuffer::ZFormat::Invalid;
|
||||||
key.stencil_format = regs.depth_buffer.StencilValid()
|
key.stencil_format = regs.depth_buffer.StencilValid()
|
||||||
? regs.depth_buffer.stencil_info.format
|
? regs.depth_buffer.stencil_info.format.Value()
|
||||||
: Liverpool::DepthBuffer::StencilFormat::Invalid;
|
: Liverpool::DepthBuffer::StencilFormat::Invalid;
|
||||||
key.depth_clip_enable = regs.clipper_control.ZclipEnable();
|
key.depth_clip_enable = regs.clipper_control.ZclipEnable();
|
||||||
key.clip_space = regs.clipper_control.clip_space;
|
key.clip_space = regs.clipper_control.clip_space;
|
||||||
|
Loading…
Reference in New Issue
Block a user