recursive3.hlsl 219 B

1234567891011121314
  1. // RUN: %dxc -E main -T ps_6_0 %s | FileCheck %s
  2. // CHECK: error: recursive functions not allowed
  3. float test_ret()
  4. {
  5. return test_ret();
  6. }
  7. float4 main(float a : A, float b:B) : SV_TARGET
  8. {
  9. return test_ret();
  10. }