mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
hasvk: use DX rules for point rasterization
It seems that's what the reference renderer in the CTS expects for Vulkan. This mostly matters if the edges of a point primitive fall exactly on a pixel sampling point. Fixes some upcoming tests under dEQP-VK.pipeline.monolithic.depth.format.*.point_list* Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19026>
This commit is contained in:
parent
63b2f735b1
commit
cde0778d3d
1 changed files with 1 additions and 1 deletions
|
|
@ -1682,7 +1682,7 @@ emit_3dstate_wm(struct anv_graphics_pipeline *pipeline,
|
|||
wm.StatisticsEnable = true;
|
||||
wm.LineEndCapAntialiasingRegionWidth = _05pixels;
|
||||
wm.LineAntialiasingRegionWidth = _10pixels;
|
||||
wm.PointRasterizationRule = RASTRULE_UPPER_RIGHT;
|
||||
wm.PointRasterizationRule = RASTRULE_UPPER_LEFT;
|
||||
|
||||
if (anv_pipeline_has_stage(pipeline, MESA_SHADER_FRAGMENT)) {
|
||||
if (wm_prog_data->early_fragment_tests) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue