Created
September 25, 2015 15:08
-
-
Save JayFoxRox/86fbc5841b1b8b2c6d08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ran with MESA_GLSL=dump, "Mesa 11.0.0-devel (git-1bba29e) is supported" | |
vec4 r = vec4(1.0, 2.0, 3.0, 4.0); | |
gl_Position = r; | |
(assign (xyzw) (var_ref gl_Position) (constant vec4 (1.000000 2.000000 3.000000 4.000000)) ) | |
-------------------------------------------------------------------------------------------------------- | |
// Ran with MESA_GLSL=dump, "Mesa 11.0.0-devel (git-1bba29e) is supported" | |
vec4 r; | |
r.x = 1.0; | |
r.y = 2.0; | |
r.z = 3.0; | |
r.w = 4.0; | |
gl_Position = r; | |
(declare () vec4 r) | |
(assign (x) (var_ref r) (constant float (1.000000)) ) | |
(assign (y) (var_ref r) (constant float (2.000000)) ) | |
(assign (z) (var_ref r) (constant float (3.000000)) ) | |
(assign (w) (var_ref r) (constant float (4.000000)) ) | |
(assign (xyzw) (var_ref gl_Position) (var_ref r) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment