This repository has been archived on 2025-05-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
bgfx/3rdparty/glsl-optimizer/tests/fragment/struct-array-var-index-in.txt

10 lines
138 B
Text
Raw Normal View History

2012-04-03 20:30:07 -07:00
struct str {
float params[3];
};
void main() {
str s;
for (int i = 0; i < 3; ++i)
s.params[i] = 1.0;
gl_FragColor = vec4(0.0);
}