From: Iago Toral Quiroga Date: Thu, 15 Oct 2015 06:48:03 +0000 (+0200) Subject: i965/vec4: Use the right number of UBOs X-Git-Tag: upstream/17.1.0~15334 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f534f331ca354bcb138e2b8f6d6d80147ee4a186;p=platform%2Fupstream%2Fmesa.git i965/vec4: Use the right number of UBOs Reviewed-by: Jason Ekstrand --- diff --git a/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp b/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp index 0025f36..ea1e3e7 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp @@ -765,7 +765,7 @@ vec4_visitor::nir_emit_intrinsic(nir_intrinsic_instr *instr) */ brw_mark_surface_used(&prog_data->base, prog_data->base.binding_table.ubo_start + - nir->info.num_ssbos - 1); + nir->info.num_ubos - 1); } unsigned const_offset = instr->const_index[0];