Is it possible to write a compute shader that can convert an RGBA image to a RGB image? I am new to HLSL and I cannot find a type of byte or uchar to make a structured buffer like
RWStructuredBuffer< uchar > WouldntThisBeNice;
Many functions in OpenCV work on RGB images but not RGBA. I am already successful in flipping my RGBA images up/down before sending them to OpenCV and figured it would nice to avoid an OpenCV call to convert the image on the CPU.