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.pa...@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.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev