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
// This file should be compiled with DXC against shader model 6.6 | |
// Change the TARGET_API define here to either D3D or VK and switch compiler output formats (DXIL or SPIR-V) to match | |
#define D3D 1 | |
#define VK 2 | |
#define TARGET_API D3D | |
// Begin macro magic | |
#if TARGET_API == D3D | |
// No special root signature needed! |