diff options
author | Jason Ekstrand <[email protected]> | 2016-09-12 15:50:03 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-09-14 17:51:16 -0700 |
commit | c779ad3e6613bf318a1cb006a65c45cf7054ac63 (patch) | |
tree | 8fc2459aa4a0468d19c1d0485ca68f569eebf418 /src/intel/vulkan/genX_state.c | |
parent | f019255acf4e3dab40f9504390357cd7798dd3e0 (diff) |
intel: Move Vulkan sample positions to common code
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/intel/vulkan/genX_state.c')
-rw-r--r-- | src/intel/vulkan/genX_state.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/intel/vulkan/genX_state.c b/src/intel/vulkan/genX_state.c index 2849b50ea37..a6d405dac5d 100644 --- a/src/intel/vulkan/genX_state.c +++ b/src/intel/vulkan/genX_state.c @@ -28,8 +28,8 @@ #include <fcntl.h> #include "anv_private.h" -#include "genX_multisample.h" +#include "common/gen_sample_positions.h" #include "genxml/gen_macros.h" #include "genxml/genX_pack.h" @@ -77,12 +77,12 @@ genX(init_device_state)(struct anv_device *device) * VkPhysicalDeviceFeatures::standardSampleLocations. */ anv_batch_emit(&batch, GENX(3DSTATE_SAMPLE_PATTERN), sp) { - SAMPLE_POS_1X(sp._1xSample); - SAMPLE_POS_2X(sp._2xSample); - SAMPLE_POS_4X(sp._4xSample); - SAMPLE_POS_8X(sp._8xSample); + GEN_SAMPLE_POS_1X(sp._1xSample); + GEN_SAMPLE_POS_2X(sp._2xSample); + GEN_SAMPLE_POS_4X(sp._4xSample); + GEN_SAMPLE_POS_8X(sp._8xSample); #if GEN_GEN >= 9 - SAMPLE_POS_16X(sp._16xSample); + GEN_SAMPLE_POS_16X(sp._16xSample); #endif } #endif |