vkd3d-shader/hlsl: Validate "numthreads" attribute values.

This commit is contained in:
Elizabeth Figura
2025-03-28 15:35:44 -05:00
committed by Henri Verbeet
parent cfb59828f3
commit e16176672a
Notes: Henri Verbeet 2025-05-14 15:28:33 +02:00
Approved-by: Francisco Casas (@fcasas)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1498
2 changed files with 15 additions and 14 deletions

View File

@@ -177,19 +177,19 @@ size (2d, 2, 2)
% The product must not exceed 1024, and the third dimension cannot exceed 64.
[compute shader fail todo]
[compute shader fail]
[numthreads(1025,1,1)]
void main() {}
[compute shader fail todo]
[compute shader fail]
[numthreads(1,1025,1)]
void main() {}
[compute shader fail todo]
[compute shader fail]
[numthreads(1,1,65)]
void main() {}
[compute shader fail todo]
[compute shader fail]
[numthreads(41,25,25)]
void main() {}