mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-12 22:38:35 +00:00
![steve-lunarg](/assets/img/avatar_default.png)
When copying split types with mixtures of user variables and buitins, where the builtins are extracted, there is a parallel structures traversal. The traversal was not obtaining the derefenced types in the array case.
13 lines
154 B
GLSL
13 lines
154 B
GLSL
struct S {
|
|
float f;
|
|
float4 pos : SV_Position;
|
|
};
|
|
|
|
float4 main(int i, S input[3]) : COLOR0
|
|
{
|
|
S a[3];
|
|
input = a;
|
|
|
|
return float3(1.0);
|
|
}
|