upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_query_sync_test.cpp
diff options
context:
space:
mode:
authorRyx <118130241+Ryx69@users.noreply.github.com>2026-11-22 00:21:53 +0100
committerRyx <118130241+Ryx69@users.noreply.github.com>2026-11-22 05:01:36 +0100
commit80e5cacabed8af5c0e9da9a35734a7c88198ff97 (patch)
tree3158cc3c46005770f05684e11cc6be2af60beedd /runtime/test/vk_queue_query_sync_test.cpp
parent1267591716621f05c24c0d5570eb29bca157050d (diff)
Runtime: refuse PSOs below 144 bytes of push constants; push-constant stages from the stage table
Review feedback from IAmNotSiob: - Both PSO paths declared a 144-byte push-constant range without consulting #224's limit. On a device with maxPushConstantsSize 128 (the Vulkan minimum) that breaks VUID-VkPushConstantRange-size-00298 and returns a bare E_FAIL. Both paths now refuse with E_NOTIMPL and log the limit until the uniform-buffer tail exists. d3d12_compute_test checks this with a device that reports 128 bytes. - The graphics range's stage flags are now the whole stage table create_graphics accepts, kept in GraphicsPipeline::push_stages, and the replay pushes with the same flags. A geometry or mesh stage added to the table is covered without another change. docs/d3d12_vulkan.md section 5.2 now counts code-base readers per stage with the current translator: of the 662 shaders with s_getpc_b64, 53 VS, 92 PS, 246 MS and 263 CS read the code base. VS+PS pairs are only known at PSO creation.
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions