mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/hlsl: Check for non-static object references on resource stores.
This commit is contained in:
committed by
Alexandre Julliard
parent
dd1008867e
commit
f100f5b726
Notes:
Alexandre Julliard
2022-11-18 22:42:34 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/48
@ -120,6 +120,18 @@ float4 main() : sv_target
|
||||
}
|
||||
|
||||
|
||||
[pixel shader fail]
|
||||
// Note: Only valid in shader model 5.1
|
||||
RWTexture2D<float4> tex[3];
|
||||
uniform int n;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
tex[n][int2(0, 0)] = 0.6;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
[pixel shader todo]
|
||||
Texture2D tex;
|
||||
uniform float f;
|
||||
|
Reference in New Issue
Block a user