-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b81b209
commit 71cf413
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
SDL_gpu_shadercross | ||
|
||
This is a library for translating shaders to different formats, intended for use with SDL's GPU API. | ||
It takes SPIRV or HLSL as the source and outputs DXBC, DXIL, SPIRV, MSL, or HLSL. | ||
|
||
This library can perform runtime translation and conveniently returns compiled SDL GPU shader objects from HLSL or SPIRV source. | ||
This library also provides a command line interface for offline translation of shaders. | ||
|
||
For SPIRV translation, this library depends on SPIRV-Cross: https://github.com/KhronosGroup/SPIRV-Cross | ||
For compiling to DXIL, dxcompiler.dll and dxil.dll are required (or your platform's equivalent). | ||
For compiling to DXBC, d3dcompiler_47 is shipped with Windows. Other platforms require vkd3d-utils. | ||
|
||
This library is under the zlib license, see LICENSE.txt for details. |