mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-30 23:33:17 +00:00
libraries: gnmdriver: added initialization preamble to every first submit in a frame
This commit is contained in:
parent
14377b39b5
commit
1f55eff9d8
5 changed files with 29 additions and 9 deletions
|
@ -122,9 +122,8 @@ void PipelineCache::RefreshGraphicsKey() {
|
|||
key.depth.depth_enable.Assign(key.depth_format != vk::Format::eUndefined);
|
||||
}
|
||||
|
||||
// TODO: Should be a check for `OperationMode::Disable` once we emulate HW state init packet
|
||||
// sent by system software.
|
||||
const auto skip_cb_binding = false;
|
||||
const auto skip_cb_binding =
|
||||
regs.color_control.mode == AmdGpu::Liverpool::ColorControl::OperationMode::Disable;
|
||||
|
||||
// `RenderingInfo` is assumed to be initialized with a contiguous array of valid color
|
||||
// attachments. This might be not a case as HW color buffers can be bound in an arbitrary order.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue