r600g: Remove dead assigment to 'gs_input_prim' in shader state
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>
Sat, 29 Aug 2015 08:31:06 +0000 (18:31 +1000)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 30 Aug 2015 09:40:26 +0000 (11:40 +0200)
Note that 'geometry shader properties' should be carried in the
selector state over the shader state in any case.

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_shader.h

index 4c4b6005981934fe3798ebae2d281ccc41295e28..44e41fb30a6737b8b6198004211d025a73fbd8a7 100644 (file)
@@ -2009,9 +2009,6 @@ static int r600_shader_from_tgsi(struct r600_context *rctx,
                        case TGSI_PROPERTY_VS_PROHIBIT_UCPS:
                                /* we don't need this one */
                                break;
-                       case TGSI_PROPERTY_GS_INPUT_PRIM:
-                               shader->gs_input_prim = property->u[0].Data;
-                               break;
                        case TGSI_PROPERTY_GS_OUTPUT_PRIM:
                                shader->gs_output_prim = property->u[0].Data;
                                break;
index 927bac5767337c5cf8131fcdd6da2f5eab1a6567..2b99b22a6b2dd4329c0c07738d0e6d720dd8f33c 100644 (file)
@@ -79,7 +79,6 @@ struct r600_shader {
        boolean                 uses_index_registers;
 
        /* geometry shader properties */
-       unsigned                gs_input_prim;
        unsigned                gs_output_prim;
        unsigned                gs_max_out_vertices;
        unsigned                gs_num_invocations;