GPUOpen-Effects / TressFX

DirectX 12 and Vulkan libraries that provide convenient access to realistically rendered and simulated hair and fur
MIT License
789 stars 131 forks source link

typo in TressFXRenderer.cpp : srDesc.Texture1D used for a texture2d in #17

Closed vlj closed 8 years ago

vlj commented 8 years ago

At line https://github.com/GPUOpen-Effects/TressFX/blob/master/amd_tressfx/src/TressFXRenderer.cpp#L251 the Texture1D union selector is used while the resource is a 2D texture. Since the binary representation matches it doesn't really matter but I think it wasn't intended.