diff options
author | Jordan Justen <[email protected]> | 2015-02-21 15:00:28 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-03-10 00:13:08 -0700 |
commit | e5269ca28e4c44fb49890b33af8b3058377d35c8 (patch) | |
tree | c515ec154036add1500c062cf63132c51b741c3e /src | |
parent | 6626e3548b5365dcb284504ea863d2ccdba2c7a5 (diff) |
i965/fs: Use unsigned for CS/VS atomics pixel mask immediate data
brw_imm_ud(0xffff) should have been converted to fs_reg(0xffffu) to
make sure the uint32_t fs_reg constructor was matched.
commit 49a938a265f5959c9b558995cc658f80acb6eb18
Author: Jordan Justen <[email protected]>
Date: Fri Feb 20 12:12:25 2015 -0800
i965/fs: Use fs_reg for CS/VS atomics pixel mask immediate data
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index 7859fefe7ad..3025a9d2779 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp @@ -3108,7 +3108,7 @@ fs_visitor::emit_untyped_atomic(unsigned atomic_op, unsigned surf_index, */ assert(stage == MESA_SHADER_VERTEX || stage == MESA_SHADER_COMPUTE); emit(MOV(component(sources[0], 7), - fs_reg(0xffff)))->force_writemask_all = true; + fs_reg(0xffffu)))->force_writemask_all = true; } length++; @@ -3171,7 +3171,7 @@ fs_visitor::emit_untyped_surface_read(unsigned surf_index, fs_reg dst, */ assert(stage == MESA_SHADER_VERTEX || stage == MESA_SHADER_COMPUTE); emit(MOV(component(sources[0], 7), - fs_reg(0xffff)))->force_writemask_all = true; + fs_reg(0xffffu)))->force_writemask_all = true; } /* Set the surface read offset. */ |