[Mesa-dev] [PATCH 2/5] i965/fs: Emit better b2f of an expression on GEN4 and GEN5

Kenneth Graunke kenneth at whitecape.org
Thu Mar 19 14:54:06 PDT 2015


On Thursday, March 19, 2015 04:21:25 PM Eero Tamminen wrote:
> Hi,
> 
> On 03/16/2015 06:37 PM, Matt Turner wrote:
> > On Mon, Mar 16, 2015 at 4:54 AM, Tapani Pälli <tapani.palli at intel.com> wrote:
> >> Is there some particular Piglit test case that hits this path and is it
> >> possible with gen>5 (by removing gen check)? I've tried this with
> >> handicrafted shader_test and also shader-db and cannot hit the conditions
> >> for changes to happen. Would be nice to be able to run examine changes and
> >> understand this better.
> >
> > Well, from the shader-db stats there must be some shaders affected in shader-db.
> >
> > Use INTEL_DEVID_OVERRIDE=... with a Gen4 or Gen5 PCI ID from
> > include/pci_ids/i965_pci_ids.h.
> 
> And disable drawing to avoid issues from mismatched GPU output?
> 
> (With shader cache, I guess these could be used to implement "offline 
> compiler" for a build machine running on different GEN from target 
> machine. :-))
> 
> 
> 	- Eero

libdrm handles the INTEL_DEVID_OVERRIDE variable.  If the PCI ID doesn't
match the actual one on your system, it skips executing batches.

So yeah, that just happens automatically.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150319/dacf5e95/attachment-0001.sig>


More information about the mesa-dev mailing list