summaryrefslogtreecommitdiffstats
path: root/src/vulkan/gen8_state.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-05 20:17:24 -0700
committerJason Ekstrand <[email protected]>2015-10-05 20:17:24 -0700
commit57f500324b8d7b6de1e3d5e0c0b18622b97ecca9 (patch)
tree0342a0e74a0906c661d77cee27d01a35930f64ef /src/vulkan/gen8_state.c
parentf7c3519aaf12d2e3878becd965433c9970383d84 (diff)
vk/0.170.2: Add unnormalizedCoordinates to VkSamplerCreateInfo
Diffstat (limited to 'src/vulkan/gen8_state.c')
-rw-r--r--src/vulkan/gen8_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/gen8_state.c b/src/vulkan/gen8_state.c
index 60135feaebe..4990becf60a 100644
--- a/src/vulkan/gen8_state.c
+++ b/src/vulkan/gen8_state.c
@@ -502,7 +502,7 @@ VkResult gen8_CreateSampler(
.UAddressMinFilterRoundingEnable = 0,
.UAddressMagFilterRoundingEnable = 0,
.TrilinearFilterQuality = 0,
- .NonnormalizedCoordinateEnable = 0,
+ .NonnormalizedCoordinateEnable = pCreateInfo->unnormalizedCoordinates,
.TCXAddressControlMode = vk_to_gen_tex_address[pCreateInfo->addressModeU],
.TCYAddressControlMode = vk_to_gen_tex_address[pCreateInfo->addressModeV],
.TCZAddressControlMode = vk_to_gen_tex_address[pCreateInfo->addressModeW],