diff options
author | Eric Anholt <[email protected]> | 2012-08-30 11:07:52 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-02-04 17:29:41 -0800 |
commit | 86536a321d9d26137587affe687a07da71f0b526 (patch) | |
tree | 3d8b9096617f94a722ad57cc01f8d23f5edde5f9 /src/mesa/drivers/dri/i965/brw_fs_emit.cpp | |
parent | e062a4187d8ea518a39c913ae7562cf1d8ac3205 (diff) |
i965: Disable write masking when setting up texturing m0.
v2/Kayden: Also disable write masking in the vec4 backend.
Fixes 78 oglconform glsl-bif-tex-* subcases.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Paul Berry <[email protected]> [v1]
Reviewed-by: Eric Anholt <[email protected]> [v2]
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_emit.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_emit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp index 45072da6a67..76446523cb1 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp @@ -469,6 +469,7 @@ fs_generator::generate_tex(fs_inst *inst, struct brw_reg dst, struct brw_reg src */ if (inst->texture_offset) { brw_push_insn_state(p); + brw_set_mask_control(p, BRW_MASK_DISABLE); brw_set_compression_control(p, BRW_COMPRESSION_NONE); /* Explicitly set up the message header by copying g0 to the MRF. */ brw_MOV(p, retype(brw_message_reg(inst->base_mrf), BRW_REGISTER_TYPE_UD), |