Skip to content

Need better management for compute shaders #2

Description

@ymd-h

In Vulkan, all pipelines require corresponding SPIR-V (intermediate) binaries.
We write (a lot of) GLSL (.comp) and compile them to SPIR-V (.spv) during build.

As far as I know, GLSL doesn't have library (import/include) system, so that there are so many duplicated codes.

Additionally, there is no template nor generics, therefore if we want to support other data type such as 16bit float, we have to write all supported operation codes once again.

Apparently, we need better frontend language and/or build system for SPIR-V generation, otherwise we cannot maintain them.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions