HLSL: Add an Includer to handle #include.
This commit is contained in:
8
Test/hlsl.includeNegative.vert
Normal file
8
Test/hlsl.includeNegative.vert
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "foo.h"
|
||||
#include "inc2/../foo.h"
|
||||
#include "inc1/badInc.h"
|
||||
|
||||
float4 main() : SV_Position
|
||||
{
|
||||
#error in main
|
||||
}
|
||||
Reference in New Issue
Block a user