diff options
author | Bryan Cain <bryancain3@gmail.com> | 2013-02-15 09:26:35 -0600 |
---|---|---|
committer | Paul Berry <stereotype441@gmail.com> | 2013-08-01 20:20:16 -0700 |
commit | ae6eba3e32a142665d2ae6e15c9122d3201c0b5d (patch) | |
tree | 924e3137d87fb4f2cd8878dd5d87399ae8b9e026 /src/glsl/ir_hierarchical_visitor.h | |
parent | c6be77ee6fe27233f42e98e50002c4b0bdc02913 (diff) | |
download | external_mesa3d-ae6eba3e32a142665d2ae6e15c9122d3201c0b5d.zip external_mesa3d-ae6eba3e32a142665d2ae6e15c9122d3201c0b5d.tar.gz external_mesa3d-ae6eba3e32a142665d2ae6e15c9122d3201c0b5d.tar.bz2 |
glsl: add ir_emit_vertex and ir_end_primitive instruction types
These correspond to the EmitVertex and EndPrimitive functions in GLSL.
v2 (Paul Berry <stereotype441@gmail.com>): Add stub implementations of
new pure visitor functions to i965's vec4_visitor and fs_visitor
classes.
v3 (Paul Berry <stereotype441@gmail.com>): Rename classes to be more
consistent with the names used in the GL spec.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/glsl/ir_hierarchical_visitor.h')
-rw-r--r-- | src/glsl/ir_hierarchical_visitor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir_hierarchical_visitor.h b/src/glsl/ir_hierarchical_visitor.h index 1988ad0..647d2e0 100644 --- a/src/glsl/ir_hierarchical_visitor.h +++ b/src/glsl/ir_hierarchical_visitor.h @@ -87,6 +87,8 @@ public: virtual ir_visitor_status visit(class ir_variable *); virtual ir_visitor_status visit(class ir_constant *); virtual ir_visitor_status visit(class ir_loop_jump *); + virtual ir_visitor_status visit(class ir_emit_vertex *); + virtual ir_visitor_status visit(class ir_end_primitive *); /** * ir_dereference_variable isn't technically a leaf, but it is treated as a |