# tex2D\<\> don't support tex2D\<float3\>?

**URL:** <https://forums.developer.nvidia.com/t/tex2d-dont-support-tex2d-float3/258301>\
**Category:** CUDA Programming and Performance\
**Created:** [June 29, 2023, 11:27am UTC](https://forums.developer.nvidia.com/t/tex2d-dont-support-tex2d-float3/258301 "2023-06-29T11:27:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![opengpu](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@opengpu](https://forums.developer.nvidia.com/u/opengpu)\
**Post date:** [June 29, 2023, 11:27am UTC](https://forums.developer.nvidia.com/t/tex2d-dont-support-tex2d-float3/258301/1 "2023-06-29T11:27:20Z")

</div>

tex2D\<\> don’t support `tex2D<float3>`?  
tex2D\<\> support `tex2D<float2>` and `tex2D<float4>`  
why?

---

<div class="post-metadata">

**Author:** ![Robert\_Crovella](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/robert_crovella/32/14043_2.png) [@Robert\_Crovella](https://forums.developer.nvidia.com/u/Robert_Crovella)\
**Post date:** [June 29, 2023, 2:02pm UTC](https://forums.developer.nvidia.com/t/tex2d-dont-support-tex2d-float3/258301/2 "2023-06-29T14:02:41Z")

</div>

[only 1-, 2-, and 4-component textures are supported by the hardware](https://forums.developer.nvidia.com/t/tex2d-in-optix7/115335/2). I don’t know the “reason” for that, but CUDA expresses [a similar hardware limitation](https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#device-memory-accesses) in terms of what data sizes can be loaded by a single thread in a single instruction.
