Home
last modified time | relevance | path

Searched refs:outputNdx (Results 1 – 12 of 12) sorted by relevance

/external/deqp/framework/referencerenderer/
DrrRenderer.cpp484 void flatshadePrimitiveVertices (pa::Triangle& target, size_t outputNdx) in flatshadePrimitiveVertices() argument
486 const rr::GenericVec4 flatValue = target.getProvokingVertex()->outputs[outputNdx]; in flatshadePrimitiveVertices()
487 target.v0->outputs[outputNdx] = flatValue; in flatshadePrimitiveVertices()
488 target.v1->outputs[outputNdx] = flatValue; in flatshadePrimitiveVertices()
489 target.v2->outputs[outputNdx] = flatValue; in flatshadePrimitiveVertices()
492 void flatshadePrimitiveVertices (pa::Line& target, size_t outputNdx) in flatshadePrimitiveVertices() argument
494 const rr::GenericVec4 flatValue = target.getProvokingVertex()->outputs[outputNdx]; in flatshadePrimitiveVertices()
495 target.v0->outputs[outputNdx] = flatValue; in flatshadePrimitiveVertices()
496 target.v1->outputs[outputNdx] = flatValue; in flatshadePrimitiveVertices()
499 void flatshadePrimitiveVertices (pa::Point& target, size_t outputNdx) in flatshadePrimitiveVertices() argument
[all …]
DrrShadingContext.hpp54 … (const FragmentShadingContext& context, int packetNdx, int fragNdx, int outputNdx, const T& value) in writeFragmentOutput() argument
58 DE_ASSERT(outputNdx >= 0 && outputNdx < context.numFragmentOutputs); in writeFragmentOutput()
60 context.outputArray[outputNdx + context.numFragmentOutputs*(fragNdx + packetNdx*4)] = value; in writeFragmentOutput()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderTestUtil.cpp38 for (size_t outputNdx = 0; outputNdx < outputAllocs.size(); ++outputNdx) in verifyOutputWithEpsilon() local
41 expectedOutputs[outputNdx].getBytes(expectedBytes); in verifyOutputWithEpsilon()
47 memcpy(&actualFloats[0], outputAllocs[outputNdx]->getHostPtr(), expectedBytes.size()); in verifyOutputWithEpsilon()
DvktSpvAsmComputeShaderCase.cpp684 for (deUint32 outputNdx = 0; outputNdx < m_shaderSpec.outputs.size(); ++outputNdx) in iterate() local
686 …DE_ASSERT(m_shaderSpec.outputs[outputNdx].getDescriptorType() == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER… in iterate()
688 descriptorTypes.push_back(m_shaderSpec.outputs[outputNdx].getDescriptorType()); in iterate()
691 const BufferSp& output = m_shaderSpec.outputs[outputNdx].getBuffer(); in iterate()
746 for (size_t outputNdx = 0; outputNdx < m_shaderSpec.outputs.size(); ++outputNdx) in iterate() local
748 invalidateMemory(vkdi, device, outputAllocs[outputNdx].get(), m_shaderSpec.coherentMemory); in iterate()
759 for (size_t outputNdx = 0; outputNdx < m_shaderSpec.outputs.size(); ++outputNdx) in iterate() local
761 const BufferSp& expectedOutput = m_shaderSpec.outputs[outputNdx].getBuffer();; in iterate()
766 … if (deMemCmp(&expectedBytes.front(), outputAllocs[outputNdx]->getHostPtr(), expectedBytes.size())) in iterate()
768 const deUint8* ptrHost = static_cast<deUint8*>(outputAllocs[outputNdx]->getHostPtr()); in iterate()
[all …]
DvktSpvAsm16bitStorageTests.cpp199 for (deUint32 outputNdx = 0; outputNdx < outputAllocs.size(); ++outputNdx) in graphicsCheck16BitFloats() local
202 originalFloats[outputNdx].getBuffer()->getPackedBytes(originalBytes); in graphicsCheck16BitFloats()
204 const deUint16* returned = static_cast<const deUint16*>(outputAllocs[outputNdx]->getHostPtr()); in graphicsCheck16BitFloats()
206 …const deUint32 count = static_cast<deUint32>(expectedOutputs[outputNdx].getByteSize() / sizeof(de… in graphicsCheck16BitFloats()
226 for (deUint32 outputNdx = 0; outputNdx < outputAllocs.size(); ++outputNdx) in graphicsCheck16BitFloats64() local
229 originalFloats[outputNdx].getBuffer()->getPackedBytes(originalBytes); in graphicsCheck16BitFloats64()
231 const deUint16* returned = static_cast<const deUint16*>(outputAllocs[outputNdx]->getHostPtr()); in graphicsCheck16BitFloats64()
277 for (deUint32 outputNdx = 0; outputNdx < outputAllocs.size(); ++outputNdx) in computeCheck16BitFloats() local
280 originalFloats[outputNdx].getBuffer()->getPackedBytes(originalBytes); in computeCheck16BitFloats()
282 const deUint16* returned = static_cast<const deUint16*>(outputAllocs[outputNdx]->getHostPtr()); in computeCheck16BitFloats()
[all …]
DvktSpvAsmGraphicsShaderTestUtil.cpp3016 for (deUint32 outputNdx = 0; outputNdx < numOutResources; ++outputNdx) in runAndVerifyDefaultPipeline() local
3018 const Resource& resource = instance.resources.outputs[outputNdx]; in runAndVerifyDefaultPipeline()
3046 numInResources + outputNdx, // binding in runAndVerifyDefaultPipeline()
3251 for (deUint32 outputNdx = 0; outputNdx < numOutResources; ++outputNdx) in runAndVerifyDefaultPipeline() local
3255 **outResourceBuffers[outputNdx], // buffer in runAndVerifyDefaultPipeline()
3265 numInResources + outputNdx, // binding in runAndVerifyDefaultPipeline()
3268 instance.resources.outputs[outputNdx].getDescriptorType(), // descriptorType in runAndVerifyDefaultPipeline()
3904 for (deUint32 outputNdx = 0; outputNdx < numOutResources; ++outputNdx) in runAndVerifyDefaultPipeline() local
3910 outResourceMemories[outputNdx]->getMemory(), // VkDeviceMemory mem; in runAndVerifyDefaultPipeline()
4058 for (deUint32 outputNdx = 0; outputNdx < numOutResources; ++outputNdx) in runAndVerifyDefaultPipeline() local
[all …]
DvktSpvAsm8bitStorageTests.cpp666 for (deUint32 outputNdx = 0; outputNdx < outputAllocs.size(); ++outputNdx) in checkStruct() local
669 originalFloats[outputNdx].getBytes(originalBytes); in checkStruct()
671 …const resultType* returned = static_cast<const resultType*>(outputAllocs[outputNdx]->getHostPtr()); in checkStruct()
690 for (deUint32 outputNdx = 0; outputNdx < static_cast<deUint32>(outputAllocs.size()); ++outputNdx) in checkUniformsArray() local
693 originalFloats[outputNdx].getBytes(originalBytes); in checkUniformsArray()
696 …const resultType* returned = static_cast<const resultType*>(outputAllocs[outputNdx]->getHostPtr()); in checkUniformsArray()
724 for (deUint32 outputNdx = 0; outputNdx < static_cast<deUint32>(outputAllocs.size()); ++outputNdx) in checkUniformsArrayConstNdx() local
727 originalFloats[outputNdx].getBytes(originalBytes); in checkUniformsArrayConstNdx()
730 …const resultType* returned = static_cast<const resultType*>(outputAllocs[outputNdx]->getHostPtr()); in checkUniformsArrayConstNdx()
DvktSpvAsmFloatControlsTests.cpp2128 for (deUint32 outputNdx = 0; outputNdx < outputAllocs.size(); ++outputNdx) in checkFloats() local
2131 expectedOutputs[outputNdx].getBytes(expectedBytes); in checkFloats()
2133 if (!compareBytes<TYPE, FLOAT_TYPE>(expectedBytes, outputAllocs[outputNdx], log)) in checkFloats()
DvktSpvAsmInstructionTests.cpp17496 for (size_t outputNdx = 0; outputNdx < outputAllocs.size(); ++outputNdx) in compareFloats() local
17502 expectedOutputs[outputNdx].getBytes(expectedBytes); in compareFloats()
17504 memcpy(&actual, outputAllocs[outputNdx]->getHostPtr(), expectedBytes.size()); in compareFloats()
17524 for (size_t outputNdx = 0; outputNdx < outputAllocs.size(); ++outputNdx) in passthruVerify() local
17527 expectedOutputs[outputNdx].getBytes(expectedBytes); in passthruVerify()
17532 memcpy(&data[0], outputAllocs[outputNdx]->getHostPtr(), width); in passthruVerify()
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp625 for (int outputNdx = 0; outputNdx < (int)m_outputs.size(); outputNdx++) in iterate() local
627 const FragmentOutput& output = m_outputs[outputNdx]; in iterate()
775 for (int outputNdx = 0; outputNdx < (int)m_outputs.size(); outputNdx++) in iterate() local
777 const FragmentOutput& output = m_outputs[outputNdx]; in iterate()
790 …string name = string("in") + de::toString(outputNdx) + (isArray ? string("_") + de::toString(vecNd… in iterate()
838 for (int outputNdx = 0; outputNdx < (int)m_outputs.size(); outputNdx++) in iterate() local
840 const FragmentOutput& output = m_outputs[outputNdx]; in iterate()
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp1075 for (size_t outputNdx = 0; outputNdx < m_outputs.size(); ++outputNdx) in readOutputBuffer() local
1077 const glu::VarType& varType = m_outputs[outputNdx].varType; in readOutputBuffer()
1078 const VarLayout& layout = m_outputLayout[outputNdx]; in readOutputBuffer()
1080 copyFromBuffer(varType, layout, numValues, mapPtr, outputPtrs[outputNdx]); in readOutputBuffer()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp1826 for (size_t outputNdx = 0; outputNdx < m_shaderSpec.outputs.size(); ++outputNdx) in readOutputBuffer() local
1828 const glu::VarType& varType = m_shaderSpec.outputs[outputNdx].varType; in readOutputBuffer()
1829 const VarLayout& layout = m_outputLayout[outputNdx]; in readOutputBuffer()
1831 copyFromBuffer(varType, layout, numValues, m_outputAlloc->getHostPtr(), outputPtrs[outputNdx]); in readOutputBuffer()