mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-01 07:01:12 +00:00
8b0227ced9
Also makes a (correct) test change for global -> temp vars.
25 lines
525 B
GLSL
25 lines
525 B
GLSL
SamplerState g_sSamp : register(s0);
|
|
|
|
Texture1D <float> g_tTex1df1;
|
|
Texture1D <float2> g_tTex1df2;
|
|
Texture1D <float3> g_tTex1df3;
|
|
Texture1D <float4> g_tTex1df4;
|
|
|
|
struct PS_OUTPUT
|
|
{
|
|
float4 Color : SV_Target0;
|
|
};
|
|
|
|
PS_OUTPUT main()
|
|
{
|
|
PS_OUTPUT psout;
|
|
|
|
float txval10 = g_tTex1df1 . Sample(g_sSamp, 0.1);
|
|
float2 txval11 = g_tTex1df2 . Sample(g_sSamp, 0.2);
|
|
float3 txval12 = g_tTex1df3 . Sample(g_sSamp, 0.2);
|
|
float4 txval13 = g_tTex1df4 . Sample(g_sSamp, 0.2);
|
|
|
|
psout.Color = 1.0;
|
|
return psout;
|
|
}
|