Skip to content

WebGPU ShaderStage missing Flags attribute #2238

Closed
@joskuijpers

Description

@joskuijpers

Summary

ShaderStage is used to indicate visibility of bind groups. It is allowed to have more than 1 of these items, and their values are 2^n.

Steps to reproduce

Write:

ShaderStage.Vertex | ShaderStage.Fragment

gives warning:

Bitwise operation on enum is not marked by [Flags] attribute

Comments

I know [Flags] needs to be added, I just do not know how in the process to automate that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy