hlsl.struct.frag 846 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. struct {
  2. };
  3. struct {
  4. bool b;
  5. };
  6. struct myS {
  7. bool b, c;
  8. float4 a, d;
  9. };
  10. myS s1;
  11. static class {
  12. float4 i;
  13. } s2;
  14. struct IN_S {
  15. linear float4 a;
  16. nointerpolation bool b;
  17. noperspective centroid float1 c;
  18. sample centroid float2 d;
  19. bool ff1 : SV_IsFrontFace;
  20. bool ff2 : packoffset(c0.y);
  21. bool ff3 : packoffset(c0.y) : register(ps_5_0, s0) ;
  22. float4 ff4 : VPOS : packoffset(c0.y) : register(ps_5_0, s0) <int bambam=30;> ;
  23. };
  24. float ff5 : packoffset(c101.y) : register(ps_5_0, s[5]);
  25. float ff6 : packoffset(c102.y) : register(s3[5]);
  26. struct empty {};
  27. struct containEmpty {
  28. empty e;
  29. };
  30. float4 PixelShaderFunction(float4 input, IN_S s) : COLOR0
  31. {
  32. class FS {
  33. bool3 b3;
  34. } s3;
  35. s3 == s3;
  36. s2.i = s.ff4;
  37. containEmpty ce;
  38. empty e;
  39. e = ce.e;
  40. return input;
  41. }