diff options
author | Marek Olšák <[email protected]> | 2014-10-02 16:36:51 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-10-04 15:36:39 +0200 |
commit | 0c4bc1e29223ffec4617999c0c03d722bdcc170a (patch) | |
tree | ecae2a4b7708df339d2189a156357a9d4aa2452c /src/gallium/auxiliary/draw/draw_gs.c | |
parent | 1f6c0b55df9f3553b18062ad2c7e2dc021d4c731 (diff) |
tgsi: change tgsi_shader_info::properties to a one-dimensional array
Reviewed-by: Roland Scheidegger <[email protected]>
v2: fix svga too
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_gs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c index 0c2f8922dc5..40f7ed352d9 100644 --- a/src/gallium/auxiliary/draw/draw_gs.c +++ b/src/gallium/auxiliary/draw/draw_gs.c @@ -766,11 +766,11 @@ draw_create_geometry_shader(struct draw_context *draw, } gs->input_primitive = - gs->info.properties[TGSI_PROPERTY_GS_INPUT_PRIM][0]; + gs->info.properties[TGSI_PROPERTY_GS_INPUT_PRIM]; gs->output_primitive = - gs->info.properties[TGSI_PROPERTY_GS_OUTPUT_PRIM][0]; + gs->info.properties[TGSI_PROPERTY_GS_OUTPUT_PRIM]; gs->max_output_vertices = - gs->info.properties[TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES][0]; + gs->info.properties[TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES]; if (!gs->max_output_vertices) gs->max_output_vertices = 32; |