mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-29 08:59:02 +02:00
[vk] Aliging ExtendedDynamicState2
This commit is contained in:
parent
eb3b4a9242
commit
c58d42a5e5
1 changed files with 8 additions and 5 deletions
|
|
@ -938,11 +938,14 @@ void RasterizerVulkan::UpdateDynamicStates() {
|
||||||
UpdateDepthTestEnable(regs);
|
UpdateDepthTestEnable(regs);
|
||||||
UpdateDepthWriteEnable(regs);
|
UpdateDepthWriteEnable(regs);
|
||||||
UpdateStencilTestEnable(regs);
|
UpdateStencilTestEnable(regs);
|
||||||
if (device.IsExtExtendedDynamicState2Supported()) {
|
}
|
||||||
UpdatePrimitiveRestartEnable(regs);
|
// EDS2 states must always be set, not just when TouchStateEnable() is true
|
||||||
UpdateRasterizerDiscardEnable(regs);
|
if (device.IsExtExtendedDynamicState2Supported()) {
|
||||||
UpdateDepthBiasEnable(regs);
|
UpdatePrimitiveRestartEnable(regs);
|
||||||
}
|
UpdateRasterizerDiscardEnable(regs);
|
||||||
|
UpdateDepthBiasEnable(regs);
|
||||||
|
}
|
||||||
|
if (state_tracker.TouchStateEnable()) {
|
||||||
if (device.IsExtExtendedDynamicState3EnablesSupported()) {
|
if (device.IsExtExtendedDynamicState3EnablesSupported()) {
|
||||||
using namespace Tegra::Engines;
|
using namespace Tegra::Engines;
|
||||||
if (device.GetDriverID() == VkDriverIdKHR::VK_DRIVER_ID_AMD_OPEN_SOURCE || device.GetDriverID() == VkDriverIdKHR::VK_DRIVER_ID_AMD_PROPRIETARY) {
|
if (device.GetDriverID() == VkDriverIdKHR::VK_DRIVER_ID_AMD_OPEN_SOURCE || device.GetDriverID() == VkDriverIdKHR::VK_DRIVER_ID_AMD_PROPRIETARY) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue