mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
vkd3d-shader/spirv: Clamp push constant CBV sizes to those of the push constant ranges backing them.
Otherwise invalid SPIR-V may be generated, because the CBV field in "push_cb_struct" may end up overlapping with a subsequent one.
This commit is contained in:
committed by
Henri Verbeet
parent
2903831f79
commit
7f377879fc
Notes:
Henri Verbeet
2025-11-12 15:31:45 +01:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1826
@@ -22,7 +22,7 @@ float4 main() : SV_Target
|
||||
|
||||
[test]
|
||||
uniform 0 float4 1.0 2.0 3.0 4.0
|
||||
todo(d3d12 & !windows & !mvk) draw quad
|
||||
draw quad
|
||||
probe (0, 0) f32(2.0, 3.0, 4.0, 5.0)
|
||||
|
||||
[require]
|
||||
|
||||
Reference in New Issue
Block a user