vulkan depth bias fix #72
This commit is contained in:
@@ -4384,7 +4384,7 @@ namespace wiGraphics
|
||||
}
|
||||
|
||||
rasterizer.frontFace = desc.FrontCounterClockwise ? VK_FRONT_FACE_COUNTER_CLOCKWISE : VK_FRONT_FACE_CLOCKWISE;
|
||||
rasterizer.depthBiasEnable = desc.DepthBias != 0;
|
||||
rasterizer.depthBiasEnable = desc.DepthBias != 0 || desc.SlopeScaledDepthBias != 0;
|
||||
rasterizer.depthBiasConstantFactor = static_cast<float>(desc.DepthBias);
|
||||
rasterizer.depthBiasClamp = desc.DepthBiasClamp;
|
||||
rasterizer.depthBiasSlopeFactor = desc.SlopeScaledDepthBias;
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace wiVersion
|
||||
// minor features, major updates
|
||||
const int minor = 36;
|
||||
// minor bug fixes, alterations, refactors, updates
|
||||
const int revision = 51;
|
||||
const int revision = 52;
|
||||
|
||||
|
||||
long GetVersion()
|
||||
|
||||
Reference in New Issue
Block a user