summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_visitor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
index aa177cbd276..d2dc5fa4e1b 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
@@ -2414,6 +2414,7 @@ fs_visitor::emit_untyped_atomic(unsigned atomic_op, unsigned surf_index,
atomic_op, surf_index);
inst->base_mrf = 0;
inst->mlen = mlen;
+ inst->header_present = true;
emit(inst);
}
@@ -2448,6 +2449,7 @@ fs_visitor::emit_untyped_surface_read(unsigned surf_index, fs_reg dst,
fs_inst(SHADER_OPCODE_UNTYPED_SURFACE_READ, dst, surf_index);
inst->base_mrf = 0;
inst->mlen = mlen;
+ inst->header_present = true;
emit(inst);
}