<div dir="ltr"><div>Series (with the v2 changes) is:<br><br></div>Reviewed-by: Chris Forbes <<a href="mailto:chrisf@ijw.co.nz">chrisf@ijw.co.nz</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 19, 2015 at 12:46 PM, Ian Romanick <span dir="ltr"><<a href="mailto:idr@freedesktop.org" target="_blank">idr@freedesktop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This patch series implements a new GL extension,<br>
EXT_shader_samples_identical. This extension allows shaders to<br>
determine when all of the samples in a particular texel are the same.<br>
This takes advantage of the way compressed multisample surfaces are<br>
stored on modern Intel and AMD hardware. This enables optimizations in<br>
application multisample resolve filters, etc.<br>
<br>
I really wanted to get this in the next Mesa release. For some reason,<br>
I thought the branch point was after Thanksgiving (which is next<br>
Thursday). Ken reminded me yesterday that the branch point is actually<br>
this Friday. :( As a result, I'm sending it out today to get review as<br>
soon as possible.<br>
<br>
I also wanted to get as much time as possible for other drivers to get<br>
implementations. I worked with Graham Sellers on this extension, and he<br>
assures me that the implementation on modern Radeons is trivial. My<br>
expectation is that it should be about the same as the Intel<br>
implementation.<br>
<br>
There will be some extra TGSI bits needed, but that should also be<br>
trivial. For the NIR and i965 backend bits, I mostly copied and blended<br>
the implementations of txf_ms and query_samples.<br>
<br>
There are currently only trivial piglit tests, but I am working on more.<br>
I basically hacked up tests/spec/arb_texture_multisample/texelfetch.c to<br>
use the extension to render different colors based on whether<br>
textureSamplesIdenticalEXT returned true or false. The resulting image<br>
and the generated assembly look good. My plan is to get a set of real<br>
tests out by midday tomorrow.<br>
<br>
As soon as we're confident that the spec is good, I'll submit it to<br>
Khronos for publication in the registry. I'm still waiting on feedback<br>
from another closed-source driver writer.<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div><br></div>