Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmVariablePointersTests.cpp334 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORA… in addVariablePointersComputeGroup()
335 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputBFloats)), VK_DESCRIPTOR_TYPE_STORA… in addVariablePointersComputeGroup()
336 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputSFloats)), VK_DESCRIPTOR_TYPE_STORA… in addVariablePointersComputeGroup()
337 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addVariablePointersComputeGroup()
355 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORA… in addVariablePointersComputeGroup()
356 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputBFloats)), VK_DESCRIPTOR_TYPE_STORA… in addVariablePointersComputeGroup()
357 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputSFloats)), VK_DESCRIPTOR_TYPE_STORA… in addVariablePointersComputeGroup()
358 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addVariablePointersComputeGroup()
384 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORA… in addVariablePointersComputeGroup()
385 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputBFloats)), VK_DESCRIPTOR_TYPE_STORA… in addVariablePointersComputeGroup()
[all …]
DvktSpvAsmWorkgroupMemoryTests.cpp295 …spec.inputs.push_back(Resource(BufferSp(new Float64Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests()
296 …spec.outputs.push_back(Resource(BufferSp(new Float64Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAG… in addComputeWorkgroupMemoryTests()
321 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests()
322 …spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAG… in addComputeWorkgroupMemoryTests()
354 …spec.inputs.push_back(Resource(BufferSp(new Float16Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests()
355 …spec.outputs.push_back(Resource(BufferSp(new Float16Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAG… in addComputeWorkgroupMemoryTests()
384 …spec.inputs.push_back(Resource(BufferSp(new Int64Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_BU… in addComputeWorkgroupMemoryTests()
385 …spec.outputs.push_back(Resource(BufferSp(new Int64Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests()
409 …spec.inputs.push_back(Resource(BufferSp(new Int32Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_BU… in addComputeWorkgroupMemoryTests()
410 …spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests()
[all …]
DvktSpvAsm16bitStorageTests.cpp1344 …spec.inputs.push_back(Resource(BufferSp(new Float16Buffer(float16Data)), CAPABILITIES[capIdx].dtyp… in addCompute16bitStorageUniform16To32Group()
1345 …spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(cTypes[capIdx][tyIdx].useConstantIndex … in addCompute16bitStorageUniform16To32Group()
1478 spec.inputs.push_back(Resource(BufferSp(new Int16Buffer(inputs)), CAPABILITIES[capIdx].dtype)); in addCompute16bitStorageUniform16To32Group()
1480 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(intDataConstIdx)))); in addCompute16bitStorageUniform16To32Group()
1482 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(sOutputs)))); in addCompute16bitStorageUniform16To32Group()
1484 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(uOutputs)))); in addCompute16bitStorageUniform16To32Group()
1647 BufferSp inputs; in addCompute16bitStorageUniform16To32ChainAccessGroup()
1648 BufferSp outputs; in addCompute16bitStorageUniform16To32ChainAccessGroup()
1653 …float", "f", "OpFConvert %f32 %data", "matrix", BufferSp(new Float16Buffer(inputDataFloat)), Buf… in addCompute16bitStorageUniform16To32ChainAccessGroup()
1654 …t", "i", "OpSConvert %i32 %data", "scalarArray2D", BufferSp(new Int16Buffer(inputDataInt)), Buffe… in addCompute16bitStorageUniform16To32ChainAccessGroup()
[all …]
DvktSpvAsmPointerParameterTests.cpp135 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputePointerParamToParamTest()
251 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputePointerParamToGlobalTest()
382 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputePointerBufferMemoryTest()
510 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputePointerBufferMemoryVariablePointersTest()
680 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputePointerWorkgroupMemoryVariablePointersTest()
763 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), vk::VK_DESCRIPTO… in addGraphicsPointerParamToParamTest()
858 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), vk::VK_DESCRIPTO… in addGraphicsPointerParamToGlobalTest()
972 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), vk::VK_DESCRIPTO… in addGraphicsPointerBufferMemoryTest()
1082 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), vk::VK_DESCRIPTO… in addGraphicsPointerBufferMemoryVariablePointersTest()
DvktSpvAsm8bitStorageTests.cpp1088 …spec.inputs.push_back(Resource(BufferSp(new Int32Buffer(inputs)), CAPABILITIES[STORAGE_BUFFER_TEST… in addCompute8bitStorage32To8Group()
1089 spec.outputs.push_back(Resource(BufferSp(new Int8Buffer(outputs)))); in addCompute8bitStorage32To8Group()
1240 …spec.inputs.push_back(Resource(BufferSp(new Int8Buffer(inputs)), CAPABILITIES[UNIFORM_AND_STORAGEB… in addCompute8bitUniform8To32Group()
1241 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(outputs)))); in addCompute8bitUniform8To32Group()
1404 spec.pushConstants = BufferSp(new Int8Buffer(inputs)); in addCompute8bitStoragePushConstant8To32Group()
1407 spec.outputs.push_back(BufferSp(new Int32Buffer(sOutputs))); in addCompute8bitStoragePushConstant8To32Group()
1409 spec.outputs.push_back(BufferSp(new Int32Buffer(uOutputs))); in addCompute8bitStoragePushConstant8To32Group()
1564 …spec.inputs.push_back(Resource(BufferSp(new Int16Buffer(inputs)), CAPABILITIES[STORAGE_BUFFER_TEST… in addCompute8bitStorage16To8Group()
1565 spec.outputs.push_back(Resource(BufferSp(new Int8Buffer(outputs)))); in addCompute8bitStorage16To8Group()
1721 …spec.inputs.push_back(Resource(BufferSp(new Int8Buffer(inputs)), CAPABILITIES[UNIFORM_AND_STORAGEB… in addCompute8bitUniform8To16Group()
[all …]
DvktSpvAsmIndexingTests.cpp230 spec.inputs.push_back(BufferSp(new Float32Buffer(inputData))); in addComputeIndexingStructTests()
231 spec.inputs.push_back(BufferSp(new Buffer<UVec4>(indexSelectorData))); in addComputeIndexingStructTests()
267 spec.outputs.push_back(BufferSp(new Float32Buffer(outputData))); in addComputeIndexingStructTests()
428 …resources.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputData)), VK_DESCRIPTOR_TYPE_STO… in addGraphicsIndexingStructTests()
429 …resources.inputs.push_back(Resource(BufferSp(new Buffer<UVec4>(indexSelectorData)), VK_DESCRIPTOR_… in addGraphicsIndexingStructTests()
487 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(outputData)), VK_DESCRIPTOR_TYPE_S… in addGraphicsIndexingStructTests()
559 …interfaces.setInputOutput(std::make_pair(IFDataType(1, NUMBERTYPE_UINT32), BufferSp(new Int32Buffe… in addGraphicsOutputComponentIndexingTests()
560 … std::make_pair(IFDataType(4, NUMBERTYPE_FLOAT32), BufferSp(new Float32Buffer(outputData)))); in addGraphicsOutputComponentIndexingTests()
687 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeIndexingNon16BaseAlignmentTests()
700 …spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAG… in addComputeIndexingNon16BaseAlignmentTests()
DvktSpvAsmInstructionTests.cpp281 spec.inputs.push_back(BufferSp(new Float32Buffer(positiveFloats))); in createLocalSizeGroup()
282 spec.outputs.push_back(BufferSp(new Float32Buffer(negativeFloats))); in createLocalSizeGroup()
371 spec.inputs.push_back(BufferSp(new Float32Buffer(positiveFloats))); in createOpNopGroup()
372 spec.outputs.push_back(BufferSp(new Float32Buffer(negativeFloats))); in createOpNopGroup()
534 spec.inputs.push_back(BufferSp(new Float32Buffer(inputFloats1))); in createOpFUnordGroup()
535 spec.inputs.push_back(BufferSp(new Float32Buffer(inputFloats2))); in createOpFUnordGroup()
536 spec.outputs.push_back(BufferSp(new Int32Buffer(expectedInts))); in createOpFUnordGroup()
716 …spec.inputs.push_back(BufferSp(new OpAtomicBuffer(numElements, cases[caseNdx].numOutputElements, c… in createOpAtomicGroup()
717 …spec.outputs.push_back(BufferSp(new OpAtomicBuffer(numElements, cases[caseNdx].numOutputElements, … in createOpAtomicGroup()
719 …spec.outputs.push_back(BufferSp(new OpAtomicBuffer(numElements, cases[caseNdx].numOutputElements, … in createOpAtomicGroup()
[all …]
DvktSpvAsmUboMatrixPaddingTests.cpp138 …spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_UNIFORM_BUF… in addComputeUboMatrixPaddingTest()
140 spec.outputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)))); in addComputeUboMatrixPaddingTest()
163 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_UNIFOR… in addGraphicsUboMatrixPaddingTest()
165 …resources.outputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORA… in addGraphicsUboMatrixPaddingTest()
DvktSpvAsmImageSamplerTests.cpp800 …spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), getVkDescriptorType((Descripto… in addComputeImageSamplerTest()
806 spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(dummyData)))); in addComputeImageSamplerTest()
816 spec.inputs.push_back(BufferSp(new Vec4Buffer(inputData))); in addComputeImageSamplerTest()
821 spec.outputs.push_back(BufferSp(new Vec4Buffer(inputData))); in addComputeImageSamplerTest()
1083 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), getVkDescriptorType((Desc… in addGraphicsImageSamplerTest()
1089 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(dummyData)), VK_DESCRIPTOR_TYPE_SAMPLE… in addGraphicsImageSamplerTest()
1098 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), getVkDescriptorType((Desc… in addGraphicsImageSamplerTest()
1102 …resources.outputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORA… in addGraphicsImageSamplerTest()
1230 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), getVkDescriptorType((Desc… in addGraphicsDepthPropertyTest()
1236 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(dummyData)), VK_DESCRIPTOR_TYPE_SAMPLE… in addGraphicsDepthPropertyTest()
[all …]
DvktSpvAsmUtils.hpp142 typedef de::SharedPtr<BufferInterface> BufferSp; typedef
149 …Resource(const BufferSp& buffer_, vk::VkDescriptorType descriptorType_ = vk::VK_DESCRIPTOR_TYPE_ST… in Resource()
155 virtual const BufferSp& getBuffer () const { return buffer; } in getBuffer()
163 BufferSp buffer;
DvktSpvAsmCompositeInsertTests.cpp197 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(refData)))); in addComputeVectorCompositeInsertTests()
225 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(refData)), VK_DESCRIPTOR_TYPE_STOR… in addGraphicsVectorCompositeInsertTests()
342 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(identityData)))); in addComputeMatrixCompositeInsertTests()
381 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(identityData)), VK_DESCRIPTOR_TYPE… in addGraphicsMatrixCompositeInsertTests()
495 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(identityData)))); in addComputeNestedStructCompositeInsertTests()
520 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(identityData)), VK_DESCRIPTOR_TYPE… in addGraphicsNestedStructCompositeInsertTests()
DvktSpvAsmLoopDepInfTests.cpp175 spec.inputs.push_back(BufferSp(new Float32Buffer(inputFloats))); in getComputeShaderSpec()
176 spec.outputs.push_back(BufferSp(new Float32Buffer(outputFloats))); in getComputeShaderSpec()
DvktSpvAsmLoopDepLenTests.cpp190 spec.inputs.push_back(BufferSp(new Float32Buffer(inputFloats))); in getComputeShaderSpec()
191 spec.outputs.push_back(BufferSp(new Float32Buffer(outputFloats))); in getComputeShaderSpec()
DvktSpvAsmGraphicsShaderTestUtil.hpp145 typedef std::pair<IFDataType, BufferSp> Interface;
181 const BufferSp& getInputBuffer (void) const in getInputBuffer()
187 const BufferSp& getOutputBuffer (void) const in getOutputBuffer()
229 void setPushConstant (const BufferSp& pc) in setPushConstant()
240 const BufferSp& getBuffer(void) const in getBuffer()
248 std::vector<BufferSp> pcs;
DvktSpvAsmConditionalBranchTests.cpp122 spec.outputs.push_back(Resource(BufferSp(new Buffer<deUint32>(outputData)))); in addComputeSameLabelsTest()
139 …resources.outputs.push_back(Resource(BufferSp(new Buffer<deUint32>(outputData)), VK_DESCRIPTOR_TYP… in addGraphicsSameLabelsTest()
DvktSpvAsmVariableInitTests.cpp155 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputeVariableInitPrivateTest()
238 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), VK_DESCRIPTOR_TY… in addGraphicsVariableInitPrivateTest()
589 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), VK_DESCRIPTOR_TY… in addGraphicsVariableInitOutputTest()
DvktSpvAsmComputeShaderCase.cpp195 …vice, VkDescriptorSetLayout descriptorSetLayout, const vkt::SpirVAssembly::BufferSp& pushConstants) in createPipelineLayout()
489 const BufferSp& input = m_shaderSpec.inputs[inputNdx].getBuffer(); in iterate()
506 const BufferSp& input = m_shaderSpec.inputs[inputNdx].getBuffer(); in iterate()
691 const BufferSp& output = m_shaderSpec.outputs[outputNdx].getBuffer(); in iterate()
761 const BufferSp& expectedOutput = m_shaderSpec.outputs[outputNdx].getBuffer();; in iterate()
DvktSpvAsmSpirvVersionTests.cpp165 spec.inputs.push_back(BufferSp(new Float32Buffer(positiveFloats))); in getComputeShaderSpec()
166 spec.outputs.push_back(BufferSp(new Float32Buffer(negativeFloats))); in getComputeShaderSpec()
DvktSpvAsmComputeShaderTestUtil.hpp190 const BufferSp& expectedOutput = expectedOutputs[i].getBuffer(); in compareWithRetvals()
342 BufferSp pushConstants;
DvktSpvAsmFloatControlsTests.cpp317 virtual BufferSp constructInputBuffer(const ValueId* twoArguments) const = 0;
318 virtual BufferSp constructOutputBuffer(ValueId result) const = 0;
337 BufferSp constructInputBuffer(const ValueId* twoArguments) const;
338 BufferSp constructOutputBuffer(ValueId result) const;
351 BufferSp TypeValues<FLOAT_TYPE>::constructInputBuffer(const ValueId* twoArguments) const in constructInputBuffer()
356 return BufferSp(new Buffer<FLOAT_TYPE>(inputData)); in constructInputBuffer()
360 BufferSp TypeValues<FLOAT_TYPE>::constructOutputBuffer(ValueId result) const in constructOutputBuffer()
369 return BufferSp(new Buffer<FLOAT_TYPE>(outputData)); in constructOutputBuffer()
2569 BufferSp inBufferSp = inTypeValues->constructInputBuffer(testCase.input); in fillShaderSpec()
2570 BufferSp outBufferSp = outTypeValues->constructOutputBuffer(testCase.expectedOutput); in fillShaderSpec()
[all …]
DvktSpvAsmVaryingNameTests.cpp211 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), VK_DESCRIPTOR_TY… in addGraphicsVaryingNameTest()
DvktSpvAsmTypeTests.cpp2336 resource.push_back(Resource(BufferSp(new Int8Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2387 resource.push_back(Resource(BufferSp(new Int16Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2438 resource.push_back(Resource(BufferSp(new Int32Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2489 resource.push_back(Resource(BufferSp(new Int64Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2539 resource.push_back(Resource(BufferSp(new Uint8Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2589 resource.push_back(Resource(BufferSp(new Uint16Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2639 resource.push_back(Resource(BufferSp(new Uint32Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2689 resource.push_back(Resource(BufferSp(new Uint64Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
DvktSpvAsmGraphicsShaderTestUtil.cpp4060 const BufferSp& expected = instance.resources.outputs[outputNdx].getBuffer(); in runAndVerifyDefaultPipeline()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp85 typedef de::SharedPtr<Buffer> BufferSp; typedef
1184 vector<BufferSp> buffers (m_inValues.size()); in iterate()
1201 buffers[bufferNdx] = BufferSp(new Buffer(m_context, bufferUsage, sizeof(deUint32))); in iterate()
DvktAtomicOperationTests.cpp76 typedef de::SharedPtr<Buffer> BufferSp; typedef