Home
last modified time | relevance | path

Searched refs:m_glslVersion (Results 1 – 25 of 69) sorted by relevance

123

/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderNegativeTests.cpp59 : TestCase(context, name, description), m_glslVersion(glslVersion) in ShaderUniformInitializeGlobalCase()
89 args["VERSION_DECL"] = getGLSLVersionDeclaration(m_glslVersion); in iterate()
106 if (glslVersionIsES(m_glslVersion)) in iterate()
123 GLSLVersion m_glslVersion; member in deqp::ShaderUniformInitializeGlobalCase
133 , m_glslVersion(glslVersion) in ShaderUniformPrecisionLinkCase()
164 if (m_glslVersion <= m_shaderVariants[i].minimum_supported_version) in iterate()
169 args["VERSION_DECL"] = getGLSLVersionDeclaration(m_glslVersion); in iterate()
213 GLSLVersion m_glslVersion; member in deqp::ShaderUniformPrecisionLinkCase
223 : TestCase(context, name, description), m_glslVersion(glslVersion) in ShaderConstantSequenceExpressionCase()
248 args["VERSION_DECL"] = getGLSLVersionDeclaration(m_glslVersion); in iterate()
[all …]
DglcShaderIntegerMixTests.cpp50 : TestCase(context, name, description), m_glslVersion(glslVersion) in ShaderIntegerMixCase()
69 glu::GLSLVersion m_glslVersion; member in deqp::ShaderIntegerMixCase
114 …const glu::GLSLVersion v = glslVersionIsES(m_glslVersion) ? glu::GLSL_VERSION_300_ES : glu::GLSL_V… in test()
202 v = glslVersionIsES(m_glslVersion) ? glu::GLSL_VERSION_300_ES : glu::GLSL_VERSION_330; in test()
210 v = glslVersionIsES(m_glslVersion) ? glu::GLSL_VERSION_300_ES : glu::GLSL_VERSION_330; in test()
215 v = m_glslVersion; in test()
217 if (glslVersionIsES(m_glslVersion)) in test()
219 if (m_glslVersion < glu::GLSL_VERSION_310_ES) in test()
224 if (m_glslVersion < glu::GLSL_VERSION_450) in test()
353 bool is_es = glslVersionIsES(m_glslVersion); in test()
[all …]
DglcBlendEquationAdvancedTests.cpp576 : TestCaseGroup(context, "test_coherency", ""), m_glslVersion(glslVersion) in CoherentBlendTestCaseGroup()
583 …new CoherentBlendTest(m_context, "mixedSequence", m_glslVersion, 4, DE_LENGTH_OF_ARRAY(s_mixed), s… in init()
584 …addChild(new CoherentBlendTest(m_context, "multiplySequence", m_glslVersion, 1, DE_LENGTH_OF_ARRAY… in init()
597 , m_glslVersion(glslVersion) in CoherentBlendTest()
608 glu::GLSLVersion m_glslVersion; member in glcts::CoherentBlendTestCaseGroup::CoherentBlendTest
624 glu::GLSLVersion m_glslVersion; member in glcts::CoherentBlendTestCaseGroup
673 …Src = GetSolidShader("blend_support_all_equations", glu::getGLSLVersionDeclaration(m_glslVersion)); in iterate()
675 glu::makeVtxFragSources(GetDef2DVtxSrc(m_glslVersion).c_str(), frgSrc.c_str())); in iterate()
767 , m_glslVersion(glslVersion) in BlendTestCaseGroup()
778 addChild(new BlendTest(m_context, m_glslVersion, s_modes[i], m_useAllQualifier, in init()
[all …]
DglcSampleVariablesTests.cpp96 glu::GLSLVersion m_glslVersion; member in deqp::SampleShadingExtensionCase
101 : TestCase(context, name, description), m_glslVersion(glslVersion) in SampleShadingExtensionCase()
140 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion).c_str(), in iterate()
141 specializeVersion(fss, m_glslVersion).c_str())); in iterate()
165 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion).c_str(), in iterate()
166 specializeVersion(fss, m_glslVersion).c_str())); in iterate()
189 glu::GLSLVersion m_glslVersion; member in deqp::SampleShadingMaskCase
210 , m_glslVersion(glslVersion) in SampleShadingMaskCase()
232 if (m_glslVersion == glu::GLSL_VERSION_310_ES && in iterate()
356 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion, m_sampler, m_outType).c_str(), in iterate()
[all …]
DglcShaderMultisampleInterpolationTests.cpp107 glu::GLSLVersion m_glslVersion; member in deqp::ShaderMultisampleInterpolationApiCase
113 : TestCase(context, name, description), m_glslVersion(glslVersion) in ShaderMultisampleInterpolationApiCase()
128 if (m_glslVersion == glu::GLSL_VERSION_310_ES && in iterate()
156 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion).c_str(), in iterate()
157 specializeVersion(fss, m_glslVersion).c_str())); in iterate()
177 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion).c_str(), in iterate()
178 specializeVersion(fss, m_glslVersion).c_str())); in iterate()
225 glu::GLSLVersion m_glslVersion; member in deqp::ShaderMultisampleInterpolationBaseCase
254 , m_glslVersion(glslVersion) in ShaderMultisampleInterpolationBaseCase()
281 if (m_glslVersion == glu::GLSL_VERSION_310_ES && in iterate()
[all …]
DglcUniformBlockTests.cpp583 : TestCase(context, "precision_matching", ""), m_glslVersion(glslVersion) in UniformBlockPrecisionMatching()
621 const std::string version = glu::getGLSLVersionDeclaration(m_glslVersion); in Link()
679 glu::GLSLVersion m_glslVersion; member in deqp::UniformBlockPrecisionMatching
686 : TestCase(context, "name_matching", ""), m_glslVersion(glslVersion) in UniformBlockNameMatching()
801 const std::string version = glu::getGLSLVersionDeclaration(m_glslVersion); in Test()
868 glu::GLSLVersion m_glslVersion; member in deqp::UniformBlockNameMatching
872 : TestCaseGroup(context, "uniform_block", "Uniform Block tests"), m_glslVersion(glslVersion) in UniformBlockTests()
938 layoutGroup->addChild(new BlockBasicTypeCase(m_context, typeName, "", m_glslVersion, in init()
945 m_glslVersion, VarType(type, precisionFlags[precNdx].flags), flags, in init()
959 "", m_glslVersion, VarType(type, precisionFlags[precNdx].flags), in init()
[all …]
DglcFragDepthTests.cpp119 glu::GLSLVersion m_glslVersion; member in deqp::FragDepthCompareCase
129 , m_glslVersion(glslVersion) in FragDepthCompareCase()
167 glu::makeVtxFragSources(specializeVersion(s_vertexShaderSrc, m_glslVersion).c_str(), in iterate()
168 specializeVersion(s_defaultFragmentShaderSrc, m_glslVersion).c_str())); in iterate()
203 glu::makeVtxFragSources(specializeVersion(s_vertexShaderSrc, m_glslVersion).c_str(), in iterate()
204 specializeVersion(m_fragSrc, m_glslVersion).c_str())); in iterate()
278 glu::GLSLVersion m_glslVersion; member in deqp::FragDepthWriteCase
285 …: TestCase(context, name, desc), m_glslVersion(glslVersion), m_fragSrc(fragSrc), m_evalFunc(evalFu… in FragDepthWriteCase()
321 glu::makeVtxFragSources(specializeVersion(s_vertexShaderSrc, m_glslVersion).c_str(), in iterate()
322 specializeVersion(m_fragSrc, m_glslVersion).c_str())); in iterate()
[all …]
DglcGLSLVectorConstructorTests.cpp416 const glu::GLSLVersion m_glslVersion; member in deqp::__anonff38ee0b0111::GLSLVectorConstructorTestCase
427 , m_glslVersion(glslVersion) in GLSLVectorConstructorTestCase()
436 m_vertexShader = replacePlaceholders(vertexShaderTemplate, m_params, m_glslVersion); in GLSLVectorConstructorTestCase()
437 m_fragmentShader = replacePlaceholders(defaultFragmentShader, m_params, m_glslVersion); in GLSLVectorConstructorTestCase()
441 m_vertexShader = replacePlaceholders(defaultVertexShader, m_params, m_glslVersion); in GLSLVectorConstructorTestCase()
442 m_fragmentShader = replacePlaceholders(fragmentShaderTemplate, m_params, m_glslVersion); in GLSLVectorConstructorTestCase()
579 , m_glslVersion(glslVersion) in GLSLVectorConstructorTests()
590 addChild(new GLSLVectorConstructorTestCase(m_context, m_glslVersion, params)); in init()
DglcShaderStructTests.cpp187 : TestCaseGroup(context, "local", "Local structs"), m_glslVersion(glslVersion) in LocalStructTests()
198 glu::GLSLVersion m_glslVersion; member in deqp::LocalStructTests
210 …addChild(createStructCase(m_context, #NAME "_vertex", DESCRIPTION, m_glslVersion, true, false, \ in init()
212 …addChild(createStructCase(m_context, #NAME "_fragment", DESCRIPTION, m_glslVersion, false, false, \ in init()
1128 : TestCaseGroup(context, "uniform", "Uniform structs"), m_glslVersion(glslVersion) in UniformStructTests()
1139 glu::GLSLVersion m_glslVersion; member in deqp::UniformStructTests
1213 …addChild(createStructCase(m_context, #NAME "_vertex", DESCRIPTION, m_glslVersion, true, TEXTURES, … in init()
1215 …addChild(createStructCase(m_context, #NAME "_fragment", DESCRIPTION, m_glslVersion, false, TEXTURE… in init()
1822 : TestCaseGroup(context, "struct", "Struct Tests"), m_glslVersion(glslVersion) in ShaderStructTests()
1832 addChild(new LocalStructTests(m_context, m_glslVersion)); in init()
[all …]
DglcShaderFunctionTests.cpp174 : TestCaseGroup(context, "function", "Function Tests"), m_glslVersion(glslVersion) in ShaderFunctionTests()
191 …addChild(createStructCase(m_context, #NAME "_vertex", DESCRIPTION, m_glslVersion, true, false, \ in init()
193 …addChild(createStructCase(m_context, #NAME "_fragment", DESCRIPTION, m_glslVersion, false, false, \ in init()
DglcShaderNegativeTests.hpp46 glu::GLSLVersion m_glslVersion; member in deqp::ShaderNegativeTests
DglcShaderIntegerMixTests.hpp44 glu::GLSLVersion m_glslVersion; member in deqp::ShaderIntegerMixTests
DglcBlendEquationAdvancedTests.hpp98 glu::GLSLVersion m_glslVersion; member in glcts::BlendEquationAdvancedTests
DglcShaderStructTests.hpp45 glu::GLSLVersion m_glslVersion; member in deqp::ShaderStructTests
DglcShaderLoopTests.hpp45 glu::GLSLVersion m_glslVersion; member in deqp::ShaderLoopTests
DglcShaderFunctionTests.hpp45 glu::GLSLVersion m_glslVersion; member in deqp::ShaderFunctionTests
DglcShaderIndexingTests.cpp1138 : TestCaseGroup(context, "indexing", "Indexing Tests"), m_glslVersion(glslVersion) in ShaderIndexingTests()
1173 …varyingGroup->addChild(createVaryingArrayCase(m_context, name.c_str(), desc.c_str(), m_glslVersion, in init()
1200 …uniformGroup->addChild(createUniformArrayCase(m_context, name.c_str(), desc.c_str(), m_glslVersion, in init()
1234 tmpGroup->addChild(createTmpArrayCase(m_context, name.c_str(), desc.c_str(), m_glslVersion, in init()
1242 tmpGroup->addChild(createTmpArrayVertexIdCase(m_context, "vertexid", "", m_glslVersion)); in init()
1275 m_context, name.c_str(), desc.c_str(), m_glslVersion, isVertexCase, varType, in init()
1315 m_context, name.c_str(), desc.c_str(), m_glslVersion, isVertexCase, varType, in init()
DglcShaderMultisampleInterpolationTests.hpp45 glu::GLSLVersion m_glslVersion; member in deqp::ShaderMultisampleInterpolationTests
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cSampleShadingTests.cpp80 : TestCaseGroup(context, "api", "Basic API verification"), m_glslVersion(glslVersion) in SampleShadingApiCaseGroup()
86 addChild(new SampleShadingApiCase(m_context, m_glslVersion)); in init()
99 glu::GLSLVersion m_glslVersion; member in glcts::SampleShadingApiCaseGroup::SampleShadingApiCase
103 glu::GLSLVersion m_glslVersion; member in glcts::SampleShadingApiCaseGroup
107 : TestCase(context, "verify", ""), m_glslVersion(glslVersion), m_pGLMinSampleShading(0) in SampleShadingApiCase()
122 if (m_glslVersion == glu::GLSL_VERSION_310_ES && in iterate()
178 glu::GLSLVersion m_glslVersion; member in glcts::SampleShadingRenderCase
206 , m_glslVersion(glslVersion) in SampleShadingRenderCase()
230 if (m_glslVersion == glu::GLSL_VERSION_310_ES && in iterate()
305 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion, m_sampler, m_outType).c_str(), in iterate()
[all …]
Des31cShaderBitfieldOperationTests.cpp133 glu::GLSLVersion m_glslVersion; member in glcts::ShaderBitfieldOperationCase
143 …: TestCase(context, name, description), m_glslVersion(glslVersion), m_data(data), m_testStatement(… in ShaderBitfieldOperationCase()
194 std::string csString = specializeVersion(css, m_glslVersion, m_testStatement.c_str()); in iterate()
1305 …ontext, "shader_bitfield_operation", "Shader Bitfield Operation tests"), m_glslVersion(glslVersion) in ShaderBitfieldOperationTests()
1320 …hild(new ShaderBitfieldOperationCaseFrexpFloat(m_context, "float_zero", m_glslVersion, Vec4(0.0))); in init()
1325 …oup->addChild(new ShaderBitfieldOperationCaseFrexpFloat(m_context, ss.str().c_str(), m_glslVersion, in init()
1329 new ShaderBitfieldOperationCaseFrexpVec2(m_context, "vec2_zero", m_glslVersion, Vec4(0.0, 0.0))); in init()
1334 …roup->addChild(new ShaderBitfieldOperationCaseFrexpVec2(m_context, ss.str().c_str(), m_glslVersion, in init()
1338 …new ShaderBitfieldOperationCaseFrexpVec3(m_context, "vec3_zero", m_glslVersion, Vec4(0.0, 0.0, 0.0… in init()
1344 …m_context, ss.str().c_str(), m_glslVersion, Vec4(rnd.getFloat(), -rnd.getFloat(), rnd.getFloat()))… in init()
[all …]
Des31cSeparateShaderObjsTests.cpp527 : TestCase(context, name, description), m_glslVersion(glslVersion) in CreateShadProgCase()
563 srcStrings[i++] = glu::getGLSLVersionDeclaration(m_glslVersion); in iterate()
565 if (m_glslVersion >= glu::GLSL_VERSION_410) in iterate()
587 srcStrings[i++] = glu::getGLSLVersionDeclaration(m_glslVersion); in iterate()
589 if (m_glslVersion >= glu::GLSL_VERSION_410) in iterate()
611 srcStrings[i++] = glu::getGLSLVersionDeclaration(m_glslVersion); in iterate()
649 srcStrings[i++] = glu::getGLSLVersionDeclaration(m_glslVersion); in iterate()
670 glu::GLSLVersion m_glslVersion; member in glcts::CreateShadProgCase
678 : TestCase(context, name, description), m_glslVersion(glslVersion) in UseProgStagesCase()
699 vtx = generateBasicVertexSrc(m_glslVersion); in iterate()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cES31CompatibilitySampleVariablesTests.cpp99 glu::GLSLVersion m_glslVersion; member in gl4cts::es31compatibility::SampleShadingExtensionCase
104 : TestCase(context, name, description), m_glslVersion(glslVersion) in SampleShadingExtensionCase()
147 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion).c_str(), in iterate()
148 specializeVersion(fss, m_glslVersion).c_str())); in iterate()
172 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion).c_str(), in iterate()
173 specializeVersion(fss, m_glslVersion).c_str())); in iterate()
196 glu::GLSLVersion m_glslVersion; member in gl4cts::es31compatibility::SampleShadingMaskCase
217 , m_glslVersion(glslVersion) in SampleShadingMaskCase()
354 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion, m_sampler, m_outType).c_str(), in iterate()
355 specializeVersion(fss, m_glslVersion, m_sampler, m_outType).c_str())); in iterate()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsTextureTestUtil.cpp69 , m_glslVersion (glslVersion) in ProgramLibrary()
136 if (m_glslVersion == glu::GLSL_VERSION_100_ES) in getProgram()
145 … (m_glslVersion == glu::GLSL_VERSION_300_ES || m_glslVersion == glu::GLSL_VERSION_310_ES || m_glsl… in getProgram()
147 const string version = glu::getGLSLVersionDeclaration(m_glslVersion); in getProgram()
150 if (glu::glslVersionIsES(m_glslVersion) && m_glslVersion != glu::GLSL_VERSION_320_ES) { in getProgram()
183 … (m_glslVersion == glu::GLSL_VERSION_300_ES || m_glslVersion == glu::GLSL_VERSION_310_ES || m_glsl… in getProgram()
236 else if (m_glslVersion == glu::GLSL_VERSION_100_ES) in getProgram()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferPrecision.cpp166 if (m_glslVersion >= glu::GLSL_VERSION_130) in TextureBufferPrecision()
168 m_glslVersion = glu::GLSL_VERSION_450; in TextureBufferPrecision()
294 glw::GLint expected_fail = glu::glslVersionIsES(m_glslVersion) ? GL_FALSE : GL_TRUE; in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5Tests.cpp45 m_glslVersion = extParams.glslVersion; in GPUShader5Tests()
70 if (m_glslVersion >= glu::GLSL_VERSION_430) in init()

123