diff options
author | Iago Toral Quiroga <[email protected]> | 2015-10-15 08:48:03 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-10-16 10:12:44 +0200 |
commit | f534f331ca354bcb138e2b8f6d6d80147ee4a186 (patch) | |
tree | 63bb634d433329dc111d26641e234b4f39999ba4 /src/mesa | |
parent | 6f9ca3026693e061ee55fa6d5f16d9ec0e744b59 (diff) |
i965/vec4: Use the right number of UBOs
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_nir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp b/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp index 0025f3647a1..ea1e3e7bbcf 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]; |