Gallium i915 shows wrong number of needed ALU instructions at errmess
If max ALU instructions are exceeded at GLSL link, i915 always prints
the same number of instructions, because execution stops as soon as max ALU is
exceeded:
Mesa: debug: Error linking program 15:
error: Out of instructionsExceeded max ALU instructions (65/64)
Patch is added, which now shows next message:
Mesa: debug: Error linking program 15:
error: Exceeded max ALU instructions (74/64)
Also the errmessage for max TGSI has changed:
Mesa: debug: Error linking program 3:
error: Exceeded max TGSI temps (37/16)
i915_fpc.patch
Version: mesa-24.0.0-devel
Using Debian Testing (trixie) :
Linux debian 6.5.0-3-686-pae #1 SMP PREEMPT_DYNAMIC Debian 6.5.8-1 (2023-10-22) i686 GNU/Linux
Using wayland with dual monitors, configured above each other.
Using intel i915 gen 3 with 16 fence registers :
Graphics:
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and
945GT Express Memory Controller Hub (rev 03)
Subsystem: Dell Mobile 945GM/PM/GMS, 943/940GML and 945GT Express
Memory Controller Hub
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,
943/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: Dell Mobile 945GM/GMS, 943/940GML Express Integrated