Commit 70c313d3 authored by Louis-Francis Ratté-Boulianne's avatar Louis-Francis Ratté-Boulianne Committed by Erik Faye-Lund

d3d12: Adjust polygon offset units

parent 179e8745
......@@ -249,7 +249,7 @@ create_gfx_pipeline_state(struct d3d12_context *ctx)
pso_desc.RasterizerState.CullMode = D3D12_CULL_MODE_NONE;
if (depth_bias(state->rast, reduced_prim)) {
pso_desc.RasterizerState.DepthBias = state->rast->base.offset_units;
pso_desc.RasterizerState.DepthBias = state->rast->base.offset_units * 2;
pso_desc.RasterizerState.DepthBiasClamp = state->rast->base.offset_clamp;
pso_desc.RasterizerState.SlopeScaledDepthBias = state->rast->base.offset_scale;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment