mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Add signature reflection test with structs.
This commit is contained in:
committed by
Henri Verbeet
parent
fb2b974466
commit
d9b631182e
Notes:
Henri Verbeet
2024-10-22 20:54:15 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1193
@@ -30,7 +30,8 @@ shader model < 6.0
|
||||
// 1. Arrays always start on .x
|
||||
// 2. When placing a scalar or vector, search through the allocated slots for space *vertically*
|
||||
// (So check if you can place at o1.y, then o2.y, o3.y before o1.z, o2.z, etc.)
|
||||
// 3. Elements with different interpolation cannot share a slot
|
||||
// 3. Elements with different interpolation cannot share a slot.
|
||||
// 4. The first field of a struct is always aligned.
|
||||
struct data
|
||||
{
|
||||
float4 position : SV_Position; // Should be placed in o0
|
||||
|
Reference in New Issue
Block a user