glslang/Test/hlsl.partialFlattenMixed.vert

16 lines
221 B
GLSL
Raw Normal View History

Texture2D tex[2];
struct Packed {
int a;
Texture2D membTex[2];
int b;
};
float4 main(float4 pos : POSITION) : SV_POSITION
{
Packed packed;
packed.membTex = tex;
return pos;
}