vkd3d-shader: Set the program block count to the maximum for any function.

The block count is intended to be used for allocation of block info.
This commit is contained in:
Conor McCarthy
2024-05-24 15:30:44 +10:00
committed by Henri Verbeet
parent a5a8a4cc99
commit 2d508a2fa6
Notes: Henri Verbeet 2025-10-03 00:55:37 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1763
4 changed files with 8 additions and 5 deletions

View File

@@ -368,8 +368,8 @@ void main(patch_constant_data input,
[test]
uniform 0 uint 0
if(!llvmpipe) todo(glsl | mvk & vulkan | sm>=6) draw 3 control point patch list 3
if(!llvmpipe) todo(glsl | mvk & vulkan) draw 3 control point patch list 3
if(!llvmpipe) todo(mvk) probe (0, 0, 640, 480) f32(0.75, 0.5, 0.0, 1.0)
uniform 0 uint 1
if(!llvmpipe) todo(glsl | mvk & vulkan | sm>=6) draw 3 control point patch list 3
if(!llvmpipe) todo(glsl | mvk & vulkan) draw 3 control point patch list 3
if(!llvmpipe) todo(mvk) probe (0, 0, 640, 480) f32(0.25, 0.25, 0.0, 1.0)