From c779ad3e6613bf318a1cb006a65c45cf7054ac63 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 12 Sep 2016 15:50:03 -0700 Subject: intel: Move Vulkan sample positions to common code Signed-off-by: Jason Ekstrand Reviewed-by: Anuj Phogat --- src/intel/vulkan/genX_pipeline_util.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/intel/vulkan/genX_pipeline_util.h') diff --git a/src/intel/vulkan/genX_pipeline_util.h b/src/intel/vulkan/genX_pipeline_util.h index 2c0bf3f..0ff92f1 100644 --- a/src/intel/vulkan/genX_pipeline_util.h +++ b/src/intel/vulkan/genX_pipeline_util.h @@ -22,8 +22,8 @@ */ #include "common/gen_l3_config.h" +#include "common/gen_sample_positions.h" #include "vk_format_info.h" -#include "genX_multisample.h" static uint32_t vertex_element_comp_control(enum isl_format format, unsigned comp) @@ -610,16 +610,16 @@ emit_ms_state(struct anv_pipeline *pipeline, switch (samples) { case 1: - SAMPLE_POS_1X(ms.Sample); + GEN_SAMPLE_POS_1X(ms.Sample); break; case 2: - SAMPLE_POS_2X(ms.Sample); + GEN_SAMPLE_POS_2X(ms.Sample); break; case 4: - SAMPLE_POS_4X(ms.Sample); + GEN_SAMPLE_POS_4X(ms.Sample); break; case 8: - SAMPLE_POS_8X(ms.Sample); + GEN_SAMPLE_POS_8X(ms.Sample); break; default: break; -- cgit v1.1