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

Ian Romanick idr at freedesktop.org
Thu Mar 19 10:30:08 PDT 2015


On 03/19/2015 07:21 AM, 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. :-))

Shader-db doesn't do anything other than compile and link shaders, so
there's no drawing to disable.  As you will see in the commit messages
of a series that should go out today, I've been collection shader-db for
all platforms on my IVB system for quite some time.

It seems that Jason has added an option to shader-db to force a specific
platform via -p.  Even easier!

>     - Eero
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list