Skip to content

GLSL builtin variables #2

@tly000

Description

@tly000
  • Define builtin headers for all shader types
  • look at libclcxx/include/opencl_workitem how to define builtin variables
  • use llvm triple (i.e. spir-unknown-glsl-vertex) to default-include correct builtins
    • maybe define preprocessor macros (i.e. __vertex_shader__, __fragment_shader__ etc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions