First Commit
This commit is contained in:
18
externals/glslang/Test/spv.rw.autoassign.frag
vendored
Normal file
18
externals/glslang/Test/spv.rw.autoassign.frag
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
RWTexture1D <float> g_tTex1df1;
|
||||
RWBuffer <uint> g_tBuf1du1;
|
||||
|
||||
struct PS_OUTPUT
|
||||
{
|
||||
float4 Color : SV_Target0;
|
||||
};
|
||||
|
||||
PS_OUTPUT main()
|
||||
{
|
||||
float r00 = g_tTex1df1[0];
|
||||
uint r01 = g_tBuf1du1[0];
|
||||
|
||||
PS_OUTPUT psout;
|
||||
psout.Color = 0;
|
||||
return psout;
|
||||
}
|
||||
Reference in New Issue
Block a user