Swizzle output of a render

#1

Hello !

I am a rendering in a render target with a R8 texture as a color attachement. Is there a way to output a float4 in the shader and have the alpha swizzled in the R Component.

I know its doable when you want to read the the texture with the swizzle in the ImageView. I can’t make it work when I write to the texture.

#2
1 Like