diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-02-22 14:15:35 +0100 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-02-22 14:15:35 +0100 |
commit | ba5776054a555adcf3e7e4169db4cb87f38424e1 (patch) | |
tree | 43bd6758bcde28537c022b7fe4cb0c9354577595 /testdata/fragment01.out | |
parent | 8f499baa1f80809b93835635d9405b24d3c5eeaa (diff) |
fix webgl constant decl code gen
Diffstat (limited to 'testdata/fragment01.out')
-rw-r--r-- | testdata/fragment01.out | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testdata/fragment01.out b/testdata/fragment01.out index 8af9a0cd..f8b2a01e 100644 --- a/testdata/fragment01.out +++ b/testdata/fragment01.out | |||
@@ -40,8 +40,9 @@ Pipeline | |||
40 | vec4 rgb(float z0,float z1,float z2) { | 40 | vec4 rgb(float z0,float z1,float z2) { |
41 | return vec4 (z0,z1,z2,1.0); | 41 | return vec4 (z0,z1,z2,1.0); |
42 | } | 42 | } |
43 | vec4 blue = rgb (0.0,0.0,1.0); | 43 | vec4 blue; |
44 | void main() { | 44 | void main() { |
45 | blue = rgb (0.0,0.0,1.0); | ||
45 | f0 = blue; | 46 | f0 = blue; |
46 | } | 47 | } |
47 | """ | 48 | """ |