Skip to content

Cannot translate resource type parameter 'vector<half, 4>' to proper image format #1672

Description

@Jumbo3000

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

spirvWork related to SPIR-V

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions