mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
i965: Remove useless reg_offset >= 0 tests.
Commit eb9bd3a1 changed the type of this field to uint16_t.
This commit is contained in:
parent
b98c0262d1
commit
1ac230975e
2 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@ static void
|
|||
assign(unsigned int *reg_hw_locations, backend_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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue