diff options
author | Matt Turner <[email protected]> | 2015-01-08 22:56:44 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-02-15 14:29:08 -0800 |
commit | a2299bfbbd6ed96ea4b529f90005d0242dbfeac0 (patch) | |
tree | f55fc2ca962df5f2106bbeeb7a5faf3c575de66a /src/mesa | |
parent | 7a83f7d4814c9216316a742e97c33259f7b3ae76 (diff) |
i965/fs: Handle U/UW-type immediates in the generator.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp index f7b8771f04d..3d5fa3555dc 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp @@ -92,6 +92,12 @@ brw_reg_from_fs_reg(fs_reg *reg) case BRW_REGISTER_TYPE_UD: brw_reg = brw_imm_ud(reg->fixed_hw_reg.dw1.ud); break; + case BRW_REGISTER_TYPE_W: + brw_reg = brw_imm_w(reg->fixed_hw_reg.dw1.d); + break; + case BRW_REGISTER_TYPE_UW: + brw_reg = brw_imm_uw(reg->fixed_hw_reg.dw1.ud); + break; case BRW_REGISTER_TYPE_VF: brw_reg = brw_imm_vf(reg->fixed_hw_reg.dw1.ud); break; |