r600g: initialise the geom shader loop registers.
authorDave Airlie <airlied@redhat.com>
Fri, 24 Jan 2014 06:41:32 +0000 (16:41 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 5 Feb 2014 00:49:38 +0000 (10:49 +1000)
As we do for vertex and pixel shaders.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/evergreen_state.c

index 6896617..e6aa122 100644 (file)
@@ -2967,6 +2967,7 @@ static void cayman_init_atom_start_cs(struct r600_context *rctx)
 
        eg_store_loop_const(cb, R_03A200_SQ_LOOP_CONST_0, 0x01000FFF);
        eg_store_loop_const(cb, R_03A200_SQ_LOOP_CONST_0 + (32 * 4), 0x01000FFF);
+       eg_store_loop_const(cb, R_03A200_SQ_LOOP_CONST_0 + (64 * 4), 0x01000FFF);
 }
 
 void evergreen_init_common_regs(struct r600_command_buffer *cb,
@@ -3425,6 +3426,7 @@ void evergreen_init_atom_start_cs(struct r600_context *rctx)
 
        eg_store_loop_const(cb, R_03A200_SQ_LOOP_CONST_0, 0x01000FFF);
        eg_store_loop_const(cb, R_03A200_SQ_LOOP_CONST_0 + (32 * 4), 0x01000FFF);
+       eg_store_loop_const(cb, R_03A200_SQ_LOOP_CONST_0 + (64 * 4), 0x01000FFF);
 }
 
 void evergreen_update_ps_state(struct pipe_context *ctx, struct r600_pipe_shader *shader)