<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Gen4-5 code lost: runtime_check_aads_emit"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78679#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Gen4-5 code lost: runtime_check_aads_emit"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78679">bug 78679</a>
from <span class="vcard"><a class="email" href="mailto:itoral@igalia.com" title="Iago Toral <itoral@igalia.com>"> <span class="fn">Iago Toral</span></a>
</span></b>
<pre>This is weird, but for some reason I cannot reproduce the GPU hang any more on
IronLake... I guess the hang was being caused for some other reason.
Anyway, I have spent some time implementing the removed code paths used when
runtime_check_aads_emit was set to TRUE and that are activated with the
attached example on IronLake and I only get GPU hangs.
I have checked the generated assembly code with INTEL_DEBUG="wm" and I don't
see anything wrong with the generated program so my guess is that IronLake is
not intended to be used like that (*). On the other hand, with the current code
the AA cases all seem to work fine in IronLake: whether I render antialiased
lines or wire-frame polygons it seems to be doing antialiasing properly so I
suspect runtime_check_aads_emit was only relevant in Gen <= 4 but Gen 5 is okay
without it.
To support this hypothesis even further there is the fact that the
runtime_check_aads_emit flag was only checked in brw_wm_emit.c, which as far as
I can see handles Gen4 code generation only.
Unfortunately, I don't have any Gen4 hardware here so I cannot verify this.
(*) Actually, I found that SIMD16 code generated was incorrect due to wrong
assignment of GRF registers. I could fix this for my tests by altering
fs_visitor::run() to use assign_regs_trivial() instead of assign_regs() though,
but I wonder if there is a bug lurking in there anyway. I will send an e-mail
to mesa-dev describing this situation in more detail.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>