Home
last modified time | relevance | path

Searched refs:outNdx (Results 1 – 10 of 10) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp1342 for (deUint32 outNdx = 0; outNdx < m_outputCount; outNdx++) in ShaderCaseInstance() local
1344 …m_rtImage[outNdx] = createImage2D(context, RENDER_WIDTH, RENDER_HEIGHT, m_rtFormat, vk::VK_IMAGE_T… in ShaderCaseInstance()
1345 m_rtMem[outNdx] = allocateAndBindMemory(context, *m_rtImage[outNdx], vk::MemoryRequirement::Any); in ShaderCaseInstance()
1346 m_rtView[outNdx] = createAttachmentView(context, *m_rtImage[outNdx], m_rtFormat); in ShaderCaseInstance()
1348 …m_readImageBuffer[outNdx] = createBuffer(context, (vk::VkDeviceSize)(RENDER_WIDTH * RENDER_HEIGHT … in ShaderCaseInstance()
1349 …m_readImageMem[outNdx] = allocateAndBindMemory(context, *m_readImageBuffer[outNdx], vk::MemoryRequ… in ShaderCaseInstance()
1423 for (deUint32 outNdx = 0; outNdx < m_outputCount; outNdx++) in ShaderCaseInstance() local
1435 *m_rtImage[outNdx], // image in ShaderCaseInstance()
1444 colorAttBarrier[outNdx] = barrier; in ShaderCaseInstance()
1454 for (deUint32 outNdx = 0; outNdx < m_outputCount; outNdx++) in ShaderCaseInstance() local
[all …]
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp179 for (int outNdx = 0; outNdx < (int)outputs.size(); outNdx++) in createProgram() local
181 const FragmentOutput& output = outputs[outNdx]; in createProgram()
193 vtx << "in " << interpPrec << " " << typeName << " in" << outNdx << "_" << elemNdx << ";\n" in createProgram()
194 …<< interp << " out " << interpPrec << " " << typeName << " var" << outNdx << "_" << elemNdx << ";\… in createProgram()
195 …frag << interp << " in " << interpPrec << " " << typeName << " var" << outNdx << "_" << elemNdx <<… in createProgram()
197 …utput.location << ") out " << outputPrec << " " << typeName << " out" << outNdx << "[" << output.a… in createProgram()
201 vtx << "in " << interpPrec << " " << typeName << " in" << outNdx << ";\n" in createProgram()
202 << interp << " out " << interpPrec << " " << typeName << " var" << outNdx << ";\n"; in createProgram()
203 frag << interp << " in " << interpPrec << " " << typeName << " var" << outNdx << ";\n" in createProgram()
204 …n = " << output.location << ") out " << outputPrec << " " << typeName << " out" << outNdx << ";\n"; in createProgram()
[all …]
Des3fTransformFeedbackTests.cpp684 static int getAttributeIndex (deUint32 primitiveType, int numInputs, int outNdx) in getAttributeIndex() argument
688 case GL_TRIANGLES: return outNdx; in getAttributeIndex()
689 case GL_LINES: return outNdx; in getAttributeIndex()
690 case GL_POINTS: return outNdx; in getAttributeIndex()
694 int triNdx = outNdx/3; in getAttributeIndex()
695 int vtxNdx = outNdx%3; in getAttributeIndex()
700 return (outNdx%3 != 0) ? (outNdx/3 + outNdx%3) : 0; in getAttributeIndex()
703 return outNdx/2 + outNdx%2; in getAttributeIndex()
707 int inNdx = outNdx/2 + outNdx%2; in getAttributeIndex()
731 for (int outNdx = 0; outNdx < numOutputs; outNdx++) in compareTransformFeedbackOutput() local
[all …]
Des3fShaderCommonFunctionTests.cpp341 for (int outNdx = 0; outNdx < (int)curOutputPtr.size(); ++outNdx) in iterate() local
342 curOutputPtr[outNdx] = (deUint32*)outputPointers[outNdx] + outScalarSizes[outNdx]*valNdx; in iterate()
357 for (int outNdx = 0; outNdx < (int)curOutputPtr.size(); outNdx++) in iterate() local
358 m_testCtx.getLog() << TestLog::Message << " " << m_spec.outputs[outNdx].name << " = " in iterate()
359 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp455 for (int outNdx = 0; outNdx < (int)curOutputPtr.size(); ++outNdx) in iterate() local
456 …curOutputPtr[outNdx] = (deUint8*)outputPointers[outNdx] + outScalarSizes[outNdx]*outCompByteSizes[ in iterate()
471 for (int outNdx = 0; outNdx < (int)curOutputPtr.size(); outNdx++) in iterate() local
472 testCtx.getLog() << TestLog::Message << " " << m_spec.outputs[outNdx].name << " = " in iterate()
473 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
DvktShaderIntegerFunctionTests.cpp392 for (int outNdx = 0; outNdx < (int)curOutputPtr.size(); ++outNdx) in iterate() local
393 curOutputPtr[outNdx] = (deUint32*)outputPointers[outNdx] + outScalarSizes[outNdx]*valNdx; in iterate()
408 for (int outNdx = 0; outNdx < (int)curOutputPtr.size(); outNdx++) in iterate() local
409 testCtx.getLog() << TestLog::Message << " " << m_spec.outputs[outNdx].name << " = " in iterate()
410 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
DvktShaderExecutor.cpp315 for (int outNdx = 0; outNdx < (int)shaderSpec.outputs.size(); ++outNdx) in generateFragShaderOutputDecl() local
317 const Symbol& output = shaderSpec.outputs[outNdx]; in generateFragShaderOutputDecl()
957 for (int outNdx = 0; outNdx < (int)m_outputLayout.locationSymbols.size(); ++outNdx) in execute() local
959 …const bool isDouble = glu::isDataTypeDoubleOrDVec(m_shaderSpec.outputs[outNdx].varType.getBasicTy… in execute()
960 const bool isFloat = isDataTypeFloatOrVec(m_shaderSpec.outputs[outNdx].varType.getBasicType()); in execute()
961 …const bool isFloat16b = glu::isDataTypeFloat16OrVec(m_shaderSpec.outputs[outNdx].varType.getBasic… in execute()
962 const bool isSigned = isDataTypeIntOrIVec (m_shaderSpec.outputs[outNdx].varType.getBasicType()); in execute()
963 const bool isBool = isDataTypeBoolOrBVec(m_shaderSpec.outputs[outNdx].varType.getBasicType()); in execute()
1326 for (int outNdx = 0; outNdx < (int)m_shaderSpec.outputs.size(); ++outNdx) in execute() local
1328 const Symbol& output = m_shaderSpec.outputs[outNdx]; in execute()
[all …]
/external/deqp/modules/gles31/functional/
Des31fShaderIntegerFunctionTests.cpp286 for (int outNdx = 0; outNdx < (int)curOutputPtr.size(); ++outNdx) in iterate() local
287 curOutputPtr[outNdx] = (deUint32*)outputPointers[outNdx] + outScalarSizes[outNdx]*valNdx; in iterate()
302 for (int outNdx = 0; outNdx < (int)curOutputPtr.size(); outNdx++) in iterate() local
303 m_testCtx.getLog() << TestLog::Message << " " << m_spec.outputs[outNdx].name << " = " in iterate()
304 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
Des31fShaderCommonFunctionTests.cpp416 for (int outNdx = 0; outNdx < (int)curOutputPtr.size(); ++outNdx) in iterate() local
417 curOutputPtr[outNdx] = (deUint32*)outputPointers[outNdx] + outScalarSizes[outNdx]*valNdx; in iterate()
432 for (int outNdx = 0; outNdx < (int)curOutputPtr.size(); outNdx++) in iterate() local
433 m_testCtx.getLog() << TestLog::Message << " " << m_spec.outputs[outNdx].name << " = " in iterate()
434 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp302 for (int outNdx = 0; outNdx < (int)shaderSpec.outputs.size(); ++outNdx) in generateFragShaderOutputDecl() local
304 const Symbol& output = shaderSpec.outputs[outNdx]; in generateFragShaderOutputDecl()
627 for (int outNdx = 0; outNdx < (int)m_outputLayout.locationSymbols.size(); ++outNdx) in execute() local
629 const Symbol& output = *m_outputLayout.locationSymbols[outNdx]; in execute()
630 const deUint32 renderbuffer = renderbuffers[outNdx]; in execute()
635 …gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0+outNdx, GL_RENDERBUFFER, renderbuf… in execute()
661 for (int outNdx = 0; outNdx < (int)m_outputs.size(); ++outNdx) in execute() local
663 const Symbol& output = m_outputs[outNdx]; in execute()
667 deUint32* dstPtrBase = static_cast<deUint32*>(outputs[outNdx]); in execute()