mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 23:42:43 +00:00
pipeline_cache: Missed depth bias enable
This commit is contained in:
parent
2cf31a3f5a
commit
a93b830f04
@ -210,6 +210,7 @@ bool PipelineCache::RefreshGraphicsKey() {
|
||||
!regs.depth_render_control.depth_clear_enable;
|
||||
key.depth_stencil.raw |= regs.depth_control.DepthState();
|
||||
key.depth_stencil.depth_write_enable.Assign(depth_write);
|
||||
key.depth_bias_enable = regs.polygon_control.NeedsBias();
|
||||
|
||||
const auto ds_format = LiverpoolToVK::DepthFormat(db.z_info.format, db.stencil_info.format);
|
||||
if (db.z_info.format != AmdGpu::Liverpool::DepthBuffer::ZFormat::Invalid) {
|
||||
|
Loading…
Reference in New Issue
Block a user