summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/genX_pipeline_util.h
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2016-08-08 20:30:07 +0100
committerJason Ekstrand <jason.ekstrand@intel.com>2016-08-08 14:44:25 -0700
commita3c472a2ec58038c5cd6b61f0c33260d38cd816e (patch)
treea2b40cb73c535952ea5eeffbc63fff21ed082c04 /src/intel/vulkan/genX_pipeline_util.h
parent1ebf3c4b6741a3a3a9d46048abe3996cb9a86334 (diff)
downloadexternal_mesa3d-a3c472a2ec58038c5cd6b61f0c33260d38cd816e.zip
external_mesa3d-a3c472a2ec58038c5cd6b61f0c33260d38cd816e.tar.gz
external_mesa3d-a3c472a2ec58038c5cd6b61f0c33260d38cd816e.tar.bz2
anv/pipeline: rename info to rs_info in emit_rs_state
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/intel/vulkan/genX_pipeline_util.h')
-rw-r--r--src/intel/vulkan/genX_pipeline_util.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/intel/vulkan/genX_pipeline_util.h b/src/intel/vulkan/genX_pipeline_util.h
index c17d930..0aa85ba 100644
--- a/src/intel/vulkan/genX_pipeline_util.h
+++ b/src/intel/vulkan/genX_pipeline_util.h
@@ -364,7 +364,7 @@ static const uint32_t vk_to_gen_front_face[] = {
static void
emit_rs_state(struct anv_pipeline *pipeline,
- const VkPipelineRasterizationStateCreateInfo *info,
+ const VkPipelineRasterizationStateCreateInfo *rs_info,
const struct anv_render_pass *pass,
const struct anv_subpass *subpass,
const struct anv_graphics_pipeline_create_info *extra)
@@ -398,10 +398,10 @@ emit_rs_state(struct anv_pipeline *pipeline,
raster.ForceMultisampling = false;
#endif
- raster.FrontWinding = vk_to_gen_front_face[info->frontFace];
- raster.CullMode = vk_to_gen_cullmode[info->cullMode];
- raster.FrontFaceFillMode = vk_to_gen_fillmode[info->polygonMode];
- raster.BackFaceFillMode = vk_to_gen_fillmode[info->polygonMode];
+ raster.FrontWinding = vk_to_gen_front_face[rs_info->frontFace];
+ raster.CullMode = vk_to_gen_cullmode[rs_info->cullMode];
+ raster.FrontFaceFillMode = vk_to_gen_fillmode[rs_info->polygonMode];
+ raster.BackFaceFillMode = vk_to_gen_fillmode[rs_info->polygonMode];
raster.ScissorRectangleEnable = !(extra && extra->use_rectlist);
#if GEN_GEN >= 9
@@ -412,9 +412,9 @@ emit_rs_state(struct anv_pipeline *pipeline,
raster.ViewportZClipTestEnable = !pipeline->depth_clamp_enable;
#endif
- raster.GlobalDepthOffsetEnableSolid = info->depthBiasEnable;
- raster.GlobalDepthOffsetEnableWireframe = info->depthBiasEnable;
- raster.GlobalDepthOffsetEnablePoint = info->depthBiasEnable;
+ raster.GlobalDepthOffsetEnableSolid = rs_info->depthBiasEnable;
+ raster.GlobalDepthOffsetEnableWireframe = rs_info->depthBiasEnable;
+ raster.GlobalDepthOffsetEnablePoint = rs_info->depthBiasEnable;
#if GEN_GEN == 7
/* Gen7 requires that we provide the depth format in 3DSTATE_SF so that it