diff options
author | Iago Toral Quiroga <[email protected]> | 2015-10-15 08:47:40 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-10-16 10:12:44 +0200 |
commit | 6f9ca3026693e061ee55fa6d5f16d9ec0e744b59 (patch) | |
tree | 4fdcee6ba859321b9cb8c26904be52a128528d48 /src/mesa | |
parent | ef7a5638290234a9d1f0574585174539e2c126eb (diff) |
i965/fs: 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_fs_nir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp index 0e044d01f1e..792663f2644 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp @@ -1432,7 +1432,7 @@ fs_visitor::nir_emit_intrinsic(const fs_builder &bld, nir_intrinsic_instr *instr */ brw_mark_surface_used(prog_data, stage_prog_data->binding_table.ubo_start + - nir->info.num_ssbos - 1); + nir->info.num_ubos - 1); } if (has_indirect) { |