summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2016-05-18 14:17:48 -0700
committerFrancisco Jerez <[email protected]>2016-05-27 23:29:05 -0700
commit29e471725115edf941458c5be0bb7e93218ddd0f (patch)
tree16a1bfe9587f40614bd65371ad33be93a1cc9fb6 /src/mesa
parenta55452530f7525e9cf5d2619bef66a61b488b4af (diff)
i965/fs: Don't emit duplicated SSBO GET_BUFFER_SIZE instruction unnecessarily.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_nir.cpp1
1 files changed, 0 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 5135828a951..a23a5d3ec8b 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
@@ -3871,7 +3871,6 @@ fs_visitor::nir_emit_intrinsic(const fs_builder &bld, nir_intrinsic_instr *instr
inst->header_size = 0;
inst->mlen = mlen;
inst->regs_written = regs_written;
- bld.emit(inst);
bld.MOV(retype(dest, buffer_size.type), buffer_size);
brw_mark_surface_used(prog_data, index);