virtualx-engine/tests/python_build/fixtures/gles3/vertex_fragment_expected_parts.json

53 lines
976 B
JSON
Raw Normal View History

{
"vertex_lines": [
"",
"precision highp float;",
"precision highp int;",
"",
"layout(location = 0) in highp vec3 vertex;",
"",
"out highp vec4 position_interp;",
"",
"void main() {",
"\tposition_interp = vec4(vertex.x,1,0,1);",
"}",
""
],
"fragment_lines": [
"",
"precision highp float;",
"precision highp int;",
"",
"in highp vec4 position_interp;",
"",
"void main() {",
"\thighp float depth = ((position_interp.z / position_interp.w) + 1.0);",
"\tfrag_color = vec4(depth);",
"}"
],
"uniforms": [],
"fbos": [],
"texunits": [],
"texunit_names": [],
"ubos": [],
"ubo_names": [],
"vertex_included_files": [],
"fragment_included_files": [],
"reading": "fragment",
"line_offset": 33,
"vertex_offset": 10,
"fragment_offset": 23,
"variant_defines": [
"#define USE_NINEPATCH"
],
"variant_names": [
"MODE_NINEPATCH"
],
"specialization_names": [
"DISABLE_LIGHTING"
],
"specialization_values": [
" false\n"
]
}