diff options
author | Matt Turner <[email protected]> | 2015-04-11 09:47:39 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-04-11 09:59:46 -0700 |
commit | 1ac230975e2d3d9429e7a54f05d4fd803419fcd3 (patch) | |
tree | 741d15ec0184de6ee89651fcae527ef4aefc2309 /src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | |
parent | b98c0262d1183d24a37272558c51678cd6a0e9ec (diff) |
i965: Remove useless reg_offset >= 0 tests.
Commit eb9bd3a1 changed the type of this field to uint16_t.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp index 72c490bee62..2dfafdf9d6c 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp @@ -34,7 +34,6 @@ static void assign_reg(unsigned *reg_hw_locations, fs_reg *reg) { if (reg->file == GRF) { - assert(reg->reg_offset >= 0); reg->reg = reg_hw_locations[reg->reg] + reg->reg_offset; reg->reg_offset = 0; } |