Skip to content

triangle example vertex shader throws warning UnsupportedInstruction(Function, Variable) #33

@ncharlton02

Description

@ncharlton02

I was running into some warnings while trying to make some java bindings for the triangle example. I added a log callback into the C example to see if it was a problem in my code, but the same warning appeared. It appears that when wgpu_device_create_shader_module is called for the vertex shader, the following warning is logged:

WARN: Failed to parse shader SPIR-V code: UnsupportedInstruction(Function, Variable)
WARN: Shader module will not be validated

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions