[Nouveau] texelFetch sampler1/2DArray on nv50 gallium

Lucas Stach dev at lynxeye.de
Fri Nov 29 01:25:39 PST 2013


Hi Ilia,

Am Freitag, den 29.11.2013, 01:16 -0500 schrieb Ilia Mirkin:
> Hi Christoph/nouveau folks,
> 
> I've noticed that the piglit test "texelFetch" fails on my nv98 for
> sampler1DArray and sampler2DArray. I nuked the logic in
> nv50_ir_lowering_nv50.cpp:604 that does the f32 -> u32 conversion, and
> it seems to be passing now. TBH, I have no clue how the parameters are
> passed around and what that a[] is, but it seems like it's a u32 to
> begin with? (Or that it's the same format that texfetch expects.)
> 
> Perhaps this differs across card revisions? It would be interesting if
> someone with an original nv50, nva0, and nva3+ cards (those are the
> interesting 3d-related chip revisions) could run texelFetch as well to
> see whether it fails for them as well. Here's what I'm running:
> 
> piglit $ bin/texelFetch vs sampler1DArray -auto
> piglit $ bin/texelFetch vs sampler2DArray -auto
> piglit $ bin/texelFetch fs sampler1DArray -auto
> piglit $ bin/texelFetch fs sampler2DArray -auto
> 
All 4 test also fail on nvA0.

Regards,
Lucas



More information about the Nouveau mailing list