mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-27 01:40:50 +01:00
Removal of unneeded depthFormats
This commit is contained in:
parent
9b760e7c99
commit
a67eaaaace
1 changed files with 1 additions and 3 deletions
|
|
@ -1257,9 +1257,7 @@ void RasterizerVulkan::UpdateDepthBias(Tegra::Engines::Maxwell3D::Regs& regs) {
|
||||||
|
|
||||||
const bool is_float_depth =
|
const bool is_float_depth =
|
||||||
regs.zeta.format == Tegra::DepthFormat::Z32_FLOAT ||
|
regs.zeta.format == Tegra::DepthFormat::Z32_FLOAT ||
|
||||||
regs.zeta.format == Tegra::DepthFormat::Z32_FLOAT_X24S8_UINT ||
|
regs.zeta.format == Tegra::DepthFormat::Z32_FLOAT_X24S8_UINT;
|
||||||
regs.zeta.format == Tegra::DepthFormat::Z32_FLOAT_X16V8X8_UINT ||
|
|
||||||
regs.zeta.format == Tegra::DepthFormat::Z32_FLOAT_X16V8S8_UINT;
|
|
||||||
if (is_float_depth && units != 0.0f && !device.IsExtDepthBiasControlSupported()) {
|
if (is_float_depth && units != 0.0f && !device.IsExtDepthBiasControlSupported()) {
|
||||||
static bool logged_float_bias_warning = false;
|
static bool logged_float_bias_warning = false;
|
||||||
if (!logged_float_bias_warning) {
|
if (!logged_float_bias_warning) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue