mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
vkd3d-shader/hlsl: Accept multiple colon-separated attributes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Henri Verbeet
parent
794f4c30f4
commit
5ea946aa90
Notes:
Henri Verbeet
2024-11-05 20:05:24 +01:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1230
@@ -39,6 +39,16 @@ float4 main(float tex : texcoord) : sv_target
|
||||
todo(msl) draw quad
|
||||
probe (0, 0) rgba (0.2, 0.2, 0.2, 0.2)
|
||||
|
||||
[pixel shader fail(sm>=6)]
|
||||
float4 main(float tex : texcoord) : semantic : sv_target
|
||||
{
|
||||
return tex;
|
||||
}
|
||||
|
||||
[test]
|
||||
todo(msl) draw quad
|
||||
probe (0, 0) rgba (0.2, 0.2, 0.2, 0.2)
|
||||
|
||||
[pixel shader]
|
||||
|
||||
float4 main(float tex : texcoord) : sv_target
|
||||
@@ -76,7 +86,7 @@ float4 main(in float2 arr[2]) : sv_target
|
||||
[pixel shader]
|
||||
struct apple
|
||||
{
|
||||
float3 tp[4] : TEXCOORD0;
|
||||
float3 tp[4] : BOGUS : TEXCOORD0;
|
||||
};
|
||||
|
||||
float4 main(in apple a) : sv_target
|
||||
|
||||
Reference in New Issue
Block a user