diff options
-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; |