mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/hlsl: Add more tests for the "numthreads" attribute.
This commit is contained in:
committed by
Henri Verbeet
parent
a06b9f6646
commit
cfb59828f3
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
@@ -175,6 +175,36 @@ size (2d, 2, 2)
|
||||
1.0 1.0
|
||||
1.0 1.0
|
||||
|
||||
% The product must not exceed 1024, and the third dimension cannot exceed 64.
|
||||
|
||||
[compute shader fail todo]
|
||||
[numthreads(1025,1,1)]
|
||||
void main() {}
|
||||
|
||||
[compute shader fail todo]
|
||||
[numthreads(1,1025,1)]
|
||||
void main() {}
|
||||
|
||||
[compute shader fail todo]
|
||||
[numthreads(1,1,65)]
|
||||
void main() {}
|
||||
|
||||
[compute shader fail todo]
|
||||
[numthreads(41,25,25)]
|
||||
void main() {}
|
||||
|
||||
[compute shader]
|
||||
[numthreads(1024,1,1)]
|
||||
void main() {}
|
||||
|
||||
[compute shader]
|
||||
[numthreads(1,1024,1)]
|
||||
void main() {}
|
||||
|
||||
[compute shader]
|
||||
[numthreads(4,4,64)]
|
||||
void main() {}
|
||||
|
||||
[compute shader]
|
||||
/* In SM < 6.0, attributes are taken from the first function, and dropped from the second. */
|
||||
RWTexture2D<float> u;
|
||||
|
Reference in New Issue
Block a user