diff options
author | Ilia Mirkin <[email protected]> | 2014-06-11 15:33:41 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-07-01 11:34:24 -0400 |
commit | 0cbefc1bea703378381afff946e30c27a21f191d (patch) | |
tree | 541870f0476d0823bd6a1e72296bd24fd46adaf0 /src/mesa/state_tracker | |
parent | 1bfc0a11027449ae7ab7c28eb695f26de530eccf (diff) |
gallium: add vertex stream argument to EMIT/ENDPRIM
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index cac1e0fe223..b7218eff15c 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -3139,14 +3139,14 @@ void glsl_to_tgsi_visitor::visit(ir_emit_vertex *ir) { assert(this->prog->Target == GL_GEOMETRY_PROGRAM_NV); - emit(ir, TGSI_OPCODE_EMIT); + emit(ir, TGSI_OPCODE_EMIT, undef_dst, st_src_reg_for_int(0)); } void glsl_to_tgsi_visitor::visit(ir_end_primitive *ir) { assert(this->prog->Target == GL_GEOMETRY_PROGRAM_NV); - emit(ir, TGSI_OPCODE_ENDPRIM); + emit(ir, TGSI_OPCODE_ENDPRIM, undef_dst, st_src_reg_for_int(0)); } glsl_to_tgsi_visitor::glsl_to_tgsi_visitor() |