inc_test.hlsl 350 B

1234567891011
  1. // RUN: %dxc -E main -T ps_6_0 -Zi %s | FileCheck %s
  2. // Make sure has 3 files in dx.source.contents instead of 4 which mix use / and \\ for same header.
  3. //CHECK:!dx.source.contents = !{!{{[0-9]+}}, !{{[0-9]+}}, !{{[0-9]+}}}
  4. #include "inc_dir\inc_dir.h"
  5. #include "inc_dir/inc_dir2.h"
  6. float main(float a:A) : SV_Target {
  7. return foo(a) + bar2(a);
  8. }