Fix array initialization on Intel. Thankfully NVIDIA also accepts this syntax. If AMD expects something else I'll be pissed.

This commit is contained in:
Marisa the Magician 2019-07-02 11:17:16 +02:00
commit 294f05591c
5 changed files with 13 additions and 13 deletions

View file

@ -4,7 +4,7 @@
*/
void main()
{
float gauss4[4] = { 0.270682, 0.216745, 0.111281, 0.036633 };
float gauss4[4] = float4[]( 0.270682, 0.216745, 0.111281, 0.036633 );
vec2 coord = TexCoord;
vec4 res = texture(InputTexture,coord);
vec2 bresl = textureSize(InputTexture,0);