[Mesa-dev] ARB_arrays_of_arrays GLSL ES

Timothy Arceri t_arceri at yahoo.com.au
Tue Jun 23 05:53:45 PDT 2015


On Mon, 2015-06-22 at 19:04 +0300, Eero Tamminen wrote:
> Hi,
> 
> On 06/20/2015 03:32 PM, Timothy Arceri wrote:
> > The restrictions in ES make the extension easier to implement so
> > I thought I'd try get this stuff reviewed an committed before 
> > finishing
> > up the full extension.
> > The bits that I'm still working on for the desktop version are AoA 
> > inputs
> > outputs, and interface blocks.
> > 
> > The only thing I know is definatly missing in this series for ES is
> > support for indirect indexing of samplers, but that didn't seem 
> > like
> > something that should hold up the series.
> > 
> > Once the SSBO series lands (with a patch that restricts unsized 
> > arrays)
> > then all the AoA ES conformance tests will pass.
> > 
> > There are already a bunch of piglit tests in git but I've just sent 
> > a
> > series with all the patches still waiting review here:
> > http://lists.freedesktop.org/archives/piglit/2015-June/016312.html
> > 
> > I haven't made a patch marking this as done yet because currently
> > the i965 backend takes a very long time trying to optimise some of 
> > the
> > conformance tests. They still pass but they are taking 15-minutes+ 
> > just
> > to compile so this really needs to be sorted out first. If someone 
> > with
> > more knowledge in this area than me wants to take a look at this I 
> > would
> > be greatful for being pointed in the right direction.
> 
> Are there individual shaders which compilation take several minutes?

Yes. The shaders are part of these tests:

ES31-CTS.arrays_of_arrays.InteractionFunctionCalls1
ES31-CTS.arrays_of_arrays.InteractionFunctionCalls2

Callgrinds reporting 65% in
vec4_live_variables::compute_live_variables() with
InteractionFunctionCalls1

> 
> Do you have any perf [1] or valgrind [2] tool output for compiling 
> the 
> slowest one?
> 
> 
>       - Eero
> 
> [1] # perf record -a
>       ^C
>      # perf report -n
>      -> text output
> [2] $ valgrind --tool=callgrind <tester>
>      $ kcachegrind <callgrind output file>
>      -> callgraphs, callee maps etc
> _______________________________________________
> 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