neoragex2015 / nvidia-texture-tools

Automatically exported from code.google.com/p/nvidia-texture-tools
Other
0 stars 0 forks source link

Cuda problem with generated 1x1 mipmap #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm finding that when using Cuda and DXT5, the smallest generated mipmap
(1x1) seems to be affected by the source alpha channel.  If I compile using
the non-cuda version, then it just uses what's in the source colour
channels (as expected).

I can email you a testcase image if required (source tga and generated
dds's).  I won't attach them to this issue report for copyright reasons.

I'm using revision 804 of nvidia-texture_tools.
Windows XP
GeForce 8800 GTX
DirectX9

Cheers,
Dan.

Original issue reported on code.google.com by dandra...@gmail.com on 9 Jan 2009 at 2:40

GoogleCodeExporter commented 9 years ago
Yes, an example would be helpful. You contact us privately at
TextureTools@nvidia.com. Thanks!

Original comment by cast...@gmail.com on 10 Jan 2009 at 1:32

GoogleCodeExporter commented 9 years ago

Original comment by cast...@gmail.com on 13 Jan 2009 at 8:35

GoogleCodeExporter commented 9 years ago
I was able to reproduce the mentioned problem a while ago, but I cannot do it
anymore. I'm probably using a different driver/toolkit combination. What I've 
done is
to stop compressing small mipmaps with CUDA. When the number of blocks is very 
small
the GPU is not used efficiently and it's faster to compress them on the CPU.

That should also prevent the problem you described. The fix is checked in trunk:

http://code.google.com/p/nvidia-texture-tools/source/detail?r=844

If you are OK with this solution, I'll backport it to the 2.0 release.

Original comment by cast...@gmail.com on 3 Mar 2009 at 9:27

GoogleCodeExporter commented 9 years ago
This is fixed in 2.0.6 now. Closing.

Original comment by cast...@gmail.com on 18 Mar 2009 at 4:27