/third_party/vk-gl-cts/modules/gles2/performance/ |
D | es2pDrawCallBatchingTests.cpp | 111 TestSpec m_spec; member in deqp::gles2::Performance::__anonba2b73e50111::DrawCallBatchingTest 157 , m_spec (spec) in DrawCallBatchingTest() 172 if (m_spec.dynamicIndices) in createIndexData() 174 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++) in createIndexData() 176 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData() 186 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++) in createIndexData() 188 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData() 203 for (int attributeNdx = 0; attributeNdx < m_spec.staticAttributeCount; attributeNdx++) in createShader() 206 if (m_spec.staticAttributeCount > 0 && m_spec.dynamicAttributeCount > 0) in createShader() 209 for (int attributeNdx = 0; attributeNdx < m_spec.dynamicAttributeCount; attributeNdx++) in createShader() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fVertexArrayObjectTests.cpp | 156 Spec m_spec; member in deqp::gles3::Functional::VertexArrayObjectTest 179 , m_spec (spec) in VertexArrayObjectTest() 222 for (int bufferNdx = 0; bufferNdx < (int)m_spec.buffers.size(); bufferNdx++) in init() 224 deUint8* data = createRandomBufferData(m_spec.buffers[bufferNdx]); in init() 233 …GLU_CHECK_CALL(glBufferData(GL_ARRAY_BUFFER, m_spec.buffers[bufferNdx].size, data, GL_DYNAMIC_DRAW… in init() 244 m_vaoProgram = createProgram(m_spec.vao); in init() 247 m_stateProgram = createProgram(m_spec.state); in init() 254 …if (m_spec.useDrawElements && (m_spec.vao.elementArrayBuffer == 0 || m_spec.state.elementArrayBuff… in init() 270 switch (m_spec.indexType) in generateIndices() 279 deUint8* indices = new deUint8[m_spec.indexCount * typeSize]; in generateIndices() [all …]
|
D | es3fShaderCommonFunctionTests.cpp | 169 ShaderSpec m_spec; member in deqp::gles3::Functional::CommonFunctionCase 184 m_spec.version = glu::GLSL_VERSION_300_ES; in CommonFunctionCase() 196 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init() 313 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); in iterate() 314 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs); in iterate() 317 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate() 318 …const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numVa… in iterate() 329 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate() 330 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs); in iterate() 352 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate() [all …]
|
D | es3fShaderPackingFunctionTests.cpp | 80 ShaderSpec m_spec; member in deqp::gles3::Functional::ShaderPackingFunctionCase 93 m_spec.version = glu::GLSL_VERSION_300_ES; in ShaderPackingFunctionCase() 105 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init() 127 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); in PackSnorm2x16Case() 128 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); in PackSnorm2x16Case() 130 m_spec.source = "out0 = packSnorm2x16(in0);"; in PackSnorm2x16Case() 230 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); in UnpackSnorm2x16Case() 231 …m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_HIGHP))); in UnpackSnorm2x16Case() 233 m_spec.source = "out0 = unpackSnorm2x16(in0);"; in UnpackSnorm2x16Case() 318 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); in PackUnorm2x16Case() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 268 generateSources(m_shaderType, m_spec, programCollection); in initPrograms() 281 ShaderSpec m_spec; member in vkt::shaderexecutor::IntegerFunctionCase 310 , m_spec (spec) in IntegerFunctionTestInstance() 313 , m_executor (createExecutor(context, m_shaderType, m_spec)) in IntegerFunctionTestInstance() 324 ShaderSpec m_spec; member in vkt::shaderexecutor::IntegerFunctionTestInstance 337 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); in iterate() 338 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs); in iterate() 341 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate() 342 …const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numVa… in iterate() 352 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate() [all …]
|
D | vktShaderCommonFunctionTests.cpp | 370 generateSources(glu::SHADERTYPE_COMPUTE, m_spec, programCollection); in initPrograms() 379 ShaderSpec m_spec; member in vkt::shaderexecutor::__anonf42db1200111::CommonFunctionCase 400 , m_spec (spec) in CommonFunctionTestInstance() 412 const ShaderSpec m_spec; member in vkt::shaderexecutor::__anonf42db1200111::CommonFunctionTestInstance 425 const int numInputBytes = computeTotalByteSize(m_spec.inputs); in iterate() 426 const int numOutputBytes = computeTotalByteSize(m_spec.outputs); in iterate() 429 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate() 430 …const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numVa… in iterate() 440 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate() 441 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs); in iterate() [all …]
|
D | vktShaderPackingFunctionTests.cpp | 81 generateSources(m_shaderType, m_spec, programCollection); in initPrograms() 86 ShaderSpec m_spec; member in vkt::shaderexecutor::ShaderPackingFunctionCase 117 , m_spec (spec) in ShaderPackingFunctionTestInstance() 119 , m_executor (createExecutor(context, m_shaderType, m_spec)) in ShaderPackingFunctionTestInstance() 126 ShaderSpec m_spec; member in vkt::shaderexecutor::ShaderPackingFunctionTestInstance 236 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); in PackSnorm2x16Case() 237 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); in PackSnorm2x16Case() 239 m_spec.source = "out0 = packSnorm2x16(in0);"; in PackSnorm2x16Case() 244 return new PackSnorm2x16CaseInstance(ctx, m_shaderType, m_spec, m_precision, getName()); in createInstance() 340 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); in UnpackSnorm2x16Case() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 268 generateSources(m_shaderType, m_spec, programCollection); in initPrograms() 281 ShaderSpec m_spec; member in vkt::shaderexecutor::IntegerFunctionCase 310 , m_spec (spec) in IntegerFunctionTestInstance() 313 , m_executor (createExecutor(context, m_shaderType, m_spec)) in IntegerFunctionTestInstance() 324 ShaderSpec m_spec; member in vkt::shaderexecutor::IntegerFunctionTestInstance 337 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); in iterate() 338 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs); in iterate() 341 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate() 342 …const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numVa… in iterate() 352 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate() [all …]
|
D | vktShaderCommonFunctionTests.cpp | 370 generateSources(glu::SHADERTYPE_COMPUTE, m_spec, programCollection); in initPrograms() 379 ShaderSpec m_spec; member in vkt::shaderexecutor::__anonf6b11fa00111::CommonFunctionCase 400 , m_spec (spec) in CommonFunctionTestInstance() 412 const ShaderSpec m_spec; member in vkt::shaderexecutor::__anonf6b11fa00111::CommonFunctionTestInstance 425 const int numInputBytes = computeTotalByteSize(m_spec.inputs); in iterate() 426 const int numOutputBytes = computeTotalByteSize(m_spec.outputs); in iterate() 429 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate() 430 …const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numVa… in iterate() 440 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate() 441 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs); in iterate() [all …]
|
D | vktShaderPackingFunctionTests.cpp | 81 generateSources(m_shaderType, m_spec, programCollection); in initPrograms() 86 ShaderSpec m_spec; member in vkt::shaderexecutor::ShaderPackingFunctionCase 117 , m_spec (spec) in ShaderPackingFunctionTestInstance() 119 , m_executor (createExecutor(context, m_shaderType, m_spec)) in ShaderPackingFunctionTestInstance() 126 ShaderSpec m_spec; member in vkt::shaderexecutor::ShaderPackingFunctionTestInstance 236 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); in PackSnorm2x16Case() 237 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); in PackSnorm2x16Case() 239 m_spec.source = "out0 = packSnorm2x16(in0);"; in PackSnorm2x16Case() 244 return new PackSnorm2x16CaseInstance(ctx, m_shaderType, m_spec, m_precision, getName()); in createInstance() 340 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); in UnpackSnorm2x16Case() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fShaderIntegerFunctionTests.cpp | 180 ShaderSpec m_spec; member in deqp::gles31::Functional::IntegerFunctionCase 195 m_spec.version = glu::getContextTypeGLSLVersion(context.getRenderContext().getType()); in IntegerFunctionCase() 207 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init() 258 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); in iterate() 259 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs); in iterate() 262 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate() 263 …const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numVa… in iterate() 274 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate() 275 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs); in iterate() 297 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate() [all …]
|
D | es31fAtomicCounterTests.cpp | 117 const TestSpec m_spec; member in deqp::gles31::Functional::__anon193a6a530111::AtomicCounterTest 122 deUint32 getInitialValue (void) const { return m_spec.callCount * m_spec.threadCount + 1; } in getInitialValue() 140 if (m_spec.operations & OPERATION_INC) in getOperationCount() 143 if (m_spec.operations & OPERATION_DEC) in getOperationCount() 146 if (m_spec.operations == OPERATION_GET) in getOperationCount() 148 else if (m_spec.operations & OPERATION_GET) in getOperationCount() 156 , m_spec (spec) in AtomicCounterTest() 536 if ((m_spec.operations & OPERATION_INC) != 0 && (m_spec.operations & OPERATION_DEC) == 0) in checkAndLogCounterValues() 537 …itialValue + (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.threadCount*m_spec… in checkAndLogCounterValues() 539 if ((m_spec.operations & OPERATION_INC) == 0 && (m_spec.operations & OPERATION_DEC) != 0) in checkAndLogCounterValues() [all …]
|
D | es31fShaderCommonFunctionTests.cpp | 242 ShaderSpec m_spec; member in deqp::gles31::Functional::CommonFunctionCase 269 m_spec.version = glu::getContextTypeGLSLVersion(contextType); in init() 271 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init() 388 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); in iterate() 389 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs); in iterate() 392 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate() 393 …const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numVa… in iterate() 404 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate() 405 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs); in iterate() 427 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate() [all …]
|
D | es31fVertexAttributeBindingTests.cpp | 260 const TestSpec m_spec; member in deqp::gles31::Functional::__anon310f20c30111::SingleBindingCase 266 , m_spec (genTestSpec(flags)) in SingleBindingCase() 287 << " bufferOffset: " << m_spec.bufferOffset << "\n" in init() 288 << " bufferStride: " << m_spec.bufferStride << "\n" in init() 291 << " offset: " << m_spec.positionAttrOffset << "\n" in init() 292 << " total offset: " << m_spec.bufferOffset + m_spec.positionAttrOffset << "\n" in init() 295 if (m_spec.hasColorAttr) in init() 299 << " offset: " << m_spec.colorAttrOffset << "\n" in init() 300 << " total offset: " << m_spec.bufferOffset + m_spec.colorAttrOffset << "\n" in init() 336 if (m_spec.hasColorAttr) in renderTo() [all …]
|
D | es31fShaderPackingFunctionTests.cpp | 80 ShaderSpec m_spec; member in deqp::gles31::Functional::ShaderPackingFunctionCase 93 m_spec.version = glu::getContextTypeGLSLVersion(context.getRenderContext().getType()); in ShaderPackingFunctionCase() 105 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init() 127 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); in PackSnorm2x16Case() 128 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); in PackSnorm2x16Case() 130 m_spec.source = "out0 = packSnorm2x16(in0);"; in PackSnorm2x16Case() 230 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); in UnpackSnorm2x16Case() 231 …m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_HIGHP))); in UnpackSnorm2x16Case() 233 m_spec.source = "out0 = unpackSnorm2x16(in0);"; in UnpackSnorm2x16Case() 318 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); in PackUnorm2x16Case() [all …]
|
D | es31fShaderUniformIntegerFunctionTests.cpp | 59 ShaderSpec m_spec; member in deqp::gles31::Functional::UniformIntegerFunctionCase 75 m_spec.version = glu::GLSL_VERSION_310_ES; in UniformIntegerFunctionCase() 80 m_spec.globalDeclarations = oss.str(); in UniformIntegerFunctionCase() 81 m_spec.outputs.push_back(Symbol("result", glu::VarType(glu::TYPE_INT, glu::PRECISION_LOWP))); in UniformIntegerFunctionCase() 82 m_spec.outputs.push_back(Symbol("comparison", glu::VarType(glu::TYPE_BOOL, glu::PRECISION_LAST))); in UniformIntegerFunctionCase() 102 m_spec.source = oss.str(); in init() 105 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init()
|
D | es31fFboNoAttachmentTests.cpp | 346 const FboSpec m_spec; member in deqp::gles31::Functional::__anonece0cbd30111::SizeCase 356 , m_spec (spec) in SizeCase() 416 if (m_spec.width != USE_MAXIMUM) in getWidth() 417 return m_spec.width; in getWidth() 431 if (m_spec.height != USE_MAXIMUM) in getHeight() 432 return m_spec.height; in getHeight() 446 if (m_spec.samples != USE_MAXIMUM) in getSamples() 447 return m_spec.samples; in getSamples()
|
/third_party/vk-gl-cts/modules/gles31/stress/ |
D | es31sVertexAttributeBindingTests.cpp | 254 const TestSpec m_spec; member in deqp::gles31::Stress::__anon49fd41010111::SingleBindingCase 260 , m_spec (genTestSpec(flags)) in SingleBindingCase() 281 << " bufferOffset: " << m_spec.bufferOffset << "\n" in init() 282 << " bufferStride: " << m_spec.bufferStride << "\n" in init() 285 << " offset: " << m_spec.positionAttrOffset << "\n" in init() 286 << " total offset: " << m_spec.bufferOffset + m_spec.positionAttrOffset << "\n" in init() 289 if (m_spec.hasColorAttr) in init() 293 << " offset: " << m_spec.colorAttrOffset << "\n" in init() 294 << " total offset: " << m_spec.bufferOffset + m_spec.colorAttrOffset << "\n" in init() 330 if (m_spec.hasColorAttr) in renderTo() [all …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderLibraryCase.cpp | 723 , m_spec (specification) in ShaderLibraryCase() 739 DE_ASSERT(isValid(m_spec)); in init() 742 if (!isContextTypeES(m_renderCtx.getType()) && glslVersionIsES(m_spec.targetVersion)) { in init() 743 switch (m_spec.targetVersion) { in init() 745 requireExtension(m_contextInfo, m_spec, "GL_ARB_ES3_compatibility"); in init() 748 requireExtension(m_contextInfo, m_spec, "GL_ARB_ES3_1_compatibility"); in init() 751 requireExtension(m_contextInfo, m_spec, "GL_ARB_ES3_2_compatibility"); in init() 757 if (!isGLSLVersionSupported(m_renderCtx.getType(), m_spec.targetVersion)) in init() 758 …TCU_THROW(NotSupportedError, (string(getGLSLVersionName(m_spec.targetVersion)) + " is not supporte… in init() 761 checkImplementationLimits(m_spec.requiredCaps, m_contextInfo); in init() [all …]
|
D | glsVertexArrayTests.cpp | 1940 , m_spec (spec) in MultiVertexArrayTest() 1953 …const size_t primitiveSize = (m_spec.primitive == Array::PRIMITIVE_TRIANGLES) ? (6) : (1); // in … in iterate() 1959 m_testCtx.getLog() << TestLog::Message << m_spec.getDesc() << TestLog::EndMessage; in iterate() 1965 Spec::ArraySpec arraySpec = m_spec.arrays[0]; in iterate() 1990 for (int arrayNdx = 1; arrayNdx < (int)m_spec.arrays.size(); arrayNdx++) in iterate() 1992 Spec::ArraySpec arraySpec = m_spec.arrays[arrayNdx]; in iterate() 2001 for (int arrayNdx = 0; arrayNdx < (int)m_spec.arrays.size(); arrayNdx++) in iterate() 2003 Spec::ArraySpec arraySpec = m_spec.arrays[arrayNdx]; in iterate() 2004 …) + 100 * int(arraySpec.storage) + 1000 * int(m_spec.primitive) + 10000 * int(arraySpec.usage) + i… in iterate() 2007 …const size_t bufferSize = arraySpec.offset + stride * (m_spec.drawCount * primitiveSize - 1) + ar… in iterate() [all …]
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglMakeCurrentPerfTests.cpp | 93 Spec m_spec; member in deqp::egl::MakeCurrentPerfCase 159 , m_spec (spec) in MakeCurrentPerfCase() 194 const EGLint surfaceBits = ((m_spec.surfaceTypes & SURFACETYPE_WINDOW) != 0 ? EGL_WINDOW_BIT : 0) in chooseConfig() 195 | ((m_spec.surfaceTypes & SURFACETYPE_PIXMAP) != 0 ? EGL_PIXMAP_BIT : 0) in chooseConfig() 196 | ((m_spec.surfaceTypes & SURFACETYPE_PBUFFER) != 0 ? EGL_PBUFFER_BIT : 0); in chooseConfig() 217 if ((m_spec.surfaceTypes & SURFACETYPE_WINDOW) != 0) in createSurfaces() 220 if ((m_spec.surfaceTypes & SURFACETYPE_PIXMAP) != 0) in createSurfaces() 223 if ((m_spec.surfaceTypes & SURFACETYPE_PBUFFER) != 0) in createSurfaces() 226 DE_ASSERT((int)types.size() <= m_spec.surfaceCount); in createSurfaces() 229 for (int surfaceNdx = 0; surfaceNdx < m_spec.surfaceCount; surfaceNdx++) in createSurfaces() [all …]
|
D | teglMemoryStressTests.cpp | 333 Spec m_spec; member in deqp::egl::MemoryStressCase 346 , m_spec (spec) in MemoryStressCase() 401 …, m_display, m_config, m_seed, m_spec.types, m_spec.minWidth, m_spec.minHeight, m_spec.maxWidth, m… in iterate()
|
/third_party/vk-gl-cts/modules/gles3/stress/ |
D | es3sLongShaderTests.cpp | 188 const LongShaderSpec m_spec; member in deqp::gles3::Stress::__anon8d3ae1990111::LongShaderGenerator 212 , m_spec (spec) in LongShaderGenerator() 214 …DE_ASSERT(m_spec.shaderType == glu::SHADERTYPE_VERTEX || m_spec.shaderType == glu::SHADERTYPE_FRAG… in LongShaderGenerator() 222 return glu::ShaderSource(m_spec.shaderType, m_source); in getSource() 233 if (m_spec.shaderType == glu::SHADERTYPE_FRAGMENT) in generateSource() 239 while (currentOpsTotal < m_spec.opsTotal) in generateSource() 241 const bool isLast = (m_spec.opsTotal <= (currentOpsTotal + m_spec.opsPerExpression)); in generateSource() 242 const int numOps = isLast ? (m_spec.opsTotal - currentOpsTotal) : m_spec.opsPerExpression; in generateSource() 274 return (m_spec.shaderType == glu::SHADERTYPE_VERTEX) ? "gl_Position" : "o_fragColor"; in getShaderOutputName() 316 m_nameGen.makeNames(scope, m_spec.variablesPerBlock); in beginBlock()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ |
D | vktShaderLibrary.cpp | 1244 const ShaderCaseSpecification& m_spec; member in vkt::__anona82a015e0111::ShaderCaseInstance 1288 , m_spec (spec) in ShaderCaseInstance() 1306 …tputCount (((deUint32)m_spec.values.outputs.size() == 0 || m_spec.outputType == glu::sl::OUTPUT_… in ShaderCaseInstance() 1369 if (!m_spec.values.uniforms.empty()) in ShaderCaseInstance() 1384 if (!m_spec.values.outputs.empty()) in ShaderCaseInstance() 1453 if (!m_spec.values.uniforms.empty() || !m_spec.values.outputs.empty()) in ShaderCaseInstance() 1600 if (!m_spec.values.inputs.empty()) in iterate() 1601 writeValuesToMem(m_context, *m_inputMem, m_inputLayout, m_spec.values.inputs, m_subCaseNdx); in iterate() 1603 if (!m_spec.values.outputs.empty()) in iterate() 1604 …writeValuesToMem(m_context, *m_referenceMem, m_referenceLayout, m_spec.values.outputs, m_subCaseNd… in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 1244 const ShaderCaseSpecification& m_spec; member in vkt::__anonb01782de0111::ShaderCaseInstance 1288 , m_spec (spec) in ShaderCaseInstance() 1306 …tputCount (((deUint32)m_spec.values.outputs.size() == 0 || m_spec.outputType == glu::sl::OUTPUT_… in ShaderCaseInstance() 1369 if (!m_spec.values.uniforms.empty()) in ShaderCaseInstance() 1384 if (!m_spec.values.outputs.empty()) in ShaderCaseInstance() 1453 if (!m_spec.values.uniforms.empty() || !m_spec.values.outputs.empty()) in ShaderCaseInstance() 1600 if (!m_spec.values.inputs.empty()) in iterate() 1601 writeValuesToMem(m_context, *m_inputMem, m_inputLayout, m_spec.values.inputs, m_subCaseNdx); in iterate() 1603 if (!m_spec.values.outputs.empty()) in iterate() 1604 …writeValuesToMem(m_context, *m_referenceMem, m_referenceLayout, m_spec.values.outputs, m_subCaseNd… in iterate() [all …]
|