Skip to content
Commit a90aa981 authored by João Capucho's avatar João Capucho Committed by Dzmitry Malyshau
Browse files

[glsl-in] Add support for non constant global init

Glsl allows things such as

```glsl
layout (location = 0) in vec4 a;
vec4 b = a;
```

In this case `b` depends on `a` which can't be known at compile time,
so it's necessary to add a small prologue to the entry point to
initialize it.
parent 057dc310
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment