When compiling for Spirv:
With:
RWBuffer rw;
half4 var;
rw[0] = var;
This gives the error:
error: cannot translate resource type parameter 'vector<half, 4>' to proper image format.
It's compiling fine in glslc.
Also changing half4 to float4 makes it compile fine.
When compiling for Spirv:
With:
RWBuffer rw;
half4 var;
rw[0] = var;
This gives the error:
error: cannot translate resource type parameter 'vector<half, 4>' to proper image format.
It's compiling fine in glslc.
Also changing half4 to float4 makes it compile fine.