google / google/shaderc

compile Hlsl To Spv

Open
#1,200 1 comment 0 reactions 1 assignee Claimed by @dneto0 View on GitHub
Dominant language
C++
Stars
2.2k
Forks
445
Avg merge
11h 6m
Merged PRs (30d)
6

Description

How do we compile hlsl to spirv, using shaderc APIs, with the C API, and also with the C++ API?

For C API, are we supposed to first call:
shaderc_compile_options_set_source_language
and then call shaderc_compile_into_spv?

Maybe the documentation should be updated:
Takes a GLSL source string -> Takes a GLSL/HLSL source string

For C++ API, there's already an API: "CompileGlslToSpv"
Should there be another API added, like "CompileHlslToSpv"?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.