diff options
author | Connor Abbott <cwabbott0@gmail.com> | 2022-12-01 12:18:41 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-12-14 16:19:47 +0000 |
commit | 316ed8f9652c4d787e7be7932ce7acd6fa753c56 (patch) | |
tree | 218ad5b7096a7278ffed382f0e13cdf35f665132 | |
parent | 4d2aa9a9f7d6a20a3c4409e81023c088d8ce1c81 (diff) |
tu: Expose *TexelBufferOffsetSingleTexelAlignment
This exactly matches what the HW can do.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20105>
-rw-r--r-- | src/freedreno/vulkan/tu_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index c603b991d68..f120ddf6de4 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -1179,9 +1179,9 @@ tu_get_physical_device_properties_1_3(struct tu_physical_device *pdevice, p->integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated = false; p->storageTexelBufferOffsetAlignmentBytes = 64; - p->storageTexelBufferOffsetSingleTexelAlignment = false; + p->storageTexelBufferOffsetSingleTexelAlignment = true; p->uniformTexelBufferOffsetAlignmentBytes = 64; - p->uniformTexelBufferOffsetSingleTexelAlignment = false; + p->uniformTexelBufferOffsetSingleTexelAlignment = true; /* The address space is 4GB for current kernels, so there's no point * allowing a larger buffer. Our buffer sizes are 64-bit though, so |