mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 22:01:04 +00:00
41aa19953f
Fixes #1092. Allows arrays of opaques to keep arrayness, unless needed by uniform array flattening. Can handle assignments of mixed amounts of flattening.
16 lines
221 B
GLSL
16 lines
221 B
GLSL
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;
|
|
} |