From 6136fb8687d216565ea481875e651ff23b13bfd3 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Sat, 6 Aug 2016 08:24:00 -0700 Subject: [PATCH] genxml: Make 3DSTATE_SF more consistent between gen7 and gen8+ Signed-off-by: Jason Ekstrand Reviewed-by: Kenneth Graunke --- src/intel/genxml/gen7.xml | 7 +++++-- src/intel/genxml/gen75.xml | 7 +++++-- src/intel/vulkan/gen7_pipeline.c | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml index 108409393d9..5e82fab3d61 100644 --- a/src/intel/genxml/gen7.xml +++ b/src/intel/genxml/gen7.xml @@ -1612,7 +1612,7 @@ - + @@ -1641,7 +1641,10 @@ - + + + + diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml index b7bf13a08d5..f1be2f847e7 100644 --- a/src/intel/genxml/gen75.xml +++ b/src/intel/genxml/gen75.xml @@ -1857,7 +1857,7 @@ - + @@ -1888,7 +1888,10 @@ - + + + + diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c index daebc27655e..6b57dd65dc3 100644 --- a/src/intel/vulkan/gen7_pipeline.c +++ b/src/intel/vulkan/gen7_pipeline.c @@ -47,7 +47,7 @@ gen7_emit_rs_state(struct anv_pipeline *pipeline, .StatisticsEnable = true, .FrontFaceFillMode = vk_to_gen_fillmode[info->polygonMode], .BackFaceFillMode = vk_to_gen_fillmode[info->polygonMode], - .ViewTransformEnable = !(extra && extra->use_rectlist), + .ViewportTransformEnable = !(extra && extra->use_rectlist), .FrontWinding = vk_to_gen_front_face[info->frontFace], /* bool AntiAliasingEnable; */ @@ -65,7 +65,7 @@ gen7_emit_rs_state(struct anv_pipeline *pipeline, /* uint32_t AALineDistanceMode; */ /* uint32_t VertexSubPixelPrecisionSelect; */ - .UsePointWidthState = false, + .PointWidthSource = Vertex, .PointWidth = 1.0, .GlobalDepthOffsetEnableSolid = info->depthBiasEnable, .GlobalDepthOffsetEnableWireframe = info->depthBiasEnable, -- 2.30.2