Skip to content

psycholns/TinyDX11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyDX11

DirectX 11 compute shader example in c++ for 1k/4k intros by Psycho/Loonies

It is a dx11 adaption of my old opengl 1kb, which I have been using as "API size benchmark" for a long time: https://www.pouet.net/prod.php?which=32735 Currently compresses to 833 bytes including the 252 bytes of compressed shader source.

This is not a "insert shader.hlsl and (clinkster)music.asm here" intro framework like IQ's set at https://www.iquilezles.org/www/material/isystem1k4k/isystem1k4k.htm but rather meant as a starting point for your own system / source of inspiration / Toolbox when in need.

Building

Builds with Visual C++ 2019

Requires Windows 8.1 for shadercompiler_47.dll to be included in windows.

Needs Crinkler 2.3+ from https://www.pouet.net/prod.php?which=18158 - rename crinkler.exe to link.exe and place in solution directory

Acknowledgements

Mentor/TBC for some of the size hacks

About

Minimal DirectX 11 compute shader c++ example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages