HLSL: Fix #606: make layout() override register.
This commit is contained in:
7
Test/hlsl.layoutOverride.vert
Normal file
7
Test/hlsl.layoutOverride.vert
Normal file
@@ -0,0 +1,7 @@
|
||||
layout(set=2,binding=0) Texture2D tex : register(t16);
|
||||
SamplerState samp;
|
||||
|
||||
float4 main() : SV_Position
|
||||
{
|
||||
return tex.Sample(samp, float2(0.2, 0.3));
|
||||
}
|
||||
Reference in New Issue
Block a user