Skip to content

Commit 71cf413

Browse files
committed
Add README
1 parent b81b209 commit 71cf413

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SDL_gpu_shadercross
2+
3+
This is a library for translating shaders to different formats, intended for use with SDL's GPU API.
4+
It takes SPIRV or HLSL as the source and outputs DXBC, DXIL, SPIRV, MSL, or HLSL.
5+
6+
This library can perform runtime translation and conveniently returns compiled SDL GPU shader objects from HLSL or SPIRV source.
7+
This library also provides a command line interface for offline translation of shaders.
8+
9+
For SPIRV translation, this library depends on SPIRV-Cross: https://github.com/KhronosGroup/SPIRV-Cross
10+
For compiling to DXIL, dxcompiler.dll and dxil.dll are required (or your platform's equivalent).
11+
For compiling to DXBC, d3dcompiler_47 is shipped with Windows. Other platforms require vkd3d-utils.
12+
13+
This library is under the zlib license, see LICENSE.txt for details.

0 commit comments

Comments
 (0)