bgfx/3rdparty/glslang/Test/hlsl.partialFlattenMixed.vert

16 lines
221 B
GLSL
Raw Normal View History

2017-10-20 08:19:20 -07:00
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;
}