Home
last modified time | relevance | path

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

12

/external/deqp/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 …]
/external/deqp/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 …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderIntegerFunctionTests.cpp296 generateSources(m_shaderType, m_spec, programCollection); in initPrograms()
307 const glu::ShaderType m_shaderType; member in vkt::shaderexecutor::IntegerFunctionCase
316 , m_shaderType (shaderType) in IntegerFunctionCase()
327 checkSupportShader(context, m_shaderType); in checkSupport()
337 , m_shaderType (shaderType) in IntegerFunctionTestInstance()
341 , m_executor (createExecutor(context, m_shaderType, m_spec)) in IntegerFunctionTestInstance()
350 const glu::ShaderType m_shaderType; member in vkt::shaderexecutor::IntegerFunctionTestInstance
444 const int integerLength = getShaderUintBitCount(m_shaderType, precision); in getInputValues()
489 …generateRandomInputData(rnd, m_shaderType, type, precision, in0, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
490 …generateRandomInputData(rnd, m_shaderType, type, precision, in1, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
[all …]
DvktAtomicOperationTests.cpp682 AtomicShaderType m_shaderType; member in vkt::shaderexecutor::__anon1dbe5bb10111::AtomicOperationCaseInstance
695 , m_shaderType (shaderType) in AtomicOperationCaseInstance()
708 const bool useRef = (m_shaderType.getMemoryType() == AtomicMemoryType::REFERENCE); in iterate()
817 …const int numWorkGroups = ((m_shaderType.getMemoryType() == AtomicMemoryType::SHARED) ? 1 : st… in iterate()
818 …UniquePtr<ShaderExecutor> executor (createExecutor(m_context, m_shaderType.getType(), m_shaderSpe… in iterate()
846 generateSources(m_shaderType.getType(), m_shaderSpec, programCollection); in initPrograms()
853 const AtomicShaderType m_shaderType; member in vkt::shaderexecutor::__anon1dbe5bb10111::AtomicOperationCase
865 , m_shaderType (shaderType) in AtomicOperationCase()
879 return new AtomicOperationCaseInstance(ctx, m_shaderSpec, m_shaderType, m_dataType, m_atomicOp); in createInstance()
889 const bool isSharedMemory = (m_shaderType.getMemoryType() == AtomicMemoryType::SHARED); in checkSupport()
[all …]
DvktShaderClockTests.cpp161 , m_shaderType(shaderType) in ShaderClockCase()
168 …ew ShaderClockTestInstance(ctx, (m_operation.testClockType == DEVICE), m_shaderSpec, m_shaderType); in createInstance()
173 generateSources(m_shaderType, m_shaderSpec, programCollection); in initPrograms()
229 glu::ShaderType m_shaderType; member in vkt::shaderexecutor::__anon3509a3060111::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::__anon8d4ec6060111::OpaqueTypeIndexingCase
204 , m_shaderType (shaderType) in OpaqueTypeIndexingCase()
215 checkSupportShader(context, m_shaderType); in checkSupport()
235 const glu::ShaderType m_shaderType; member in vkt::shaderexecutor::__anon8d4ec6060111::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 …]
/external/deqp/modules/gles31/functional/
Des31fLayoutBindingTests.cpp331 const ShaderType m_shaderType; member in deqp::gles31::Functional::__anon893987d80111::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::__anon893987d80111::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::__anon0abc2fa20111::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::__anon0abc2fa20111::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.cpp112 : m_shaderType (type) in Shader()
275 if (m_shaderType == glu::SHADERTYPE_VERTEX) in isValid()
296 else if (m_shaderType == glu::SHADERTYPE_FRAGMENT) in isValid()
317 else if (m_shaderType == glu::SHADERTYPE_COMPUTE) in isValid()
340 else if (m_shaderType == glu::SHADERTYPE_GEOMETRY) in isValid()
365 else if (m_shaderType == glu::SHADERTYPE_TESSELLATION_CONTROL) in isValid()
390 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::__anon5c3f580d0111::ShaderLogCase
378 , m_shaderType (shaderType) in ShaderLogCase()
388 switch (m_shaderType) in init()
427 shader = gl.glCreateShader(glu::getGLShaderType(m_shaderType)); in iterate()
/external/deqp/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()
/external/deqp/modules/egl/
DteglRobustnessTests.cpp235 const ShaderType& getShaderType (void) const { return m_shaderType; } in getShaderType()
246 ShaderType m_shaderType; member in deqp::egl::__anone786aa280111::RobustnessTestCase::Params
293 , m_shaderType (shaderType) in Params()
308 , m_shaderType (shaderType) in Params()
595 ShaderType m_shaderType; member in deqp::egl::__anone786aa280111::ContextReset
618 , m_shaderType (shaderType) in ContextReset()
627 , m_shaderType (shaderType) in ContextReset()
729 if (m_shaderType == SHADERTYPE_COMPUTE) in genSources()
753 const bool isVertCase = m_shaderType == SHADERTYPE_VERT; in genNonComputeSource()
754 const bool isFragCase = m_shaderType == SHADERTYPE_FRAG; in genNonComputeSource()
[all …]
DteglGLES2SharingTests.cpp788 GLenum m_shaderType; member in deqp::egl::GLES2ShaderSharingTest
799 , m_shaderType (shaderType) in GLES2ShaderSharingTest()
823 m_shader = m_gl.createShader(m_shaderType); in createResource()
826 switch (m_shaderType) in createResource()
852 switch (m_shaderType) in createResource()
903 switch (m_shaderType) in renderResource()
933 switch (m_shaderType) in renderResource()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessBufferAccessTests.cpp105 const ShaderType m_shaderType; member in vkt::robustness::RobustBufferAccessTest
182 const ShaderType m_shaderType; member in vkt::robustness::BufferAccessInstance
265 , m_shaderType (shaderType) in RobustBufferAccessTest()
618 …initBufferAccessPrograms(programCollection, m_shaderStage, m_shaderType, m_bufferFormat, m_readFro… in initPrograms()
625 …return new BufferReadInstance(context, device, m_shaderType, m_shaderStage, m_bufferFormat, m_read… in createInstance()
647 …initBufferAccessPrograms(programCollection, m_shaderStage, m_shaderType, m_bufferFormat, false /* … in initPrograms()
654 …return new BufferWriteInstance(context, device, m_shaderType, m_shaderStage, m_bufferFormat, m_wri… in createInstance()
670 , m_shaderType (shaderType) in BufferAccessInstance()
680 const bool isTexelAccess = !!(m_shaderType == SHADER_TYPE_TEXEL_COPY); in BufferAccessInstance()
773 …const VkBufferUsageFlags outBufferUsageFlags = (m_shaderType == SHADER_TYPE_TEXEL_COPY) ? VK_BUFFE… in BufferAccessInstance()
[all …]
DvktRobustBufferAccessWithVariablePointersTests.cpp196 const ShaderType m_shaderType; member in vkt::robustness::__anonebaadb960111::RobustAccessWithPointersTest
211 , m_shaderType(shaderType) in RobustAccessWithPointersTest()
322 const ShaderType m_shaderType; member in vkt::robustness::__anonebaadb960111::AccessInstance
1287 …return new ReadInstance(context, device, m_shaderType, m_shaderStage, m_bufferFormat, m_readAccess… in createInstance()
1294 …vAsmSources.add("compute") << MakeShader(VK_SHADER_STAGE_COMPUTE_BIT, m_shaderType, m_bufferFormat… in initPrograms()
1298 …irvAsmSources.add("vertex") << MakeShader(VK_SHADER_STAGE_VERTEX_BIT, m_shaderType, m_bufferFormat… in initPrograms()
1299 …smSources.add("fragment") << MakeShader(VK_SHADER_STAGE_FRAGMENT_BIT, m_shaderType, m_bufferFormat… in initPrograms()
1321 …return new WriteInstance(context, device, m_shaderType, m_shaderStage, m_bufferFormat, m_writeAcce… in createInstance()
1328 …vAsmSources.add("compute") << MakeShader(VK_SHADER_STAGE_COMPUTE_BIT, m_shaderType, m_bufferFormat… in initPrograms()
1332 …irvAsmSources.add("vertex") << MakeShader(VK_SHADER_STAGE_VERTEX_BIT, m_shaderType, m_bufferFormat… in initPrograms()
[all …]
/external/deqp/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()
/external/deqp/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
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemStorageBufferTests.cpp189 const glu::ShaderType m_shaderType; member in vkt::ProtectedMem::__anon228457f70111::StorageBufferTestInstance
209 , m_shaderType (shaderType) in StorageBufferTestCase()
217 … return new StorageBufferTestInstance<T>(ctx, m_testType, m_shaderType, m_testInput, m_validator); in createInstance()
229 const glu::ShaderType m_shaderType; member in vkt::ProtectedMem::__anon228457f70111::StorageBufferTestCase
243 , m_shaderType (shaderType) in StorageBufferTestInstance()
337 if (m_shaderType == glu::SHADERTYPE_FRAGMENT) in initPrograms()
347 else if (m_shaderType == glu::SHADERTYPE_COMPUTE) in initPrograms()
657 switch (m_shaderType) in iterate()
/external/angle/src/tests/deqp_support/
DglcShaderConstExprTests_override.cpp89 glu::ShaderType m_shaderType; member in glcts::ShaderConstExpr::ExecutorTestCase
101 m_shaderType(shaderType), in ExecutorTestCase()
157 createExecutor(m_context.getRenderContext(), m_shaderType, m_shaderSpec)); in iterate()

12