diff options
author | Bryan Cain <[email protected]> | 2013-02-15 09:26:35 -0600 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-08-01 20:20:16 -0700 |
commit | ae6eba3e32a142665d2ae6e15c9122d3201c0b5d (patch) | |
tree | 924e3137d87fb4f2cd8878dd5d87399ae8b9e026 /src/mesa/drivers/dri/i965/brw_vec4.h | |
parent | c6be77ee6fe27233f42e98e50002c4b0bdc02913 (diff) |
glsl: add ir_emit_vertex and ir_end_primitive instruction types
These correspond to the EmitVertex and EndPrimitive functions in GLSL.
v2 (Paul Berry <[email protected]>): Add stub implementations of
new pure visitor functions to i965's vec4_visitor and fs_visitor
classes.
v3 (Paul Berry <[email protected]>): Rename classes to be more
consistent with the names used in the GL spec.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h index 407d8b60485..3313a635f38 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.h +++ b/src/mesa/drivers/dri/i965/brw_vec4.h @@ -283,6 +283,8 @@ public: virtual void visit(ir_discard *); virtual void visit(ir_texture *); virtual void visit(ir_if *); + virtual void visit(ir_emit_vertex *); + virtual void visit(ir_end_primitive *); /*@}*/ src_reg result; |