yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
f8332509
main
1SamplerState g_sSamp : register(s0 ); 2 3uniform Texture1D < float4 > g_tTex1df4 : register(t0 ); 4 5struct VS_OUTPUT 6{ 7float4 Pos :SV_Position ; 8}; 9 10VS_OUTPUT main () 11{ 12VS_OUTPUT vsout ; 13 14uint WidthU ; 15uint NumberOfLevelsU ; 16 17// Most of the tests are in the hlsl.getdimensions.dx10.frag on the fragment side. 18// This is just to establish that GetDimensions appears in the vertex stage. 19 20// 1D, float tx, uint params 21g_tTex1df4 .GetDimensions (WidthU ); 22g_tTex1df4 .GetDimensions (6 ,WidthU ,NumberOfLevelsU ); 23 24vsout .Pos = float4 (0 ,0 ,0 ,0 ); 25 26return vsout ; 27}