First Commit
This commit is contained in:
24
externals/glslang/Test/hlsl.sample.sub-vec4.dx10.frag
vendored
Normal file
24
externals/glslang/Test/hlsl.sample.sub-vec4.dx10.frag
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user