diff options
author | Mark Mueller <MarkKMueller@gmail.com> | 2013-12-16 21:09:19 -0800 |
---|---|---|
committer | Mark Mueller <MarkKMueller@gmail.com> | 2014-01-13 09:46:00 -0800 |
commit | bf7a2e63cc18944e04d9bff60781be0678d52101 (patch) | |
tree | bb36fd7f2bbfbc8d681ac1da88489980a798f605 | |
parent | 36491e0ae972d14e8fb2961b095240a2bd56aae3 (diff) |
Fix silly coding.
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_blorp_blit.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp index 9c462d260b..96cae78783 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp +++ b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp @@ -2832,15 +2832,15 @@ brw_blorp_blit_params::brw_blorp_blit_params(struct brw_context *brw, if (0 != _mesa_get_format_bits(dst_mt->format, GL_RED_BITS)) { wm_prog_key.dst_component_sel = 1; - if (0 != _mesa_get_format_bits(dst_mt->format, GL_GREEN_BITS)) { + } + if (0 != _mesa_get_format_bits(dst_mt->format, GL_GREEN_BITS)) { wm_prog_key.dst_component_sel |= 2; - } - if (0 != _mesa_get_format_bits(dst_mt->format, GL_BLUE_BITS)) { + } + if (0 != _mesa_get_format_bits(dst_mt->format, GL_BLUE_BITS)) { wm_prog_key.dst_component_sel |= 4; - } - if (0 != _mesa_get_format_bits(dst_mt->format, GL_ALPHA_BITS)) { + } + if (0 != _mesa_get_format_bits(dst_mt->format, GL_ALPHA_BITS)) { wm_prog_key.dst_component_sel |= 8; - } } else if (0 != _mesa_get_format_bits(dst_mt->format, GL_TEXTURE_INTENSITY_SIZE)) { wm_prog_key.dst_component_sel = 0x1; } else if (0 != _mesa_get_format_bits(dst_mt->format, GL_TEXTURE_LUMINANCE_SIZE)) { |