diff options
author | Jason Ekstrand <[email protected]> | 2015-10-05 20:17:24 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-10-05 20:17:24 -0700 |
commit | 57f500324b8d7b6de1e3d5e0c0b18622b97ecca9 (patch) | |
tree | 0342a0e74a0906c661d77cee27d01a35930f64ef /src/vulkan/gen8_state.c | |
parent | f7c3519aaf12d2e3878becd965433c9970383d84 (diff) |
vk/0.170.2: Add unnormalizedCoordinates to VkSamplerCreateInfo
Diffstat (limited to 'src/vulkan/gen8_state.c')
-rw-r--r-- | src/vulkan/gen8_state.c | 2 |
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], |