[D3D12] Better polygon offset scale

This commit is contained in:
Triang3l
2018-09-29 12:01:09 +03:00
parent 400747bf7c
commit 64209748e3
2 changed files with 20 additions and 14 deletions

View File

@@ -136,7 +136,8 @@ class PipelineCache {
} update_blend_state_and_render_targets_regs_;
struct UpdateRasterizerStateRegisters {
// Polygon offset is in Xenos units.
// The constant factor of the polygon offset is multiplied by a value that
// depends on the depth buffer format here.
float poly_offset;
float poly_offset_scale;
uint8_t cull_mode;