Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmVariablePointersTests.cpp397 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORA… in addPhysicalOrVariablePointersComputeGroup()
398 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputBFloats)), VK_DESCRIPTOR_TYPE_STORA… in addPhysicalOrVariablePointersComputeGroup()
399 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputSFloats)), VK_DESCRIPTOR_TYPE_STORA… in addPhysicalOrVariablePointersComputeGroup()
400 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addPhysicalOrVariablePointersComputeGroup()
421 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORA… in addPhysicalOrVariablePointersComputeGroup()
422 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputBFloats)), VK_DESCRIPTOR_TYPE_STORA… in addPhysicalOrVariablePointersComputeGroup()
423 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputSFloats)), VK_DESCRIPTOR_TYPE_STORA… in addPhysicalOrVariablePointersComputeGroup()
424 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addPhysicalOrVariablePointersComputeGroup()
453 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORA… in addPhysicalOrVariablePointersComputeGroup()
454 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputBFloats)), VK_DESCRIPTOR_TYPE_STORA… in addPhysicalOrVariablePointersComputeGroup()
[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()
356 …spec.inputs.push_back(Resource(BufferSp(new Float16Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests()
357 …spec.outputs.push_back(Resource(BufferSp(new Float16Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAG… in addComputeWorkgroupMemoryTests()
386 …spec.inputs.push_back(Resource(BufferSp(new Int64Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_BU… in addComputeWorkgroupMemoryTests()
387 …spec.outputs.push_back(Resource(BufferSp(new Int64Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests()
411 …spec.inputs.push_back(Resource(BufferSp(new Int32Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_BU… in addComputeWorkgroupMemoryTests()
412 …spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests()
[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()
764 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), vk::VK_DESCRIPTO… in addGraphicsPointerParamToParamTest()
860 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), vk::VK_DESCRIPTO… in addGraphicsPointerParamToGlobalTest()
975 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), vk::VK_DESCRIPTO… in addGraphicsPointerBufferMemoryTest()
1086 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), vk::VK_DESCRIPTO… in addGraphicsPointerBufferMemoryVariablePointersTest()
DvktSpvAsm16bitStorageTests.cpp1345 …spec.inputs.push_back(Resource(BufferSp(new Float16Buffer(float16Data)), CAPABILITIES[capIdx].dtyp… in addCompute16bitStorageUniform16To32Group()
1346 …spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(cTypes[capIdx][tyIdx].useConstantIndex … in addCompute16bitStorageUniform16To32Group()
1479 spec.inputs.push_back(Resource(BufferSp(new Int16Buffer(inputs)), CAPABILITIES[capIdx].dtype)); in addCompute16bitStorageUniform16To32Group()
1481 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(intDataConstIdx)))); in addCompute16bitStorageUniform16To32Group()
1483 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(sOutputs)))); in addCompute16bitStorageUniform16To32Group()
1485 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(uOutputs)))); in addCompute16bitStorageUniform16To32Group()
1648 BufferSp inputs; in addCompute16bitStorageUniform16To32ChainAccessGroup()
1649 BufferSp outputs; in addCompute16bitStorageUniform16To32ChainAccessGroup()
1654 …float", "f", "OpFConvert %f32 %data", "matrix", BufferSp(new Float16Buffer(inputDataFloat)), Buf… in addCompute16bitStorageUniform16To32ChainAccessGroup()
1655 …t", "i", "OpSConvert %i32 %data", "scalarArray2D", BufferSp(new Int16Buffer(inputDataInt)), Buffe… in addCompute16bitStorageUniform16To32ChainAccessGroup()
[all …]
DvktSpvAsmIndexingTests.cpp231 spec.inputs.push_back(BufferSp(new Float32Buffer(inputData))); in addComputeIndexingStructTests()
232 spec.inputs.push_back(BufferSp(new Buffer<UVec4>(indexSelectorData))); in addComputeIndexingStructTests()
268 spec.outputs.push_back(BufferSp(new Float32Buffer(outputData))); in addComputeIndexingStructTests()
429 …resources.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputData)), VK_DESCRIPTOR_TYPE_STO… in addGraphicsIndexingStructTests()
430 …resources.inputs.push_back(Resource(BufferSp(new Buffer<UVec4>(indexSelectorData)), VK_DESCRIPTOR_… in addGraphicsIndexingStructTests()
488 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(outputData)), VK_DESCRIPTOR_TYPE_S… in addGraphicsIndexingStructTests()
564 …interfaces.setInputOutput(std::make_pair(IFDataType(1, NUMBERTYPE_UINT32), BufferSp(new Int32Buffe… in addGraphicsOutputComponentIndexingTests()
565 … std::make_pair(IFDataType(4, NUMBERTYPE_FLOAT32), BufferSp(new Float32Buffer(outputData)))); in addGraphicsOutputComponentIndexingTests()
692 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeIndexingNon16BaseAlignmentTests()
705 …spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAG… in addComputeIndexingNon16BaseAlignmentTests()
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()
1722 …spec.inputs.push_back(Resource(BufferSp(new Int8Buffer(inputs)), CAPABILITIES[UNIFORM_AND_STORAGEB… in addCompute8bitUniform8To16Group()
[all …]
DvktSpvAsmUboMatrixPaddingTests.cpp139 …spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_UNIFORM_BUF… in addComputeUboMatrixPaddingTest()
141 spec.outputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)))); in addComputeUboMatrixPaddingTest()
164 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_UNIFOR… in addGraphicsUboMatrixPaddingTest()
166 …resources.outputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORA… in addGraphicsUboMatrixPaddingTest()
DvktSpvAsmEmptyStructTests.cpp203 …spec.inputs.push_back (Resource(BufferSp(new Int32Buffer(bufferType.input)), bufferType.descriptor… in addCopyingComputeGroup()
204 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(bufferType.expectedOutput)))); in addCopyingComputeGroup()
293 spec.inputs.push_back (Resource(BufferSp(new Int32Buffer(input)))); in addPointerComparisionComputeGroup()
294 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(expectedOutput)))); in addPointerComparisionComputeGroup()
DvktSpvAsmImageSamplerTests.cpp801 …spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), getVkDescriptorType((Descripto… in addComputeImageSamplerTest()
807 spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(dummyData)))); in addComputeImageSamplerTest()
817 spec.inputs.push_back(BufferSp(new Vec4Buffer(inputData))); in addComputeImageSamplerTest()
822 spec.outputs.push_back(BufferSp(new Vec4Buffer(inputData))); in addComputeImageSamplerTest()
1084 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), getVkDescriptorType((Desc… in addGraphicsImageSamplerTest()
1090 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(dummyData)), VK_DESCRIPTOR_TYPE_SAMPLE… in addGraphicsImageSamplerTest()
1099 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), getVkDescriptorType((Desc… in addGraphicsImageSamplerTest()
1103 …resources.outputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORA… in addGraphicsImageSamplerTest()
1231 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), getVkDescriptorType((Desc… in addGraphicsDepthPropertyTest()
1237 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(dummyData)), VK_DESCRIPTOR_TYPE_SAMPLE… in addGraphicsDepthPropertyTest()
[all …]
DvktSpvAsmInstructionTests.cpp918 spec.inputs.push_back(BufferSp(new Float32Buffer(positiveFloats))); in createLocalSizeGroup()
919 spec.outputs.push_back(BufferSp(new Float32Buffer(negativeFloats))); in createLocalSizeGroup()
1008 spec.inputs.push_back(BufferSp(new Float32Buffer(positiveFloats))); in createOpNopGroup()
1009 spec.outputs.push_back(BufferSp(new Float32Buffer(negativeFloats))); in createOpNopGroup()
1075 spec.inputs.push_back(BufferSp(new Float32Buffer(positiveFloats))); in createUnusedVariableComputeTests()
1076 spec.outputs.push_back(BufferSp(new Float32Buffer(negativeFloats))); in createUnusedVariableComputeTests()
1125 spec.inputs.push_back(BufferSp(new Float32Buffer(positiveFloats))); in createUnusedVariableComputeTests()
1126 spec.outputs.push_back(BufferSp(new Float32Buffer(negativeFloats))); in createUnusedVariableComputeTests()
1293 spec.inputs.push_back(BufferSp(new Float32Buffer(inputFloats1))); in createOpFUnordGroup()
1294 spec.inputs.push_back(BufferSp(new Float32Buffer(inputFloats2))); in createOpFUnordGroup()
[all …]
DvktSpvAsmUtils.hpp142 typedef de::SharedPtr<BufferInterface> BufferSp; typedef
149 …Resource(const BufferSp& buffer_, vk::VkDescriptorType descriptorType_ = vk::VK_DESCRIPTOR_TYPE_ST… in Resource()
156 virtual const BufferSp& getBuffer () const { return buffer; } in getBuffer()
167 BufferSp buffer;
DvktSpvAsmNonSemanticInfoTests.cpp63 spec.inputs.push_back(BufferSp(new Float32Buffer(inoutFloats))); in getComputeShaderSpec()
64 …spec.inputs.push_back(Resource(BufferSp(new Int32Buffer(inputInts)), vk::VK_DESCRIPTOR_TYPE_STORAG… in getComputeShaderSpec()
65 spec.outputs.push_back(BufferSp(new Float32Buffer(inoutFloats))); 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()
DvktSpvAsmLoopDepInfTests.cpp175 spec.inputs.push_back(BufferSp(new Float32Buffer(inputFloats))); in getComputeShaderSpec()
176 spec.outputs.push_back(BufferSp(new Float32Buffer(outputFloats))); in getComputeShaderSpec()
DvktSpvAsmCompositeInsertTests.cpp213 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(refData)))); in addComputeVectorCompositeInsertTests()
247 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(refData)), VK_DESCRIPTOR_TYPE_STOR… in addGraphicsVectorCompositeInsertTests()
365 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(identityData)))); in addComputeMatrixCompositeInsertTests()
405 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(identityData)), VK_DESCRIPTOR_TYPE… in addGraphicsMatrixCompositeInsertTests()
521 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(identityData)))); in addComputeNestedStructCompositeInsertTests()
549 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(identityData)), VK_DESCRIPTOR_TYPE… in addGraphicsNestedStructCompositeInsertTests()
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()
140 …resources.outputs.push_back(Resource(BufferSp(new Buffer<deUint32>(outputData)), VK_DESCRIPTOR_TYP… in addGraphicsSameLabelsTest()
DvktSpvAsmVariableInitTests.cpp132 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputeVariableInitPrivateTest()
247 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), VK_DESCRIPTOR_TY… in addGraphicsVariableInitPrivateTest()
627 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), VK_DESCRIPTOR_TY… in addGraphicsVariableInitOutputTest()
DvktSpvAsmFloatControlsExtensionlessTests.cpp104 spec.inputs.push_back(BufferSp(new Float32Buffer(inputFloats))); in getComputeShaderSpec()
105 spec.outputs.push_back(BufferSp(new Float32Buffer(outputFloats))); in getComputeShaderSpec()
DvktSpvAsmComputeShaderCase.cpp203 …vice, VkDescriptorSetLayout descriptorSetLayout, const vkt::SpirVAssembly::BufferSp& pushConstants) in createPipelineLayout()
530 const BufferSp& input = m_shaderSpec.inputs[inputNdx].getBuffer(); in iterate()
547 const BufferSp& input = m_shaderSpec.inputs[inputNdx].getBuffer(); in iterate()
747 const BufferSp& output = m_shaderSpec.outputs[outputNdx].getBuffer(); in iterate()
887 const BufferSp& expectedOutput = m_shaderSpec.outputs[outputNdx].getBuffer();; in iterate()
DvktSpvAsmSpirvVersionTests.cpp172 spec.inputs.push_back(BufferSp(new Float32Buffer(positiveFloats))); in getComputeShaderSpec()
173 spec.outputs.push_back(BufferSp(new Float32Buffer(negativeFloats))); in getComputeShaderSpec()
DvktSpvAsmComputeShaderTestUtil.hpp190 const BufferSp& expectedOutput = expectedOutputs[i].getBuffer(); in compareWithRetvals()
342 BufferSp pushConstants;
DvktSpvAsmVaryingNameTests.cpp211 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), VK_DESCRIPTOR_TY… in addGraphicsVaryingNameTest()
DvktSpvAsmFloatControlsTests.cpp368 virtual BufferSp constructInputBuffer (const ValueId* twoArguments) const = 0;
369 virtual BufferSp constructOutputBuffer (ValueId result) const = 0;
389 BufferSp constructInputBuffer (const ValueId* twoArguments) const override;
390 BufferSp constructOutputBuffer (ValueId result) const override;
404 BufferSp TypeValues<FLOAT_TYPE>::constructInputBuffer(const ValueId* twoArguments) const in constructInputBuffer()
409 return BufferSp(new Buffer<FLOAT_TYPE>(inputData)); in constructInputBuffer()
413 BufferSp TypeValues<FLOAT_TYPE>::constructOutputBuffer(ValueId result) const in constructOutputBuffer()
425 return BufferSp(new Buffer<FLOAT_TYPE>(outputData)); in constructOutputBuffer()
3601 BufferSp inBufferSp = inTypeValues->constructInputBuffer(testCase.input); in fillShaderSpec()
3602 BufferSp outBufferSp = outTypeValues->constructOutputBuffer(testCase.expectedOutput); in fillShaderSpec()
[all …]
DvktSpvAsmTypeTests.cpp1374 computeResources.outputs.push_back(Resource(BufferSp(new Int32Buffer(expectedOutput)))); in fillResources()
2559 resource.push_back(Resource(BufferSp(new Int8Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2610 resource.push_back(Resource(BufferSp(new Int16Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2661 resource.push_back(Resource(BufferSp(new Int32Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2712 resource.push_back(Resource(BufferSp(new Int64Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2762 resource.push_back(Resource(BufferSp(new Uint8Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2812 resource.push_back(Resource(BufferSp(new Uint16Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2862 resource.push_back(Resource(BufferSp(new Uint32Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()
2912 resource.push_back(Resource(BufferSp(new Uint64Buffer(data)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in pushResource()

12