diff options
| author | whoalin1 <207920491+whoalin1@users.noreply.github.com> | 2026-11-22 17:26:23 +0200 |
|---|---|---|
| committer | whoalin1 <207920491+whoalin1@users.noreply.github.com> | 2026-11-22 20:11:53 +0200 |
| commit | bf1c90e200a6ae212798682d4b7e9182148d53ae (patch) | |
| tree | bd7152fdbb2abe5786d0f7faa82094de0d5b5737 /runtime/src/pe_loader.cpp | |
| parent | ec8ec4c9a46c6623f1a9c125afd3566da97f1e0c (diff) | |
Translator: --pc-tail-ubo moves the push-constant tail to a uniform block for 128-byte devices
A device whose maxPushConstantsSize is 128, Vulkan's minimum (AMD's Windows driver on RDNA2 iGPUs, some
Intel Arc drivers), can't take the 144-byte block (152 with --mesh-compute). With --pc-tail-ubo the
push-constant block keeps s0..s31 (128 bytes), and the tail that follows them by default (heap base, code
base, the --mesh-compute output address) becomes %pc_tail, a uniform block at set 1, binding 0, with the same
members in the same order. It is declared only when the shader reads the tail; the index records "pc_tail"
and 128 push-constant bytes, and "bindings" still lists set 0 only. Without the flag nothing changes.
Step 1 of the uniform-buffer tail claimed in #1902; the GPU harnesses and the D3D12 layer that bind the
block follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions