Home
last modified time | relevance | path

Searched refs:m_shaderType (Results 1 – 25 of 38) sorted by relevance

12

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderApiTests.cpp330 , m_shaderType (shaderType) in CreateShaderCase()
336 const GLuint shaderObject = glCreateShader(glu::getGLShaderType(m_shaderType)); in test()
344 const glu::ShaderType m_shaderType; member in deqp::gles2::Functional::CreateShaderCase
354 , m_shaderType (shaderType) in CompileShaderCase()
369 const char* shaderSource = getSimpleShaderSource(m_shaderType); in test()
370 const GLuint shaderObject = glCreateShader(glu::getGLShaderType(m_shaderType)); in test()
383 const glu::ShaderType m_shaderType; member in deqp::gles2::Functional::CompileShaderCase
532 , m_shaderType (shaderType) in ShaderSourceReplaceCase()
538 return getSimpleShaderSource(m_shaderType); in generateFirstSource()
552 if (m_shaderType == glu::SHADERTYPE_VERTEX) str += " gl_Position = vec4(variable);\n"; in generateSecondSource()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderApiTests.cpp384 , m_shaderType (shaderType) in CreateShaderCase()
390 const GLuint shaderObject = glCreateShader(glu::getGLShaderType(m_shaderType)); in test()
398 const glu::ShaderType m_shaderType; member in deqp::gles3::Functional::CreateShaderCase
408 , m_shaderType (shaderType) in CompileShaderCase()
423 const char* shaderSource = getSimpleShaderSource(m_shaderType); in test()
424 const GLuint shaderObject = glCreateShader(glu::getGLShaderType(m_shaderType)); in test()
437 const glu::ShaderType m_shaderType; member in deqp::gles3::Functional::CompileShaderCase
586 , m_shaderType (shaderType) in ShaderSourceReplaceCase()
592 return getSimpleShaderSource(m_shaderType); in generateFirstSource()
602 if (m_shaderType == glu::SHADERTYPE_FRAGMENT) in generateSecondSource()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderIntegerFunctionTests.cpp268 generateSources(m_shaderType, m_spec, programCollection); in initPrograms()
279 const glu::ShaderType m_shaderType; member in vkt::shaderexecutor::IntegerFunctionCase
288 , m_shaderType (shaderType) in IntegerFunctionCase()
299 checkSupportShader(context, m_shaderType); in checkSupport()
309 , m_shaderType (shaderType) in IntegerFunctionTestInstance()
313 , m_executor (createExecutor(context, m_shaderType, m_spec)) in IntegerFunctionTestInstance()
322 const glu::ShaderType m_shaderType; member in vkt::shaderexecutor::IntegerFunctionTestInstance
416 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in getInputValues()
461 …generateRandomInputData(rnd, m_shaderType, type, precision, in0, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
462 …generateRandomInputData(rnd, m_shaderType, type, precision, in1, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
[all …]
DvktAtomicOperationTests.cpp863 AtomicShaderType m_shaderType; member in vkt::shaderexecutor::__anon7f32928b0111::AtomicOperationCaseInstance
876 , m_shaderType (shaderType) in AtomicOperationCaseInstance()
889 const bool useRef = (m_shaderType.getMemoryType() == AtomicMemoryType::REFERENCE); in iterate()
998 …const int numWorkGroups = ((m_shaderType.getMemoryType() == AtomicMemoryType::SHARED) ? 1 : st… in iterate()
999 …UniquePtr<ShaderExecutor> executor (createExecutor(m_context, m_shaderType.getType(), m_shaderSpe… in iterate()
1027 generateSources(m_shaderType.getType(), m_shaderSpec, programCollection); in initPrograms()
1034 const AtomicShaderType m_shaderType; member in vkt::shaderexecutor::__anon7f32928b0111::AtomicOperationCase
1046 , m_shaderType (shaderType) in AtomicOperationCase()
1060 return new AtomicOperationCaseInstance(ctx, m_shaderSpec, m_shaderType, m_dataType, m_atomicOp); in createInstance()
1070 const bool isSharedMemory = (m_shaderType.getMemoryType() == AtomicMemoryType::SHARED); in checkSupport()
[all …]
DvktShaderClockTests.cpp137 , m_shaderType(shaderType) in ShaderClockCase()
144 return new ShaderClockTestInstance(ctx, m_shaderSpec, m_shaderType); in createInstance()
149 generateSources(m_shaderType, m_shaderSpec, programCollection); in initPrograms()
222 glu::ShaderType m_shaderType; member in vkt::shaderexecutor::__anon7d507ce00111::ShaderClockCase
DvktShaderPackingFunctionTests.cpp81 generateSources(m_shaderType, m_spec, programCollection); in initPrograms()
85 const glu::ShaderType m_shaderType; member in vkt::shaderexecutor::ShaderPackingFunctionCase
95 , m_shaderType (shaderType) in ShaderPackingFunctionCase()
105 checkSupportShader(context, m_shaderType); in checkSupport()
116 , m_shaderType (shaderType) in ShaderPackingFunctionTestInstance()
119 , m_executor (createExecutor(context, m_shaderType, m_spec)) in ShaderPackingFunctionTestInstance()
125 const glu::ShaderType m_shaderType; member in vkt::shaderexecutor::ShaderPackingFunctionTestInstance
244 return new PackSnorm2x16CaseInstance(ctx, m_shaderType, m_spec, m_precision, getName()); in createInstance()
348 return new UnpackSnorm2x16CaseInstance(ctx, m_shaderType, m_spec, getName()); in createInstance()
463 return new PackUnorm2x16CaseInstance(ctx, m_shaderType, m_spec, m_precision, getName()); in createInstance()
[all …]
DvktOpaqueTypeIndexingTests.cpp185 generateSources(m_shaderType, m_shaderSpec, programCollection); in initPrograms()
192 const glu::ShaderType m_shaderType; member in vkt::shaderexecutor::__anon0856c6a00111::OpaqueTypeIndexingCase
204 , m_shaderType (shaderType) in OpaqueTypeIndexingCase()
215 checkSupportShader(context, m_shaderType); in checkSupport()
235 const glu::ShaderType m_shaderType; member in vkt::shaderexecutor::__anon0856c6a00111::OpaqueTypeIndexingTestInstance
248 , m_shaderType (shaderType) in OpaqueTypeIndexingTestInstance()
691 …de::Random rnd (deInt32Hash(m_samplerType) ^ deInt32Hash(m_shaderType) ^ deInt32Hash(m_in… in iterate()
874 …UniquePtr<ShaderExecutor> executor (createExecutor(m_context, m_shaderType, m_shaderSpec, *extraR… in iterate()
1056 m_shaderType, in createInstance()
1066 …de::Random rnd (deInt32Hash(m_samplerType) ^ deInt32Hash(m_shaderType) ^ deInt32Hash(m_indexE… in createShaderSpec()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fLayoutBindingTests.cpp331 const ShaderType m_shaderType; member in deqp::gles31::Functional::__anon27902bf20111::LayoutBindingRenderCase
366 , m_shaderType (shaderType) in LayoutBindingRenderCase()
412 switch (m_shaderType) in init()
456 …if ( ((m_shaderType == SHADERTYPE_VERTEX) || (m_shaderType == SHADERTYPE_ALL)) && (maxVertexUnits … in init()
458 …if ( ((m_shaderType == SHADERTYPE_FRAGMENT) || (m_shaderType == SHADERTYPE_ALL)) && (maxFragmentUn… in init()
460 if ( (m_shaderType == SHADERTYPE_ALL) && (maxCombinedUnits < m_numBindings*2) ) in init()
716 const ShaderType m_shaderType; member in deqp::gles31::Functional::__anon27902bf20111::LayoutBindingNegativeCase
752 , m_shaderType (shaderType) in LayoutBindingNegativeCase()
789 …if (!m_tessSupport && (m_shaderType == SHADERTYPE_TESS_EVALUATION || m_shaderType == SHADERTYPE_TE… in init()
820 switch (m_shaderType) in init()
[all …]
Des31fShaderIntegerFunctionTests.cpp179 glu::ShaderType m_shaderType; member in deqp::gles31::Functional::IntegerFunctionCase
191 , m_shaderType (shaderType) in IntegerFunctionCase()
207 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init()
346 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in getInputValues()
391 …generateRandomInputData(rnd, m_shaderType, type, precision, in0, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
392 …generateRandomInputData(rnd, m_shaderType, type, precision, in1, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
400 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in compare()
442 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in getInputValues()
485 …generateRandomInputData(rnd, m_shaderType, type, precision, in0, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
486 …generateRandomInputData(rnd, m_shaderType, type, precision, in1, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
[all …]
Des31fOpaqueTypeIndexingTests.cpp347 const glu::ShaderType m_shaderType; member in deqp::gles31::Functional::__anond97f73fc0111::SamplerIndexingCase
354 , m_shaderType (shaderType) in SamplerIndexingCase()
371 if (m_shaderType == SHADERTYPE_GEOMETRY) in init()
376 …if (m_shaderType == SHADERTYPE_TESSELLATION_CONTROL || m_shaderType == SHADERTYPE_TESSELLATION_EVA… in init()
505 …de::Random rnd (deInt32Hash(m_samplerType) ^ deInt32Hash(m_shaderType) ^ deInt32Hash(m_in… in iterate()
532 …ShaderExecutorPtr executor (createExecutor(m_context.getRenderContext(), m_shaderType, shaderSpe… in iterate()
723 const ShaderType m_shaderType; member in deqp::gles31::Functional::__anond97f73fc0111::BlockArrayIndexingCase
732 , m_shaderType (shaderType) in BlockArrayIndexingCase()
748 if (m_shaderType == SHADERTYPE_GEOMETRY) in init()
753 …if (m_shaderType == SHADERTYPE_TESSELLATION_CONTROL || m_shaderType == SHADERTYPE_TESSELLATION_EVA… in init()
[all …]
Des31fProgramInterfaceDefinition.cpp116 : m_shaderType (type) in Shader()
279 if (m_shaderType == glu::SHADERTYPE_VERTEX) in isValid()
300 else if (m_shaderType == glu::SHADERTYPE_FRAGMENT) in isValid()
321 else if (m_shaderType == glu::SHADERTYPE_COMPUTE) in isValid()
344 else if (m_shaderType == glu::SHADERTYPE_GEOMETRY) in isValid()
369 else if (m_shaderType == glu::SHADERTYPE_TESSELLATION_CONTROL) in isValid()
394 else if (m_shaderType == glu::SHADERTYPE_TESSELLATION_EVALUATION) in isValid()
Des31fProgramInterfaceDefinition.hpp66 glu::ShaderType getType (void) const { return m_shaderType; } in getType()
80 const glu::ShaderType m_shaderType; member in deqp::gles31::Functional::ProgramInterfaceDefinition::Shader
Des31fShaderUniformIntegerFunctionTests.cpp60 glu::ShaderType m_shaderType; member in deqp::gles31::Functional::UniformIntegerFunctionCase
70 , m_shaderType(shaderType) in UniformIntegerFunctionCase()
105 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init()
Des31fShaderStateQueryTests.cpp373 const glu::ShaderType m_shaderType; member in deqp::gles31::Functional::__anonbcd1bde70111::ShaderLogCase
378 , m_shaderType (shaderType) in ShaderLogCase()
388 switch (m_shaderType) in init()
427 shader = gl.glCreateShader(glu::getGLShaderType(m_shaderType)); in iterate()
Des31fProgramInterfaceQueryTestCase.cpp1143 const glu::ShaderType m_shaderType; member in deqp::gles31::Functional::__anon5f4483e10111::VariableReferencedByShaderValidator
1149 , m_shaderType (shaderType) in VariableReferencedByShaderValidator()
1151 DE_ASSERT(m_shaderType < glu::SHADERTYPE_LAST); in VariableReferencedByShaderValidator()
1168 << "Verifying referenced by " << glu::getShaderTypeName(m_shaderType) << " shader, expecting " in validate()
1174 …essage << "\tError, invalid referenced_by_" << glu::getShaderTypeName(m_shaderType) << ", got " <<… in validate()
1175 setError("referenced_by_" + std::string(glu::getShaderTypeName(m_shaderType)) + " invalid"); in validate()
1268 const glu::ShaderType m_shaderType; member in deqp::gles31::Functional::__anon5f4483e10111::BlockReferencedByShaderValidator
1274 , m_shaderType (shaderType) in BlockReferencedByShaderValidator()
1276 DE_ASSERT(m_shaderType < glu::SHADERTYPE_LAST); in BlockReferencedByShaderValidator()
1308 << "Verifying referenced by " << glu::getShaderTypeName(m_shaderType) << " shader, expecting " in validate()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderMacroTests.cpp45 glu::ShaderType m_shaderType; member in glcts::ExecutorTestCase
53 , m_shaderType(shaderType) in ExecutorTestCase()
65 …de::SharedPtr<ShaderExecutor> executor(createExecutor(m_context.getRenderContext(), m_shaderType, … in iterate()
DglcAggressiveShaderOptimizationsTests.cpp74 ShaderType m_shaderType; member in glcts::TrigonometryTestCase
81 …: deqp::TestCase(context, name.c_str(), ""), m_shaderType(data.shaderType), m_testedFunction(data.… in TrigonometryTestCase()
163 if (m_shaderType == TEST_VERTEX_SHADER) in prepareSineSources()
359 if (m_shaderType == TEST_VERTEX_SHADER) in prepareCosineSources()
DglcShaderConstExprTests.cpp84 glu::ShaderType m_shaderType; member in glcts::ShaderConstExpr::ExecutorTestCase
93 , m_shaderType(shaderType) in ExecutorTestCase()
148 …de::SharedPtr<ShaderExecutor> executor(createExecutor(m_context.getRenderContext(), m_shaderType, … in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessBufferAccessTests.cpp107 const ShaderType m_shaderType; member in vkt::robustness::RobustBufferAccessTest
184 const ShaderType m_shaderType; member in vkt::robustness::BufferAccessInstance
267 , m_shaderType (shaderType) in RobustBufferAccessTest()
626 …initBufferAccessPrograms(programCollection, m_shaderStage, m_shaderType, m_bufferFormat, m_readFro… in initPrograms()
633 …return new BufferReadInstance(context, device, m_shaderType, m_shaderStage, m_bufferFormat, m_read… in createInstance()
655 …initBufferAccessPrograms(programCollection, m_shaderStage, m_shaderType, m_bufferFormat, false /* … in initPrograms()
662 …return new BufferWriteInstance(context, device, m_shaderType, m_shaderStage, m_bufferFormat, m_wri… in createInstance()
678 , m_shaderType (shaderType) in BufferAccessInstance()
688 const bool isTexelAccess = !!(m_shaderType == SHADER_TYPE_TEXEL_COPY); in BufferAccessInstance()
781 …const VkBufferUsageFlags outBufferUsageFlags = (m_shaderType == SHADER_TYPE_TEXEL_COPY) ? VK_BUFFE… in BufferAccessInstance()
[all …]
DvktRobustBufferAccessWithVariablePointersTests.cpp196 const ShaderType m_shaderType; member in vkt::robustness::__anoncdc4d0300111::RobustAccessWithPointersTest
211 , m_shaderType(shaderType) in RobustAccessWithPointersTest()
325 const ShaderType m_shaderType; member in vkt::robustness::__anoncdc4d0300111::AccessInstance
1290 …return new ReadInstance(context, device, m_shaderType, m_shaderStage, m_bufferFormat, m_readAccess… in createInstance()
1297 …vAsmSources.add("compute") << MakeShader(VK_SHADER_STAGE_COMPUTE_BIT, m_shaderType, m_bufferFormat… in initPrograms()
1301 …irvAsmSources.add("vertex") << MakeShader(VK_SHADER_STAGE_VERTEX_BIT, m_shaderType, m_bufferFormat… in initPrograms()
1302 …smSources.add("fragment") << MakeShader(VK_SHADER_STAGE_FRAGMENT_BIT, m_shaderType, m_bufferFormat… in initPrograms()
1324 …return new WriteInstance(context, device, m_shaderType, m_shaderStage, m_bufferFormat, m_writeAcce… in createInstance()
1331 …vAsmSources.add("compute") << MakeShader(VK_SHADER_STAGE_COMPUTE_BIT, m_shaderType, m_bufferFormat… in initPrograms()
1335 …irvAsmSources.add("vertex") << MakeShader(VK_SHADER_STAGE_VERTEX_BIT, m_shaderType, m_bufferFormat… in initPrograms()
[all …]
/third_party/vk-gl-cts/modules/gles3/stress/
Des3sLongShaderTests.cpp361 const glu::ShaderType m_shaderType; member in deqp::gles3::Stress::LongShaderCompileStressCase
369 , m_shaderType (caseSpec.shaderType) in LongShaderCompileStressCase()
374 DE_ASSERT(m_shaderType == glu::SHADERTYPE_VERTEX || m_shaderType == glu::SHADERTYPE_FRAGMENT); in LongShaderCompileStressCase()
389 …const glu::ShaderType otherShader = (m_shaderType == glu::SHADERTYPE_VERTEX) ? glu::SHADERTYPE_FR… in iterate()
/third_party/vk-gl-cts/modules/egl/
DteglRobustnessTests.cpp229 const ShaderType& getShaderType (void) const { return m_shaderType; } in getShaderType()
240 ShaderType m_shaderType; member in deqp::egl::__anon051d8bc20111::RobustnessTestCase::Params
291 , m_shaderType (shaderType) in Params()
572 ShaderType m_shaderType; member in deqp::egl::__anon051d8bc20111::ContextReset
595 , m_shaderType (shaderType) in ContextReset()
812 switch (m_shaderType) in genVertexShader()
853 switch (m_shaderType) in genFragmentShader()
992 if (m_shaderType == SHADERTYPE_COMPUTE) in genSources()
1000 if (!m_isUBO && !m_isLocalArray && (m_shaderType != SHADERTYPE_COMPUTE)) in setup()
1004 …const bool isVertex = (m_shaderType == SHADERTYPE_VERT || m_shaderType == SHADERTYPE_VERT_AND_FRAG… in setup()
[all …]
DteglGLES2SharingTests.cpp848 GLenum m_shaderType; member in deqp::egl::GLES2ShaderSharingTest
859 , m_shaderType (shaderType) in GLES2ShaderSharingTest()
883 m_shader = m_gl.createShader(m_shaderType); in createResource()
886 switch (m_shaderType) in createResource()
912 switch (m_shaderType) in createResource()
963 switch (m_shaderType) in renderResource()
993 switch (m_shaderType) in renderResource()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemStorageBufferTests.cpp192 const glu::ShaderType m_shaderType; member in vkt::ProtectedMem::__anonf4e7a5d10111::StorageBufferTestInstance
212 , m_shaderType (shaderType) in StorageBufferTestCase()
220 … return new StorageBufferTestInstance<T>(ctx, m_testType, m_shaderType, m_testInput, m_validator); in createInstance()
232 const glu::ShaderType m_shaderType; member in vkt::ProtectedMem::__anonf4e7a5d10111::StorageBufferTestCase
246 , m_shaderType (shaderType) in StorageBufferTestInstance()
340 if (m_shaderType == glu::SHADERTYPE_FRAGMENT) in initPrograms()
350 else if (m_shaderType == glu::SHADERTYPE_COMPUTE) in initPrograms()
659 switch (m_shaderType) in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.hpp181 , m_shaderType(SHADER_TYPE_GLSL) in Context()
187 ShaderType getShaderType (void) { return m_shaderType; } in getShaderType()
188 void setShaderType (ShaderType type) { m_shaderType = type; } in setShaderType()
194 ShaderType m_shaderType; member in glc::Context

12