/external/deqp/modules/gles31/functional/ |
D | es31fComputeShaderBuiltinVarTests.cpp | 51 using tcu::UVec3; 73 typedef std::map<tcu::UVec3, ShaderProgramSp, LexicalCompareVec<deUint32, 3> > LocalSizeProgramMap; 85 …virtual UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const U… 90 UVec3 localSize; 91 UVec3 numWorkGroups; 94 …SubCase (const UVec3& localSize_, const UVec3& numWorkGroups_) : localSize(localSize_), numWorkGro… in SubCase() 103 deUint32 getProgram (const UVec3& localSize); 136 static string genBuiltinVarSource (const string& varName, DataType varType, const UVec3& localSize) in genBuiltinVarSource() 157 deUint32 ComputeBuiltinVarCase::getProgram (const UVec3& localSize) in getProgram() 177 static inline UVec3 readResultVec (const deUint32* ptr, int numComps) in readResultVec() [all …]
|
D | es31fIndirectComputeDispatchTests.cpp | 46 using tcu::UVec3; 87 glu::ProgramSources genVerifySources (const UVec3& workGroupSize) in genVerifySources() 124 UVec3 numWorkGroups; 127 …DispatchCommand (deIntptr offset_, const UVec3& numWorkGroups_) : offset(offset_), numWorkGroups(n… in DispatchCommand() 132 UVec3 m_workGroupSize; 284 deUint32 computeInvocationCount (const UVec3& workGroupSize, const UVec3& numWorkGroups) in computeInvocationCount() 395 …er genBuffer, deUintptr bufferSize, deUintptr offset, const UVec3& workGroupSize, const UVec3& num… in SingleDispatchCase() 411 m_workGroupSize = UVec3(3,1,2); in MultiDispatchCase() 413 m_commands.push_back(DispatchCommand(0, UVec3(1,1,1))); in MultiDispatchCase() 414 m_commands.push_back(DispatchCommand(INDIRECT_COMMAND_SIZE, UVec3(2,1,1))); in MultiDispatchCase() [all …]
|
D | es31fShaderSharedVarTests.cpp | 53 using tcu::UVec3; 74 …ntext, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize); 87 const tcu::UVec3 m_workGroupSize; 92 … getBasicCaseDescription (DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) in getBasicCaseDescription() 101 …ontext, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) in SharedBasicVarCase() 372 const tcu::UVec3 workGroupSize (2,1,3); in init() 379 const tcu::UVec3 workGroupSize (2,1,3); in init() 393 …w SharedBasicVarCase(m_context, "float_1_1_1", TYPE_FLOAT, PRECISION_HIGHP, tcu::UVec3(1,1,1))); in init() 394 …SharedBasicVarCase(m_context, "float_64_1_1", TYPE_FLOAT, PRECISION_HIGHP, tcu::UVec3(64,1,1))); in init() 395 …SharedBasicVarCase(m_context, "float_1_64_1", TYPE_FLOAT, PRECISION_HIGHP, tcu::UVec3(1,64,1))); in init() [all …]
|
D | es31fShaderAtomicOpTests.cpp | 52 using tcu::UVec3; 68 …me, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize); 84 const UVec3 m_workGroupSize; 85 const UVec3 m_numWorkGroups; 96 …ame, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize) in ShaderAtomicOpCase() 259 : ShaderAtomicOpCase(context, name, "atomicAdd", operandType, type, precision, UVec3(3,2,1)) in ShaderAtomicAddCase() 413 : ShaderAtomicOpCase(context, name, "atomicMin", operandType, type, precision, UVec3(3,2,1)) in ShaderAtomicMinCase() 494 : ShaderAtomicOpCase(context, name, "atomicMax", operandType, type, precision, UVec3(3,2,1)) in ShaderAtomicMaxCase() 576 : ShaderAtomicOpCase(context, name, "atomicAnd", operandType, type, precision, UVec3(3,2,1)) in ShaderAtomicAndCase() 652 : ShaderAtomicOpCase(context, name, "atomicOr", operandType, type, precision, UVec3(3,2,1)) in ShaderAtomicOrCase() [all …]
|
D | es31fShaderIntegerFunctionTests.cpp | 50 using tcu::UVec3;
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeShaderBuiltinVarTests.cpp | 66 using tcu::UVec3; 74 static inline bool compareNumComponents (const UVec3& a, const UVec3& b,const int numComps) in compareNumComponents() 80 static inline UVec3 readResultVec (const deUint32* ptr, const int numComps) in readResultVec() 82 UVec3 res; in readResultVec() 90 const UVec3& v; 93 LogComps (const UVec3 &v_, int numComps_) : v(v_), numComps(numComps_) {} in LogComps() 108 const UVec3& localSize (void) const { return m_localSize; } in localSize() 109 const UVec3& numWorkGroups (void) const { return m_numWorkGroups; } in numWorkGroups() 112 SubCase (const UVec3& localSize_, const UVec3& numWorkGroups_) in SubCase() 117 UVec3 m_localSize; [all …]
|
D | vktComputeIndirectComputeDispatchTests.cpp | 88 const tcu::UVec3& numWorkGroups) in DispatchCommand() 93 tcu::UVec3 m_numWorkGroups; 103 const tcu::UVec3 workGroupSize, in DispatchCaseDesc() 114 const tcu::UVec3 m_workGroupSize; 124 const tcu::UVec3& workGroupSize, 149 const tcu::UVec3 m_workGroupSize; 162 const tcu::UVec3& workGroupSize, in IndirectDispatchInstanceBufferUpload() 379 const tcu::UVec3 m_workGroupSize; 441 const tcu::UVec3& workGroupSize, in IndirectDispatchInstanceBufferGenerate() 625 …_invocation", "Single invocation only from offset 0", INDIRECT_COMMAND_OFFSET, tcu::UVec3(1, 1, 1), in createIndirectComputeDispatchTests() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesImageSparseBinding.cpp | 62 const tcu::UVec3& imageSize, 69 const tcu::UVec3 m_imageSize; 77 const tcu::UVec3& imageSize, in ImageSparseBindingCase() 91 const tcu::UVec3& imageSize, 98 const tcu::UVec3 m_imageSize; 104 const tcu::UVec3& imageSize, in ImageSparseBindingInstance() 408 tcu::UVec3 imageSizes[sizeCountPerImageType]; in createImageSparseBindingTests() 413 …{ IMAGE_TYPE_1D, { tcu::UVec3(512u, 1u, 1u ), tcu::UVec3(1024u, 1u, 1u), tcu::UVec3(11u, 1u, … in createImageSparseBindingTests() 414 …{ IMAGE_TYPE_1D_ARRAY, { tcu::UVec3(512u, 1u, 64u), tcu::UVec3(1024u, 1u, 8u), tcu::UVec3(11u… in createImageSparseBindingTests() 415 …{ IMAGE_TYPE_2D, { tcu::UVec3(512u, 256u, 1u ), tcu::UVec3(1024u, 128u, 1u), tcu::UVec3(11u, 137u… in createImageSparseBindingTests() [all …]
|
D | vktSparseResourcesImageSparseResidency.cpp | 113 tcu::UVec3 alignedDivide (const VkExtent3D& extent, const VkExtent3D& divisor) in alignedDivide() 115 tcu::UVec3 result; in alignedDivide() 124 tcu::UVec3 computeWorkGroupSize (const tcu::UVec3& gridSize) in computeWorkGroupSize() 127 const tcu::UVec3 maxComputeWorkGroupSize = tcu::UVec3(128u, 128u, 64u); in computeWorkGroupSize() 133 return tcu::UVec3(xWorkGroupSize, yWorkGroupSize, zWorkGroupSize); in computeWorkGroupSize() 143 const tcu::UVec3& imageSize, 152 const tcu::UVec3 m_imageSize; 161 const tcu::UVec3& imageSize, in ImageSparseResidencyCase() 180 const tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize); in initPrograms() 181 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize); in initPrograms() [all …]
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 55 tcu::UVec3 alignedDivide (const VkExtent3D& extent, const VkExtent3D& divisor) in alignedDivide() 57 tcu::UVec3 result; in alignedDivide() 73 const tcu::UVec3& imageSize, 80 const tcu::UVec3 m_imageSize; 88 const tcu::UVec3& imageSize, in MipmapSparseResidencyCase() 102 const tcu::UVec3& imageSize, 110 const tcu::UVec3 m_imageSize; 116 const tcu::UVec3& imageSize, in MipmapSparseResidencyInstance() 304 const tcu::UVec3 sparseBlocks = alignedDivide(mipExtent, imageGranularity); in iterate() 558 tcu::UVec3 imageSizes[sizeCountPerImageType]; in createMipmapSparseResidencyTests() [all …]
|
D | vktSparseResourcesTestsUtil.cpp | 60 tcu::UVec3 getShaderGridSize(const ImageType imageType, const tcu::UVec3& imageSize, const deUint32… in getShaderGridSize() 69 return tcu::UVec3(mipLevelX, 1u, 1u); in getShaderGridSize() 72 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize() 75 return tcu::UVec3(mipLevelX, imageSize.z(), 1u); in getShaderGridSize() 78 return tcu::UVec3(mipLevelX, mipLevelY, 1u); in getShaderGridSize() 81 return tcu::UVec3(mipLevelX, mipLevelY, imageSize.z()); in getShaderGridSize() 84 return tcu::UVec3(mipLevelX, mipLevelY, mipLevelZ); in getShaderGridSize() 87 return tcu::UVec3(mipLevelX, mipLevelY, 6u); in getShaderGridSize() 90 return tcu::UVec3(mipLevelX, mipLevelY, 6u * imageSize.z()); in getShaderGridSize() 94 return tcu::UVec3(1u, 1u, 1u); in getShaderGridSize() [all …]
|
D | vktSparseResourcesTestsUtil.hpp | 103 tcu::UVec3 getShaderGridSize (const ImageType imageType, 104 const tcu::UVec3& imageSize, 106 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size of a … 107 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of ar… 108 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of te… 112 const tcu::UVec3& imageSize, 206 tcu::UVec3 mipLevelExtents (const tcu::UVec3& baseExtents,
|
D | vktSparseResourcesBufferMemoryAliasing.cpp | 61 tcu::UVec3 computeWorkGroupSize (const deUint32 numInvocations) in computeWorkGroupSize() 64 const tcu::UVec3 maxComputeWorkGroupSize = tcu::UVec3(128u, 128u, 64u); in computeWorkGroupSize() 76 return tcu::UVec3(xWorkGroupSize, yWorkGroupSize, zWorkGroupSize); in computeWorkGroupSize() 112 const tcu::UVec3 workGroupSize = computeWorkGroupSize(numInvocations); in initPrograms() 334 const tcu::UVec3 workGroupSize = computeWorkGroupSize(numInvocationsLeft); in iterate() 335 const tcu::UVec3 maxComputeWorkGroupCount = tcu::UVec3(65535u, 65535u, 65535u); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageQualifiersTests.cpp | 60 static const tcu::UVec3 g_localWorkGroupSizeBase = tcu::UVec3(8, 8, 2); 68 const tcu::UVec3 getLocalWorkGroupSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLocalWorkGroupSize() 70 const tcu::UVec3 computeGridSize = getShaderGridSize(imageType, imageSize); in getLocalWorkGroupSize() 72 …const tcu::UVec3 localWorkGroupSize = tcu::UVec3(de::min(g_localWorkGroupSizeBase.x(), computeGrid… in getLocalWorkGroupSize() 78 const tcu::UVec3 getNumWorkGroups (const ImageType imageType, const tcu::UVec3& imageSize) in getNumWorkGroups() 80 const tcu::UVec3 computeGridSize = getShaderGridSize(imageType, imageSize); in getNumWorkGroups() 81 const tcu::UVec3 localWorkGroupSize = getLocalWorkGroupSize(imageType, imageSize); in getNumWorkGroups() 115 const tcu::UVec3& imageSize, in comparePixelBuffers() 207 const tcu::UVec3& imageSize, 220 const tcu::UVec3 m_imageSize; [all …]
|
D | vktImageTestsUtil.cpp | 58 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize) in getShaderGridSize() 64 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize() 67 return tcu::UVec3(imageSize.x(), imageSize.z(), 1u); in getShaderGridSize() 70 return tcu::UVec3(imageSize.x(), imageSize.y(), 1u); in getShaderGridSize() 74 return tcu::UVec3(imageSize.x(), imageSize.y(), imageSize.z()); in getShaderGridSize() 77 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u); in getShaderGridSize() 80 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u * imageSize.z()); in getShaderGridSize() 84 return tcu::UVec3(1u, 1u, 1u); in getShaderGridSize() 88 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() 95 return tcu::UVec3(imageSize.x(), 1u, 1u); in getLayerSize() [all …]
|
D | vktImageAtomicOperationTests.cpp | 56 using tcu::UVec3; 248 const tcu::UVec3& imageSize, 258 const tcu::UVec3 m_imageSize; 268 const tcu::UVec3& imageSize, in BinaryAtomicEndResultCase() 287 const UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize); in initPrograms() 321 const tcu::UVec3& imageSize, 331 const tcu::UVec3 m_imageSize; 341 const tcu::UVec3& imageSize, in BinaryAtomicIntermValuesCase() 361 const UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize); in initPrograms() 396 const tcu::UVec3& imageSize, [all …]
|
D | vktImageTestsUtil.hpp | 101 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size us… 102 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size of a s… 103 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of arr… 104 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of tex…
|
/external/deqp/framework/common/ |
D | tcuVectorType.hpp | 50 typedef Vector<deUint32, 3> UVec3; typedef
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkTypeUtil.hpp | 92 inline VkExtent3D makeExtent3D(const tcu::UVec3& vec) in makeExtent3D()
|
/external/deqp/modules/gles31/scripts/ |
D | genutil.py | 221 def toUVec3(self): return UVec3(self.x, self.x, self.x) 390 def toUVec3(self): return UVec3(self.x, self.y, 0.0) 501 def toUVec3(self): return UVec3(self.x, self.y, self.z) 507 def toUint(self): return UVec3(int(self.x), int(self.y), int(self.z)) 588 class UVec3(Vec3): class 620 def toUVec3(self): return UVec3(self.x, self.y, self.z)
|
D | gen-implicit-conversions.py | 29 from genutil import Scalar, Vec2, Vec3, Vec4, Uint, UVec2, UVec3, UVec4, CaseGroup 386 "uvec3": UVec3(1, 2, 3),
|
/external/deqp/modules/gles3/scripts/ |
D | genutil.py | 221 def toUVec3(self): return UVec3(self.x, self.x, self.x) 388 def toUVec3(self): return UVec3(self.x, self.y, 0.0) 499 def toUVec3(self): return UVec3(self.x, self.y, self.z) 505 def toUint(self): return UVec3(int(self.x), int(self.y), int(self.z)) 586 class UVec3(Vec3): class 618 def toUVec3(self): return UVec3(self.x, self.y, self.z)
|
/external/deqp/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingShaderAccessTests.cpp | 1723 const tcu::UVec3& numWorkGroups, 1740 const tcu::UVec3 m_numWorkGroups; 1755 const tcu::UVec3& numWorkGroups, in ComputeCommand() 2161 tcu::UVec3(4, 1, 1), in testResourceAccess() 3795 tcu::UVec3(4, 1, 1), in testResourceAccess() 4927 tcu::UVec3(4, 1, 1), in testResourceAccess() 6015 tcu::UVec3(4, 1, 1), in testResourceAccess()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCommandBuffersTests.cpp | 3803 const tcu::UVec3 numWorkGroups = tcu::UVec3(4, 1u, 1); in orderBindPipelineTest()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 52 using tcu::UVec3;
|