mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
ir3: Fix gen8 instruction timings
non_alu is still 6. But AFAICT none of this changes since a7xx so these were probably wrong on a7xx as well. Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38450>
This commit is contained in:
parent
3e7f200e1f
commit
02a4cc622d
1 changed files with 3 additions and 2 deletions
|
|
@ -268,8 +268,9 @@ ir3_compiler_create(struct fd_device *dev, const struct fd_dev_id *dev_id,
|
|||
compiler->mergedregs = true;
|
||||
compiler->has_sel_b_fneg = dev_info->props.has_sel_b_fneg;
|
||||
|
||||
if (compiler->gen >= 7) {
|
||||
compiler->has_alias_tex = true;
|
||||
compiler->has_alias_tex = (compiler->gen >= 7);
|
||||
|
||||
if (compiler->gen == 7) {
|
||||
compiler->delay_slots.alu_to_alu = 2;
|
||||
compiler->delay_slots.non_alu = 5;
|
||||
compiler->delay_slots.cat3_src2_read = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue