diff options
author | Kenneth Graunke <[email protected]> | 2018-08-30 15:49:32 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:09 -0800 |
commit | 5d1dadfc38a0a6a7af1ad66d33466f9dd7916753 (patch) | |
tree | 71ddc852482ec1562b43679d7d8407b8457b1697 /src/gallium/drivers/iris/iris_program.c | |
parent | f5b887da6c188f1848fa6651ca96a97a10cbe3df (diff) |
iris: bother with BTIs
Diffstat (limited to 'src/gallium/drivers/iris/iris_program.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_program.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c index 5ccb987da15..a0dcaa77175 100644 --- a/src/gallium/drivers/iris/iris_program.c +++ b/src/gallium/drivers/iris/iris_program.c @@ -363,10 +363,9 @@ assign_common_binding_table_offsets(const struct gen_device_info *devinfo, } if (info->num_ssbos || info->num_abos) { - //assert(info->num_abos <= BRW_MAX_ABO); - //assert(info->num_ssbos <= BRW_MAX_SSBO); prog_data->binding_table.ssbo_start = next_binding_table_offset; - next_binding_table_offset += info->num_abos + info->num_ssbos; + // XXX: see iris_state "wasting 16 binding table slots for ABOs" comment + next_binding_table_offset += IRIS_MAX_ABOS + info->num_ssbos; } else { prog_data->binding_table.ssbo_start = 0xd0d0d0d0; } |