gen8/pipeline: Properly set bits in PS_EXTRA for W, depth, and samaple mask
This commit is contained in:
parent
4016619931
commit
3086c5a5e1
2 changed files with 10 additions and 1 deletions
|
|
@ -387,6 +387,9 @@ genX(graphics_pipeline_create)(
|
|||
.EarlyDepthStencilControl = EDSC_NORMAL,
|
||||
.PointRasterizationRule = RASTRULE_UPPER_RIGHT,
|
||||
.PixelShaderComputedDepthMode = wm_prog_data->computed_depth_mode,
|
||||
.PixelShaderUsesSourceDepth = wm_prog_data->uses_src_depth,
|
||||
.PixelShaderUsesSourceW = wm_prog_data->uses_src_w,
|
||||
.PixelShaderUsesInputCoverageMask = wm_prog_data->uses_sample_mask,
|
||||
.BarycentricInterpolationMode = wm_prog_data->barycentric_interp_modes);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -547,9 +547,15 @@ genX(graphics_pipeline_create)(
|
|||
.AttributeEnable = wm_prog_data->num_varying_inputs > 0,
|
||||
.oMaskPresenttoRenderTarget = wm_prog_data->uses_omask,
|
||||
.PixelShaderIsPerSample = per_sample_ps,
|
||||
.PixelShaderUsesSourceDepth = wm_prog_data->uses_src_depth,
|
||||
.PixelShaderUsesSourceW = wm_prog_data->uses_src_w,
|
||||
#if ANV_GEN >= 9
|
||||
.PixelShaderPullsBary = wm_prog_data->pulls_bary,
|
||||
.InputCoverageMaskState = ICMS_NONE
|
||||
.InputCoverageMaskState = wm_prog_data->uses_sample_mask ?
|
||||
ICMS_INNER_CONSERVATIVE : ICMS_NONE,
|
||||
#else
|
||||
.PixelShaderUsesInputCoverageMask =
|
||||
wm_prog_data->uses_sample_mask,
|
||||
#endif
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue