/third_party/vk-gl-cts/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, deBool seamless = true); 144 Texture1D (deUint32 name = 0); 170 Texture2D (deUint32 name = 0, bool es2 = false); 196 TextureCube (deUint32 name = 0, deBool seamless = true); 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 …]
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/ |
D | glcSubgroupsBuiltinVarTests.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() 57 deUint32 width, deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID() 59 const deUint32* data = in checkVertexPipelineStagesSubgroupInvocationID() 60 reinterpret_cast<const deUint32*>(datas[0]); in checkVertexPipelineStagesSubgroupInvocationID() 61 vector<deUint32> subgroupInvocationHits(subgroupSize, 0); in checkVertexPipelineStagesSubgroupInvocationID() 63 for (deUint32 x = 0; x < width; ++x) in checkVertexPipelineStagesSubgroupInvocationID() [all …]
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsTestsUtils.hpp | 58 …sult)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupS… 59 …nst void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 height, deUint32 … 60 …Data, std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3]… 93 deUint32 binding_ = 0u, in SSBOData() 109 deUint32 binding; 113 deUint32 getStagesCount (vk::VkShaderStageFlags shaderStages); 119 deUint32 getSubgroupSize (Context& context); 121 deUint32 maxSupportedSubgroupSize (); 199 bool check (std::vector<const void*> datas, deUint32 width, deUint32 ref); 202 const deUint32 numWorkgroups[3], [all …]
|
D | vktSubgroupsBuiltinVarTests.cpp | 61 return TestTypeNames[static_cast<deUint32>(testType)]; in getTestName() 66 deUint32 width, in checkVertexPipelineStagesSubgroupSize() 67 deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupSize() 71 const deUint32* data = reinterpret_cast<const deUint32*>(datas[0]); in checkVertexPipelineStagesSubgroupSize() 73 for (deUint32 x = 0; x < width; ++x) in checkVertexPipelineStagesSubgroupSize() 75 deUint32 val = data[x * 4]; in checkVertexPipelineStagesSubgroupSize() 86 deUint32 width, in checkVertexPipelineStagesSubgroupInvocationID() 87 deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID() 91 const deUint32* data = reinterpret_cast<const deUint32*>(datas[0]); in checkVertexPipelineStagesSubgroupInvocationID() 92 vector<deUint32> subgroupInvocationHits (subgroupSize, 0); in checkVertexPipelineStagesSubgroupInvocationID() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 58 deUint32 numVertexValues, 59 deUint32 numInstanceValues, 60 deUint32 numVertices, 61 deUint32 numInstances); 71 const deUint32 m_numVertexValues; 72 const deUint32 m_numInstanceValues; 73 const deUint32 m_numVertices; 74 const deUint32 m_numInstances; 85 deUint32 numVertexValues, 86 deUint32 numInstanceValues, [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingDescriptorCopyTests.cpp | 69 deUint32 srcSet; 70 deUint32 srcBinding; 71 deUint32 srcArrayElement; 72 deUint32 dstSet; 73 deUint32 dstBinding; 74 deUint32 dstArrayElement; 75 deUint32 descriptorCount; 80 vector<deUint32> data; // The actual data. One element per dynamic offset. 97 …DescriptorType descriptorType, deUint32 arraySize = 1u, deUint32 writeStart = 0u, deUint32 element… 100 deUint32 getArraySize (void) const { return m_arraySize; } in getArraySize() [all …]
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.hpp | 77 float getRepresentableDiffUnorm (const VkFormat format, const deUint32 componentNdx); 78 float getRepresentableDiffSnorm (const VkFormat format, const deUint32 componentNdx); 79 deUint32 getFormatComponentWidth (const VkFormat format, const deUint32 componentNdx); 80 deUint32 getBlockSizeInBytes (const VkFormat compressedFormat); 81 deUint32 getBlockWidth (const VkFormat compressedFormat); 82 deUint32 getBlockHeight (const VkFormat compressedFormat); 87 const deUint32 BUFFER_IMAGE_COPY_OFFSET_GRANULARITY = 4u; 130 inline bool hasChannelNdx (deUint32 ndx) const in hasChannelNdx() 141 deUint32 getMipmapCount (VkFormat format, 146 deUint32 getPlaneSizeInBytes (const PlanarFormatDescription& formatInfo, [all …]
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
D | deInt32.h | 40 void deRcp32 (deUint32 a, deUint32* rcp, int* exp); 86 DE_INLINE deUint32 deMinu32 (deUint32 a, deUint32 b) in deMinu32() 108 DE_INLINE deUint32 deMaxu32 (deUint32 a, deUint32 b) in deMaxu32() 175 return (deInt32)((deUint32)a & 0x80000000u); in deSignBit32() 190 return (int)(((deUint32)val >> r) | ((deUint32)val << (32-r))); in deRor32() 205 return (int)(((deUint32)val << r) | ((deUint32)val >> (32-r))); in deRol32() 255 DE_INLINE deUint32 deSmallestGreaterOrEquallPowerOfTwoU32 (deUint32 a) in deSmallestGreaterOrEquallPowerOfTwoU32() 391 DE_INLINE int deClz32 (deUint32 a) in deClz32() 422 DE_INLINE int deCtz32 (deUint32 a) in deCtz32() 454 return 31 - deClz32((deUint32)a); in deLog2Floor32() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeZeroInitializeWorkgroupMemoryTests.cpp | 59 tcu::TestStatus runCompute(Context& context, deUint32 bufferSize, in runCompute() 60 deUint32 numWGX, deUint32 numWGY, deUint32 numWGZ, in runCompute() 61 const std::vector<deUint32> specValues = {}, in runCompute() 62 deUint32 increment = 0) 78 deUint32* ptr = (deUint32*)buffer->getAllocation().getHostPtr(); 93 for (deUint32 i = 0; i < specValues.size(); ++i) 95 entries[i] = {i, (deUint32)(sizeof(deUint32) * i), sizeof(deUint32)}; 100 (deUint32)specValues.size(), 102 specValues.size() * sizeof(deUint32), 168 for (deUint32 i = 0; i < (deUint32)size / sizeof(deUint32); ++i) [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.hpp | 66 typedef deUint32 FeatureFlags; 70 NO_MATCH_FOUND = ~((deUint32)0), //!< no matching index 119 const deUint32 mipLevel = 0); 126 deUint32 getNumLayers (const ImageType imageType, 130 deUint32 getNumPixels (const ImageType imageType, 134 deUint32 getDimensions (const ImageType imageType); 137 deUint32 getLayerDimensions (const ImageType imageType); 145 deUint32 getImageMipLevelSizeInBytes (const vk::VkExtent3D& baseExtents, 146 const deUint32 layersCount, 148 const deUint32 mipmapLevel, [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderPassUtil.hpp | 71 deUint32 attachment, 80 deUint32 attachment, 91 deUint32 viewMask, 92 deUint32 inputAttachmentCount, 94 deUint32 colorAttachmentCount, 98 deUint32 preserveAttachmentCount, 99 const deUint32* pPreserveAttachments); 108 deUint32 viewMask, 109 deUint32 inputAttachmentCount, 111 deUint32 colorAttachmentCount, [all …]
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/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 …]
|