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 -ilia
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
Apparently Analagous Threads
- [PATCH] nv50/ir: Handle OP_CVT when folding constant expressions
- RFC: (Co-)Convergent functions and uniform function parameters
- RFC: (Co-)Convergent functions and uniform function parameters
- RFC: (Co-)Convergent functions and uniform function parameters
- [PATCH] nv50/ir: Handle OP_CVT when folding constant expressions