/external/deqp/framework/opengl/simplereference/ |
D | sglrContextWrapper.hpp | 48 void glActiveTexture (deUint32 texture); 49 void glAttachShader (deUint32 program, deUint32 shader); 50 void glBindAttribLocation (deUint32 program, deUint32 index, const char* name); 51 void glBindBuffer (deUint32 target, deUint32 buffer); 52 void glBindFramebuffer (deUint32 target, deUint32 framebuffer); 53 void glBindRenderbuffer (deUint32 target, deUint32 renderbuffer); 54 void glBindTexture (deUint32 target, deUint32 texture); 56 void glBlendEquation (deUint32 mode); 57 void glBlendEquationSeparate (deUint32 modeRGB, deUint32 modeAlpha); 58 void glBlendFunc (deUint32 sfactor, deUint32 dfactor); [all …]
|
D | sglrGLContext.hpp | 53 …GLContext (const glu::RenderContext& context, tcu::TestLog& log, deUint32 logFlags, const tcu::… 56 void enableLogging (deUint32 logFlags); 62 virtual void activeTexture (deUint32 texture); 64 virtual void bindTexture (deUint32 target, deUint32 texture); 65 virtual void genTextures (int numTextures, deUint32* textures); 66 virtual void deleteTextures (int numTextures, const deUint32* textures); 68 virtual void bindFramebuffer (deUint32 target, deUint32 framebuffer); 69 virtual void genFramebuffers (int numFramebuffers, deUint32* framebuffers); 70 virtual void deleteFramebuffers (int numFramebuffers, const deUint32* framebuffers); 72 virtual void bindRenderbuffer (deUint32 target, deUint32 renderbuffer); [all …]
|
D | sglrContext.hpp | 49 virtual void activeTexture (deUint32 texture) = DE_NULL; 52 virtual void bindTexture (deUint32 target, deUint32 texture) = DE_NULL; 53 virtual void genTextures (int numTextures, deUint32* textures) = DE_NULL; 54 virtual void deleteTextures (int numTextures, const deUint32* textures) = DE_NULL; 56 virtual void bindFramebuffer (deUint32 target, deUint32 framebuffer) = DE_NULL; 57 virtual void genFramebuffers (int numFramebuffers, deUint32* framebuffers) = DE_NULL; 58 virtual void deleteFramebuffers (int numFramebuffers, const deUint32* framebuffers) = DE_NULL; 60 virtual void bindRenderbuffer (deUint32 target, deUint32 renderbuffer) = DE_NULL; 61 virtual void genRenderbuffers (int numRenderbuffers, deUint32* renderbuffers) = DE_NULL; 62 …virtual void deleteRenderbuffers (int numRenderbuffers, const deUint32* renderbuffers) = DE_NUL… [all …]
|
D | sglrContextWrapper.cpp | 64 void ContextWrapper::glActiveTexture (deUint32 texture) in glActiveTexture() 69 void ContextWrapper::glBindTexture (deUint32 target, deUint32 texture) in glBindTexture() 74 void ContextWrapper::glGenTextures (int numTextures, deUint32* textures) in glGenTextures() 79 void ContextWrapper::glDeleteTextures (int numTextures, const deUint32* textures) in glDeleteTextures() 84 void ContextWrapper::glBindFramebuffer (deUint32 target, deUint32 framebuffer) in glBindFramebuffer() 89 void ContextWrapper::glGenFramebuffers (int numFramebuffers, deUint32* framebuffers) in glGenFramebuffers() 94 void ContextWrapper::glDeleteFramebuffers (int numFramebuffers, const deUint32* framebuffers) in glDeleteFramebuffers() 99 void ContextWrapper::glBindRenderbuffer (deUint32 target, deUint32 renderbuffer) in glBindRenderbuffer() 104 void ContextWrapper::glGenRenderbuffers (int numRenderbuffers, deUint32* renderbuffers) in glGenRenderbuffers() 109 void ContextWrapper::glDeleteRenderbuffers (int numRenderbuffers, const deUint32* renderbuffers) in glDeleteRenderbuffers() [all …]
|
D | sglrReferenceContext.hpp | 59 deUint32 getName (void) const { return m_name; } in getName() 66 NamedObject (deUint32 name) : m_name(name), m_refCount(1) {} in NamedObject() 69 deUint32 m_name; 88 Texture (deUint32 name, Type type); 144 Texture1D (deUint32 name = 0); 170 Texture2D (deUint32 name = 0); 196 TextureCube (deUint32 name = 0); 221 Texture2DArray (deUint32 name = 0); 247 Texture3D (deUint32 name = 0); 273 TextureCubeArray (deUint32 name = 0); [all …]
|
D | sglrGLContext.cpp | 42 GLContext::GLContext (const glu::RenderContext& context, tcu::TestLog& log, deUint32 logFlags, cons… in GLContext() 70 for (std::set<deUint32>::const_iterator i = m_allocatedFbos.begin(); in ~GLContext() 73 deUint32 fbo = *i; in ~GLContext() 77 for (std::set<deUint32>::const_iterator i = m_allocatedRbos.begin(); in ~GLContext() 80 deUint32 rbo = *i; in ~GLContext() 84 for (std::set<deUint32>::const_iterator i = m_allocatedTextures.begin(); in ~GLContext() 87 deUint32 tex = *i; in ~GLContext() 91 for (std::set<deUint32>::const_iterator i = m_allocatedBuffers.begin(); in ~GLContext() 94 deUint32 buf = *i; in ~GLContext() 98 for (std::set<deUint32>::const_iterator i = m_allocatedVaos.begin(); in ~GLContext() [all …]
|
/external/deqp/framework/opengl/ |
D | gluProgramInterfaceQuery.hpp | 43 deUint32 index; 44 deUint32 bufferBinding; //!< GL_BUFFER_BINDING 45 deUint32 dataSize; //!< GL_BUFFER_DATA_SIZE 60 deUint32 index; 61 deUint32 blockIndex; //!< GL_BLOCK_INDEX 62 deUint32 atomicCounterBufferIndex; //!< GL_ATOMIC_COUNTER_BUFFER_INDEX 63 deUint32 type; //!< GL_TYPE 64 deUint32 arraySize; //!< GL_ARRAY_SIZE 65 deUint32 offset; //!< GL_OFFSET 68 deUint32 topLevelArraySize; //!< GL_TOP_LEVEL_ARRAY_SIZE - set only for GL_BUFFER_VARIABLEs [all …]
|
D | gluTextureUtil.hpp | 44 deUint32 format; //!< Pixel format. 45 deUint32 dataType; //!< Data type. 53 TransferFormat (deUint32 format_, deUint32 dataType_) in TransferFormat() 60 tcu::TextureFormat mapGLTransferFormat (deUint32 format, deUint32 dataType); 61 tcu::TextureFormat mapGLInternalFormat (deUint32 internalFormat); 62 tcu::CompressedTexFormat mapGLCompressedTexFormat (deUint32 format); 63 bool isGLInternalColorFormatFilterable (deUint32 internalFormat); 64 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 minFilter, deUint32 magFilter); 65 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 ma… 66 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 wrapT, deUint32 wrapR, deUint32 minFil… [all …]
|
D | gluTexture.hpp | 46 Texture1D (const RenderContext& context, deUint32 format, deUint32 dataType, int width); 47 Texture1D (const RenderContext& context, deUint32 internalFormat, int width); 52 deUint32 getGLTexture (void) const { return m_glTexture; } in getGLTexture() 61 deUint32 m_format; //!< Internal format. 63 deUint32 m_glTexture; 73 …Texture2D (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int hei… 74 Texture2D (const RenderContext& context, deUint32 internalFormat, int width, int height); 81 deUint32 getGLTexture (void) const { return m_glTexture; } in getGLTexture() 91 deUint32 m_format; //!< Internal format. 94 deUint32 m_glTexture; [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsBuiltinVarTests.cpp | 41 deUint32 width, deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupSize() 43 const deUint32* data = in checkVertexPipelineStagesSubgroupSize() 44 reinterpret_cast<const deUint32*>(datas[0]); in checkVertexPipelineStagesSubgroupSize() 45 for (deUint32 x = 0; x < width; ++x) in checkVertexPipelineStagesSubgroupSize() 47 deUint32 val = data[x * 4]; in checkVertexPipelineStagesSubgroupSize() 59 deUint32 width, deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID() 61 const deUint32* data = in checkVertexPipelineStagesSubgroupInvocationID() 62 reinterpret_cast<const deUint32*>(datas[0]); in checkVertexPipelineStagesSubgroupInvocationID() 63 vector<deUint32> subgroupInvocationHits(subgroupSize, 0); in checkVertexPipelineStagesSubgroupInvocationID() 65 for (deUint32 x = 0; x < width; ++x) in checkVertexPipelineStagesSubgroupInvocationID() [all …]
|
D | vktSubgroupsTestsUtils.hpp | 79 deUint32 getSubgroupSize(Context& context); 109 SSBOData* extraData, deUint32 extraDataCount, 110 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize)); 113 SSBOData* extraData, deUint32 extraDataCount, 114 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize)); 117 SSBOData* extraData, deUint32 extraDataCount, 118 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize)); 121 SSBOData* extraData, deUint32 extraDataCount, 122 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize)); 125 SSBOData* extraData, deUint32 extraDataCount, [all …]
|
D | vktSubgroupsBasicTests.cpp | 38 static const deUint32 ELECTED_VALUE = 42u; 39 static const deUint32 UNELECTED_VALUE = 13u; 43 deUint32 width, deUint32 height, deUint32) in checkFragmentSubgroupElect() argument 45 const deUint32* const resultData = in checkFragmentSubgroupElect() 46 reinterpret_cast<const deUint32*>(datas[0]); in checkFragmentSubgroupElect() 47 deUint32 poisonValuesFound = 0; in checkFragmentSubgroupElect() 49 for (deUint32 x = 0; x < width; ++x) in checkFragmentSubgroupElect() 51 for (deUint32 y = 0; y < height; ++y) in checkFragmentSubgroupElect() 53 deUint32 val = resultData[y * width + x]; in checkFragmentSubgroupElect() 70 const deUint32 numSubgroupsUsed = in checkFragmentSubgroupElect() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkStructTypes.inl | 9 deUint32 applicationVersion; 11 deUint32 engineVersion; 12 deUint32 apiVersion; 21 deUint32 enabledLayerCount; 23 deUint32 enabledExtensionCount; 105 deUint32 width; 106 deUint32 height; 107 deUint32 depth; 113 deUint32 maxMipLevels; 114 deUint32 maxArrayLayers; [all …]
|
D | vkBuilderUtil.hpp | 40 deUint32 descriptorCount, 45 deUint32 descriptorCount, 47 deUint32 dstBinding, 61 deUint32 dstBinding) in addSingleIndexedBinding() 66 deUint32 descriptorCount, in addArrayBinding() 80 deUint32 descriptorCount, in addArraySamplerBinding() 95 deUint32 bindingIndex; 96 deUint32 samplerBaseIndex; 108 DescriptorPoolBuilder& addType (VkDescriptorType type, deUint32 numDescriptors = 1u); 109 …t DeviceInterface& vk, VkDevice device, VkDescriptorPoolCreateFlags flags, deUint32 maxSets) const; [all …]
|
/external/deqp/framework/common/ |
D | tcuBilinearImageCompare.cpp | 44 static inline deUint8 getChannel (deUint32 color) in getChannel() 50 inline deUint32 readRGBA8Raw (const ConstPixelBufferAccess& src, deUint32 x, deUint32 y) in readRGBA8Raw() 52 return *(const deUint32*)((const deUint8*)src.getDataPtr() + y*src.getRowPitch() + x*4); in readRGBA8Raw() 55 inline deUint32 readRGBA8Raw (const ConstPixelBufferAccess& src, deUint32 x, deUint32 y) in readRGBA8Raw() 57 …return deReverseBytes32(*(const deUint32*)((const deUint8*)src.getDataPtr() + y*src.getRowPitch() … in readRGBA8Raw() 61 inline RGBA readRGBA8 (const ConstPixelBufferAccess& src, deUint32 x, deUint32 y) in readRGBA8() 63 deUint32 raw = readRGBA8Raw(src, x, y); in readRGBA8() 64 deUint32 res = 0; in readRGBA8() 74 inline deUint8 interpolateChannel (deUint32 fx1, deUint32 fy1, deUint8 p00, deUint8 p01, deUint8 p1… in interpolateChannel() 76 const deUint32 fx0 = (1u<<NUM_SUBPIXEL_BITS) - fx1; in interpolateChannel() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 58 deUint32 numVertexValues, 59 deUint32 numInstanceValues, 60 deUint32 numVertices, 61 deUint32 numInstances); 70 const deUint32 m_numVertexValues; 71 const deUint32 m_numInstanceValues; 72 const deUint32 m_numVertices; 73 const deUint32 m_numInstances; 84 deUint32 numVertexValues, 85 deUint32 numInstanceValues, [all …]
|
/external/deqp/modules/internal/ |
D | ditTextureFormatTests.cpp | 66 static const deUint32 s_snormInt8FloatRef[] = 73 static const deUint32 s_snormInt8UintRef[] = 80 static const deUint32 s_snormInt8IntRef[] = 99 static const deUint32 s_snormInt16FloatRef[] = 106 static const deUint32 s_snormInt16UintRef[] = 113 static const deUint32 s_snormInt16IntRef[] = 140 static const deUint32 s_snormInt32FloatRef[] = 147 static const deUint32 s_snormInt32UintRef[] = 154 static const deUint32 s_snormInt32IntRef[] = 169 static const deUint32 s_unormInt8FloatRef[] = [all …]
|
/external/deqp/modules/glshared/ |
D | glsBufferTestUtil.hpp | 54 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed); 56 const char* getBufferTargetName (deUint32 target); 57 const char* getUsageHintName (deUint32 hint); 70 deUint32 genBuffer (void); 71 void deleteBuffer (deUint32 buffer); 79 std::set<deUint32> m_allocatedBuffers; 123 …virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes) = DE_NU… 124 …virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint3… 142 void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes); 143 …void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targ… [all …]
|
/external/deqp/framework/delibs/debase/ |
D | deInt32.h | 39 void deRcp32 (deUint32 a, deUint32* rcp, int* exp); 85 DE_INLINE deUint32 deMinu32 (deUint32 a, deUint32 b) in deMinu32() 96 DE_INLINE deUint32 deMaxu32 (deUint32 a, deUint32 b) in deMaxu32() 163 return (deInt32)((deUint32)a & 0x80000000u); in deSignBit32() 178 return (int)(((deUint32)val >> r) | ((deUint32)val << (32-r))); in deRor32() 193 return (int)(((deUint32)val << r) | ((deUint32)val >> (32-r))); in deRol32() 243 DE_INLINE deUint32 deSmallestGreaterOrEquallPowerOfTwoU32 (deUint32 a) in deSmallestGreaterOrEquallPowerOfTwoU32() 379 DE_INLINE int deClz32 (deUint32 a) in deClz32() 410 DE_INLINE int deCtz32 (deUint32 a) in deCtz32() 442 return 31 - deClz32((deUint32)a); in deLog2Floor32() [all …]
|
D | deFloat16.c | 30 deUint32 sign; in deFloat32To16() 32 deUint32 mantissa; in deFloat32To16() 36 deUint32 u; in deFloat32To16() 57 deUint32 t = 14u - expotent; in deFloat32To16() 58 deUint32 a = (1u << (t - 1u)) - 1u; in deFloat32To16() 59 deUint32 b = (mantissa >> t) & 1u; in deFloat32To16() 98 return (deFloat16) (sign | ((deUint32)expotent << 10u) | (mantissa >> 13u)); in deFloat32To16() 109 static deUint32 roundToNearestEven (deUint32 val, const deUint32 numBitsToDiscard) in roundToNearestEven() 111 const deUint32 lastBits = val & ((1 << numBitsToDiscard) - 1); in roundToNearestEven() 112 const deUint32 headBit = val & (1 << (numBitsToDiscard - 1)); in roundToNearestEven() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineCombinationsIterator.hpp | 41 CombinationsIterator (deUint32 numItems, deUint32 combinationSize); 48 virtual T getCombinationValue (const std::vector<deUint32>& combination) = 0; 51 static deUint32 factorial (deUint32 x); 52 deUint32 m_numItems; 54 deUint32 m_combinationIndex; 55 deUint32 m_combinationSize; 56 deUint32 m_combinationCount; 58 std::vector<deUint32> m_combination; 61 static deUint32 seriesProduct (deUint32 first, deUint32 last) in seriesProduct() 63 deUint32 result = 1; in seriesProduct() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureSwizzleTests.cpp | 49 static int swizzle (const tcu::RGBA& c, deUint32 swz) in swizzle() 65 static void swizzle (tcu::Surface& surface, deUint32 swzR, deUint32 swzG, deUint32 swzB, deUint32 s… in swizzle() 80 …description, deUint32 internalFormat, deUint32 format, deUint32 dataType, deUint32 swizzleR, deUin… 91 deUint32 m_internalFormat; 92 deUint32 m_format; 93 deUint32 m_dataType; 94 deUint32 m_swizzleR; 95 deUint32 m_swizzleG; 96 deUint32 m_swizzleB; 97 deUint32 m_swizzleA; [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderIntegerFunctionTests.cpp | 97 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 98 …case glu::TYPE_BOOL: str << (((const deUint32*)varValue.value)[compNdx] != 0 ? "true" : "false"); … in operator <<() 120 static inline deUint32 extendSignTo32 (deUint32 integer, deUint32 integerLength) in extendSignTo32() 124 return deUint32(0 - deInt32((integer & (1 << (integerLength - 1))) << 1)) | integer; in extendSignTo32() 127 static inline deUint32 getLowBitMask (int integerLength) in getLowBitMask() 134 return ((1u << ((deUint32)integerLength - 1u)) << 1u) - 1u; in getLowBitMask() 137 …haderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValu… in generateRandomInputData() 140 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); in generateRandomInputData() 141 const deUint32 integerMask = getLowBitMask(integerLength); in generateRandomInputData() 236 static vector<void*> getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data,… in getInputOutputPointers() [all …]
|
/external/deqp/framework/delibs/decpp/ |
D | deAppendList.cpp | 42 deUint32 threadNdx; 43 deUint32 elemNdx; 45 TestElem (deUint32 threadNdx_, deUint32 elemNdx_) in TestElem() 58 deUint32 numElements; 62 SharedState (deUint32 numThreads, deUint32 numElements_, deUint32 numElementsHint) in SharedState() 72 TestThread (SharedState* shared, deUint32 threadNdx) in TestThread() 79 const deUint32 syncPerElems = 10000; in run() 81 for (deUint32 elemNdx = 0; elemNdx < m_shared->numElements; elemNdx++) in run() 92 const deUint32 m_threadNdx; 97 void runAppendListTest (deUint32 numThreads, deUint32 numElements, deUint32 numElementsHint) in runAppendListTest() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 99 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 100 …case glu::TYPE_BOOL: str << (((const deUint32*)varValue.value)[compNdx] != 0 ? "true" : "false"); … in operator <<() 122 static inline deUint32 extendSignTo32 (deUint32 integer, deUint32 integerLength) in extendSignTo32() 126 return deUint32(0 - deInt32((integer & (1 << (integerLength - 1))) << 1)) | integer; in extendSignTo32() 129 static inline deUint32 getLowBitMask (int integerLength) in getLowBitMask() 136 return ((1u << ((deUint32)integerLength - 1u)) << 1u) - 1u; in getLowBitMask() 139 …haderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValu… in generateRandomInputData() 142 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); in generateRandomInputData() 143 const deUint32 integerMask = getLowBitMask(integerLength); in generateRandomInputData() 176 static vector<void*> getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data,… in getInputOutputPointers() [all …]
|