From 0c4bc1e29223ffec4617999c0c03d722bdcc170a Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 2 Oct 2014 16:36:51 +0200 Subject: tgsi: change tgsi_shader_info::properties to a one-dimensional array Reviewed-by: Roland Scheidegger v2: fix svga too --- src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/auxiliary/gallivm') diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c index 2d7f32d308d..05618bc1e6e 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c @@ -3865,7 +3865,7 @@ lp_build_tgsi_soa(struct gallivm_state *gallivm, bld.bld_base.op_actions[TGSI_OPCODE_ENDPRIM].emit = end_primitive; max_output_vertices = - info->properties[TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES][0]; + info->properties[TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES]; if (!max_output_vertices) max_output_vertices = 32; -- cgit v1.2.3