mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Validate "numthreads" attribute values.
This commit is contained in:
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
@@ -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() {}
|
||||
|
||||
|
Reference in New Issue
Block a user