HLSL: Add an Includer to handle #include.

This commit is contained in:
John Kessenich 2017-05-22 15:00:42 -06:00
parent 44d2728e3d
commit 3494b4da9b
22 changed files with 362 additions and 19 deletions

1
Test/inc1/badInc.h Normal file
View file

@ -0,0 +1 @@
#include "parentBad"

3
Test/inc1/bar.h Normal file
View file

@ -0,0 +1,3 @@
float4 i2;
#include "foo.h"

3
Test/inc1/foo.h Normal file
View file

@ -0,0 +1,3 @@
#include "parent.h"
float4 i3;