vertex_fragment_expected_parts.json 699 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "vertex_lines": [
  3. "",
  4. "#version 450",
  5. "",
  6. "#VERSION_DEFINES",
  7. "",
  8. "#define M_PI 3.14159265359",
  9. "",
  10. "layout(location = 0) out vec2 uv_interp;",
  11. "",
  12. "void main() {",
  13. "\tuv_interp = vec2(0, 1);",
  14. "}",
  15. ""
  16. ],
  17. "fragment_lines": [
  18. "",
  19. "#version 450",
  20. "",
  21. "#VERSION_DEFINES",
  22. "",
  23. "layout(location = 0) in vec2 uv_interp;",
  24. "",
  25. "void main() {",
  26. "\tuv_interp = vec2(1, 0);",
  27. "}"
  28. ],
  29. "compute_lines": [],
  30. "vertex_included_files": [
  31. "tests/python_build/fixtures/rd_glsl/_included.glsl"
  32. ],
  33. "fragment_included_files": [],
  34. "compute_included_files": [],
  35. "reading": "fragment",
  36. "line_offset": 25,
  37. "vertex_offset": 1,
  38. "fragment_offset": 15,
  39. "compute_offset": 0
  40. }