mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-18 08:47:37 +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;
|
|
} |