diff options
author | Jason Ekstrand <[email protected]> | 2015-11-25 09:59:03 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-12-14 15:58:09 -0800 |
commit | eb76f226cf0c3497caa1738efffa9c2e8b02201c (patch) | |
tree | 4a95002106acb0bb497d2a3176c0ff37bd1ca296 /src/mesa/drivers/dri | |
parent | a487f0284f618416e74f73ca2534d8d93c26531c (diff) |
i965/fs: Use UD type for offsets in VARYING_PULL_CONSTANT_LOAD
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index cbaa8afcdcf..dc0bdba72c1 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -174,7 +174,7 @@ fs_visitor::VARYING_PULL_CONSTANT_LOAD(const fs_builder &bld, * CSE can later notice that those loads are all the same and eliminate * the redundant ones. */ - fs_reg vec4_offset = vgrf(glsl_type::int_type); + fs_reg vec4_offset = vgrf(glsl_type::uint_type); bld.ADD(vec4_offset, varying_offset, brw_imm_ud(const_offset & ~0xf)); int scale = 1; |