Skip to content

i915G: show correct number of needed ALU instructions at errmess

GKraats requested to merge GKraats/mesa_alu:alu into main
If max ALU instructions are exceeded at GLSL link, i915g always prints
the same number of needed 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)

The errmessage for max TGSI has changed to show needed TGSI temps:
Mesa: debug: Error linking program 3:
error: Exceeded max TGSI temps (37/16)

Fixes: #10128 (closed)

Edited by GKraats

Merge request reports