Home
last modified time | relevance | path

Searched refs:vs_body (Results 1 – 25 of 27) sorted by relevance

12

/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cGPUShader5Tests.cpp618 std::string vs_body = vs_body_template; in getVertexShader() local
623 Utils::replaceToken("SOURCE_TYPE", search_position, source_type, vs_body); in getVertexShader()
624 Utils::replaceToken("SOURCE_TYPE", search_position, source_type, vs_body); in getVertexShader()
627 Utils::replaceToken("DESTINATION_TYPE", search_position, destination_type, vs_body); in getVertexShader()
628 Utils::replaceToken("DESTINATION_TYPE", search_position, destination_type, vs_body); in getVertexShader()
633 Utils::replaceToken("ZERO", search_position, "0", vs_body); in getVertexShader()
634 Utils::replaceToken("ZERO", search_position, "0", vs_body); in getVertexShader()
638 Utils::replaceToken("ZERO", search_position, "0.0", vs_body); in getVertexShader()
639 Utils::replaceToken("ZERO", search_position, "0.0", vs_body); in getVertexShader()
643 Utils::replaceToken("ZERO", search_position, "ivec2(0,0)", vs_body); in getVertexShader()
[all …]
Dgl4cShaderSubroutineTests.cpp831 bool Utils::buildProgram(const glw::Functions& gl, const std::string& vs_body, const std::string& t… in buildProgram() argument
848 const char* vs_body_raw_ptr = vs_body.c_str(); in buildProgram()
1905 std::string vs_body = getVertexShaderBody(); in initTest() local
1906 const char* vs_body_raw_ptr = vs_body.c_str(); in initTest()
2190 std::string vs_body = getVertexShaderBody(test_case.variable_type, test_case.array_size); in executeTestIteration() local
2194 …if (!Utils::buildProgram(gl, vs_body, empty_body, empty_body, empty_body, empty_body, xfb_varyings… in executeTestIteration()
7041 std::string vs_body = getVertexShaderBody(n_id); in initTest() local
7042 const char* vs_body_raw_ptr = vs_body.c_str(); in initTest()
8217 const std::string vs_body = getShaderBody(Utils::SHADER_STAGE_VERTEX, n_id); in initTest() local
8219 …if (!Utils::buildProgram(gl, vs_body, tc_body, te_body, gs_body, fs_body, DE_NULL, /* xfb_varyings… in initTest()
[all …]
Dgl3cCommonBugsTests.cpp124 const char* vs_body = "#version 140\n" in initTest() local
150 &vs_body, DE_NULL); /* length */ in initTest()
2576 std::string vs_body; in runPipelineObjectValidationTestMode() local
2592 { &vs_body, &m_vs_po_id, SHADER_STAGE_VERTEX, GL_VERTEX_SHADER_BIT, GL_VERTEX_SHADER }, in runPipelineObjectValidationTestMode()
2601 &te_body, &vs_body); in runPipelineObjectValidationTestMode()
2762 std::string vs_body; in runSeparateShaderTestMode() local
2777 { &vs_body, &m_vs_id, SHADER_STAGE_VERTEX, GL_VERTEX_SHADER_BIT, GL_VERTEX_SHADER } }; in runSeparateShaderTestMode()
2782 &te_body, &vs_body); in runSeparateShaderTestMode()
2869 << ((vs_body.length() > 0) ? vs_body : "[not used]") << tcu::TestLog::EndMessage; in runSeparateShaderTestMode()
Dgl4cTextureViewTests.cpp5087 const char* vs_body = "#version 400\n" in initIterationSpecificProgramObject() local
5118 std::string vs_string = vs_body; in initIterationSpecificProgramObject()
5799 static const char* vs_body = "#version 400\n" in initPerSampleFillerProgramObject() local
5806 gl.shaderSource(m_per_sample_filler_vs_id, 1 /* count */, &vs_body, DE_NULL /* length */); in initPerSampleFillerProgramObject()
6823 std::string vs_body = vs_template_body; in initProgramObject() local
6825 while ((token_position = vs_body.find(token_texture_data_type)) != std::string::npos) in initProgramObject()
6827 vs_body.replace(token_position, strlen(token_texture_data_type), texture_sampler_data_type_glsl); in initProgramObject()
6830 while ((token_position = vs_body.find(token_texture_sampler)) != std::string::npos) in initProgramObject()
6832 vs_body.replace(token_position, strlen(token_texture_sampler), texture_sampler_glsl); in initProgramObject()
6835 while ((token_position = vs_body.find(token_texture_swizzle)) != std::string::npos) in initProgramObject()
[all …]
Dgl3cCullDistanceTests.hpp52 const glw::GLchar* te_body, const glw::GLchar* vs_body, const glw::GLuint& n_tf_varyings,
Dgl3cCullDistanceTests.cpp71 const glw::GLchar* te_body, const glw::GLchar* vs_body, in buildProgram() argument
84 { GL_TESS_EVALUATION_SHADER, te_body, 0 }, { GL_VERTEX_SHADER, vs_body, 0 } }; in buildProgram()
806 std::string vs_body = vs_body_template; in iterate() local
817 { &te_body, GL_TESS_EVALUATION_SHADER }, { &vs_body, GL_VERTEX_SHADER } }; in iterate()
918 … current_stage.use_vs ? vs_body.c_str() : DE_NULL, (current_stage.tf_output_name != NULL) ? 1 : 0, in iterate()
Dgl4cPipelineStatisticsQueryTests.hpp414 const char* te_body, const char* vs_body);
Dgl4cPipelineStatisticsQueryTests.cpp1707 const char* te_body, const char* vs_body) in buildProgram() argument
1719 te_body == DE_NULL && vs_body == DE_NULL)) || in buildProgram()
1721 te_body != DE_NULL || vs_body != DE_NULL))); in buildProgram()
1758 if (vs_body != DE_NULL) in buildProgram()
1804 &vs_body, DE_NULL); /* length */ in buildProgram()
Dgl4cSparseBufferTests.cpp4304 const char* vs_body = "#version 430 core\n" in initTestCaseGlobal() local
4324 &vs_body, 1, attribute_names, attribute_locations, in initTestCaseGlobal()
4577 static const char* vs_body = "#version 140\n" in initTestCaseGlobal() local
4586 &vs_body, 1, /* n_vs_body_parts */ in initTestCaseGlobal()
5913 static const char* vs_body = "#version 420 core\n" in initTestCaseGlobal() local
5926 &vs_body, 1, /* n_vs_body_parts */ in initTestCaseGlobal()
5934 &vs_body, 1, /* n_vs_body_parts */ in initTestCaseGlobal()
Dgl4cShaderSubroutineTests.hpp246 …static bool buildProgram(const glw::Functions& gl, const std::string& vs_body, const std::string& …
1357 std::string vs_body; member
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderPoints.hpp98 const char* vs_body; member
115 vs_body = NULL; in _test_descriptor()
DesextcTessellationShaderXFB.cpp472 const char* vs_body = "${VERSION}\n" in initTest() local
486 shaderSourceSpecialized(m_vs_id, 1 /* count */, &vs_body); in initTest()
491 &vs_body, 1, /* n_varyings */ in initTest()
515 const char* src[] = { fs_body, gs_body, tc_body, te_body, vs_body }; in initTest()
DesextcTessellationShaderPoints.cpp298 pass_fs_gs_tes_vs.vs_body = "${VERSION}\n" in initTest()
372 pass_fs_tes_vs.vs_body = "${VERSION}\n" in initTest()
510 if (test.vs_body != NULL) in iterate()
523 test.tcs_id ? 1 : 0, &test.tcs_body, test.vs_id, test.vs_id ? 1 : 0, &test.vs_body); in iterate()
DesextcTessellationShaderProgramInterfaces.cpp290 const char* vs_body = "${VERSION}\n" in initTest() local
300 5, te_code, m_vs_shader_id, 1, &vs_body); in initTest()
DesextcTessellationShaderBarrier.cpp202 const char* vs_body = getVSCode(); in initTest() local
220 &vs_body)) in initTest()
DesextcTessellationShaderProperties.cpp236 const char* vs_body = "${VERSION}\n" in initTest() local
246 shaderSourceSpecialized(m_vs_id, 1 /* count */, &vs_body); in initTest()
DesextcTessellationShaderTCTE.cpp335 const char* vs_body = "${VERSION}\n" in executeTestRun() local
355 shaderSourceSpecialized(run.vs_id, 1 /* count */, &vs_body); in executeTestRun()
1400 const char* vs_body = "${VERSION}\n" in initTest() local
1433 shaderSourceSpecialized(m_vs_id, 1 /* count */, &vs_body); in initTest()
1453 const char* src[] = { fs_body, tc_body, te_body, vs_body }; in initTest()
3442 const char* vs_body = "${VERSION}\n" in initTestDescriptor() local
3449 shaderSourceSpecialized(out_test_ptr->vs_id, 1 /* count */, &vs_body); in initTestDescriptor()
3997 const char* vs_body = "${VERSION}\n" in initTestDescriptor() local
4004 shaderSourceSpecialized(out_test_ptr->vs_id, 1 /* count */, &vs_body); in initTestDescriptor()
DesextcTessellationShaderTessellation.cpp482 const char* vs_body = "${VERSION}\n" in initTest() local
489 shaderSourceSpecialized(m_vs_id, 1 /* count */, &vs_body); in initTest()
1036 const char* vs_body = "${VERSION}\n" in initTest() local
1045 shaderSourceSpecialized(m_vs_id, 1 /* count */, &vs_body); in initTest()
1779 const char* vs_body = "${VERSION}\n" in initTest() local
1786 shaderSourceSpecialized(m_vs_id, 1 /* count */, &vs_body); in initTest()
DesextcTessellationShaderVertexOrdering.cpp219 const char* vs_body = "${VERSION}\n" in initTest() local
226 shaderSourceSpecialized(m_vs_id, 1 /* count */, &vs_body); in initTest()
DesextcTessellationShaderTriangles.cpp222 const char* vs_body = "${VERSION}\n" in initTest() local
229 shaderSourceSpecialized(m_vs_id, 1 /* count */, &vs_body); in initTest()
DesextcTessellationShaderUtils.cpp571 const char* vs_body = "${VERSION}\n" in init() local
579 m_parent_test->shaderSourceSpecialized(m_vs_id, 1 /* count */, &vs_body); in init()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleGetActiveUniformTests.hpp63 static const char* vs_body; member in glcts::MultisampleTextureGetActiveUniformSamplersTest
Des31cTextureStorageMultisampleGetActiveUniformTests.cpp98 const char* MultisampleTextureGetActiveUniformSamplersTest::vs_body = member in glcts::MultisampleTextureGetActiveUniformSamplersTest
249 &vs_body, NULL); /* length */ in iterate()
Des31cTextureStorageMultisampleFunctionalTests.cpp407 const glw::GLchar* vs_body = "#version 310 es\n" in iterate() local
424 gl.shaderSource(vs_id, 1 /* count */, &vs_body, NULL); in iterate()
870 static const char* vs_body = "#version 310 es\n" in iterate() local
894 gl.shaderSource(vs_id, 1 /* count */, &vs_body, NULL); in iterate()
2552 static const char* vs_body = "#version 310 es\n" in iterate() local
2569 gl.shaderSource(vs_id, 1 /* count */, &vs_body, NULL); in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_elements_base_vertex/
DesextcDrawElementsBaseVertexTests.cpp1266 std::string vs_body = specializeShader(1, &functional_vs_code); in setUpFunctionalTestObjects() local
1273 std::string* bodies[] = { &fs_body, &gs_body, &tc_body, &te_body, &vs_body }; in setUpFunctionalTestObjects()
1370 …buildProgram(fs_body.c_str(), vs_body.c_str(), use_tessellation_shader_stage ? tc_body.c_str() : D… in setUpFunctionalTestObjects()

12