linedirective-invasive.azsl 430 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. enum E
  2. {
  3. #line 4
  4. A,
  5. B
  6. #line 6 // with comment
  7. #line 6
  8. };
  9. struct S
  10. {
  11. int a;
  12. #line 10
  13. };
  14. interface I
  15. {
  16. void F();
  17. #line 17
  18. };
  19. class C
  20. {
  21. float4 Get();
  22. #line 23
  23. };
  24. ShaderResourceGroupSemantic z
  25. {
  26. #line 28
  27. FrequencyId = 1;
  28. }
  29. ShaderResourceGroup G : z
  30. {
  31. #line 28
  32. };
  33. void func()
  34. {
  35. #line 38
  36. }
  37. static sampler grass
  38. {
  39. ComparisonFunc = Never;
  40. #line 44
  41. #line 44
  42. };
  43. static int array[] = { 0
  44. #line 48
  45. #line 48
  46. ,1,
  47. #line 49
  48. 2 };