diff options
Diffstat (limited to 'src/gallium/drivers/svga/svga_link.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_link.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_link.c b/src/gallium/drivers/svga/svga_link.c index 9c1df0c7f3c..0bf40d153b7 100644 --- a/src/gallium/drivers/svga/svga_link.c +++ b/src/gallium/drivers/svga/svga_link.c @@ -96,11 +96,13 @@ svga_link_shaders(const struct tgsi_shader_info *outshader_info, linkage->input_map[i] = j; } } + linkage->input_map_max = free_slot - 1; /* Debug */ if (SVGA_DEBUG & DEBUG_TGSI) { unsigned reg = 0; - debug_printf("### linkage info:\n"); + debug_printf("### linkage info: num_inputs=%d input_map_max=%d\n", + linkage->num_inputs, linkage->input_map_max); for (i = 0; i < linkage->num_inputs; i++) { |