r600g: fixup typo in macro name
authorDave Airlie <airlied@redhat.com>
Thu, 14 Oct 2010 04:19:37 +0000 (14:19 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Oct 2010 04:19:37 +0000 (14:19 +1000)
src/gallium/drivers/r600/r600_shader.c

index 42878a43f38cb24d00c85b8e63cf3c181c501829..d6f73cb74326f17a147fe9fa792f19c944b54fb6 100644 (file)
@@ -174,7 +174,7 @@ static void r600_pipe_shader_ps(struct pipe_context *ctx, struct r600_pipe_shade
        spi_ps_in_control_1 = 0;
        if (face_index != -1) {
                spi_ps_in_control_1 |= S_0286D0_FRONT_FACE_ENA(1) |
-                       S_286D0_FRONT_FACE_ADDR(rshader->input[face_index].gpr);
+                       S_0286D0_FRONT_FACE_ADDR(rshader->input[face_index].gpr);
        }
 
        r600_pipe_state_add_reg(rstate, R_0286CC_SPI_PS_IN_CONTROL_0, spi_ps_in_control_0, 0xFFFFFFFF, NULL);