upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_texture_test.cpp
diff options
context:
space:
mode:
authorTauwni <102470988+Tauwni@users.noreply.github.com>2026-11-26 12:19:12 +0100
committerTauwni <102470988+Tauwni@users.noreply.github.com>2026-11-26 12:19:12 +0100
commitbeffaa9a476ca1b3dfd9cfa55e39eafbb1f5eec6 (patch)
tree32877805bf4eb46d9a89d5753db6b5a2b06dc845 /runtime/test/vk_texture_test.cpp
parentf29ca7bacae9507f83e8c56abdb604bd4efb4cf1 (diff)
parenta73a57e1339be072baf5522351c8ec7f1482b56b (diff)
Merge main into fix/null-descriptor-generated-dir
Diffstat (limited to 'runtime/test/vk_texture_test.cpp')
-rw-r--r--runtime/test/vk_texture_test.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/test/vk_texture_test.cpp b/runtime/test/vk_texture_test.cpp
index 3dafcaef6..97e93cb04 100644
--- a/runtime/test/vk_texture_test.cpp
+++ b/runtime/test/vk_texture_test.cpp
@@ -327,7 +327,10 @@ int main(int argc, char** argv) {
327 leonida::DescriptorTable desc_table(16); 327 leonida::DescriptorTable desc_table(16);
328 // The heap already holds the original key. Change only the registered key for the miss control. 328 // The heap already holds the original key. Change only the registered key for the miss control.
329 if (fetch_miss) tsharp[7] ^= 1; 329 if (fetch_miss) tsharp[7] ^= 1;
330 desc_table.insert(tsharp, 1); 330 // Index 1 is bound in both sampled arrays the shaders read: images[1] (binding 0, the 2D view) and the 2D-array
331 // images[1] (binding 3, the view of the two cubes). A tagged module reads its instruction's array only when the
332 // entry's kind names it, so the kind carries both: with one bit, a 2D_ARRAY or cube op got the 1x1 fallback.
333 desc_table.insert(tsharp, 1, leonida::kind_sampled_bit(0) | leonida::kind_sampled_bit(1));
331 desc_table.insert(ssharp, 1); 334 desc_table.insert(ssharp, 1);
332 const auto table = desc_table.build_gpu_buffer(true); 335 const auto table = desc_table.build_gpu_buffer(true);
333 VkBuffer tb; VkDeviceMemory tbm; void* tbp; 336 VkBuffer tb; VkDeviceMemory tbm; void* tbp;