mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 18:10:23 +01:00
i965/fs: Use UD type for offsets in VARYING_PULL_CONSTANT_LOAD
This commit is contained in:
parent
a487f0284f
commit
eb76f226cf
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue