diff options
author | Bryan Cain <[email protected]> | 2013-02-15 08:53:20 -0600 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-08-01 20:20:36 -0700 |
commit | ff523771833cf2cfb6d69d61e86a28c26b8400be (patch) | |
tree | 8c5bbbcfa2552eed7a4d74ff34f174c623453d0d /src/glsl/builtins/ir/EndPrimitive.ir | |
parent | ae6eba3e32a142665d2ae6e15c9122d3201c0b5d (diff) |
glsl: add builtins for geometry shaders.
v2 (Paul Berry <[email protected]>): Account for rework of
builtin_variables.cpp. Use INTERP_QUALIFIER_FLAT for gl_PrimitiveID
so that it will obey provoking vertex conventions. Convert to GLSL
1.50 style geometry shaders.
Reviewed-by: Ian Romanick <[email protected]>
v3 (Paul Berry <[email protected]>): Be less obscure about
setting interpolation field of gl_Primitive variables.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/builtins/ir/EndPrimitive.ir')
-rw-r--r-- | src/glsl/builtins/ir/EndPrimitive.ir | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/builtins/ir/EndPrimitive.ir b/src/glsl/builtins/ir/EndPrimitive.ir new file mode 100644 index 00000000000..ed7e12ab450 --- /dev/null +++ b/src/glsl/builtins/ir/EndPrimitive.ir @@ -0,0 +1,5 @@ +((function EndPrimitive + (signature void + (parameters) + ((end-primitive))) +)) |