diff options
-rw-r--r-- | src/gallium/drivers/nv50/nv50_shader_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_shader_state.c b/src/gallium/drivers/nv50/nv50_shader_state.c index df6764b216f..1ddcd3c67e7 100644 --- a/src/gallium/drivers/nv50/nv50_shader_state.c +++ b/src/gallium/drivers/nv50/nv50_shader_state.c @@ -552,9 +552,9 @@ nv50_stream_output_validate(struct nv50_context *nv50) so = nv50->gmtyprog ? nv50->gmtyprog->so : nv50->vertprog->so; + BEGIN_NV04(push, NV50_3D(STRMOUT_ENABLE), 1); + PUSH_DATA (push, 0); if (!so || !nv50->num_so_targets) { - BEGIN_NV04(push, NV50_3D(STRMOUT_ENABLE), 1); - PUSH_DATA (push, 0); if (nv50->screen->base.class_3d < NVA0_3D_CLASS) { BEGIN_NV04(push, NV50_3D(STRMOUT_PRIMITIVE_LIMIT), 1); PUSH_DATA (push, 0); |