/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesImageSparseResidency.cpp | 82 deUint32 getNumUsedChannels (const tcu::TextureFormat& format) 126 const deUint32 maxComputeWorkGroupInvocations = 128u; 129 const deUint32 xWorkGroupSize = std::min(std::min(gridSize.x(), maxComputeWorkGroupSize.x()), maxComputeWorkGroupInvocations); 130 const deUint32 yWorkGroupSize = std::min(std::min(gridSize.y(), maxComputeWorkGroupSize.y()), maxComputeWorkGroupInvocations / xWorkGroupSize); 131 const deUint32 zWorkGroupSize = std::min(std::min(gridSize.z(), maxComputeWorkGroupSize.z()), maxComputeWorkGroupInvocations / (xWorkGroupSize*yWorkGroupSize)); 300 imageCreateInfo.mipLevels = 1u; //deUint32 mipLevels; 301 imageCreateInfo.arrayLayers = getNumLayers(m_imageType, m_imageSize); //deUint32 arrayLayers; 308 imageCreateInfo.queueFamilyIndexCount = 0u; //deUint32 queueFamilyIndexCount; 309 imageCreateInfo.pQueueFamilyIndices = DE_NULL; //const deUint32* pQueueFamilyIndices; 316 const deUint32 queueFamilyIndices[] = { sparseQueue.queueFamilyIndex, computeQueue.queueFamilyIndex } [all...] |
/external/deqp/modules/gles3/functional/ |
es3fFboTestCase.cpp | 88 deUint32 err = glGetError(); 137 void FboTestCase::checkFramebufferStatus (deUint32 target) 139 deUint32 status = glCheckFramebufferStatus(target); 146 deUint32 err = glGetError(); 151 static bool isRequiredFormat (deUint32 format, glu::RenderContext& renderContext) 214 static std::vector<std::string> getEnablingExtensions (deUint32 format, glu::RenderContext& renderContext) 260 void FboTestCase::checkFormatSupport (deUint32 sizedFormat) 272 static int getMinimumSampleCount (deUint32 format) 335 static std::vector<int> querySampleCounts (const glw::Functions& gl, deUint32 format) 353 void FboTestCase::checkSampleCount (deUint32 sizedFormat, int numSamples [all...] |
es3fTransformFeedbackTests.cpp | 236 static bool isProgramSupported (const glw::Functions& gl, const ProgramSpec& spec, deUint32 tfMode) 422 static glu::ShaderProgram* createVertexCaptureProgram (const glu::RenderContext& context, const ProgramSpec& spec, deUint32 bufferMode, deUint32 primitiveType) 443 inputStride += 4*(int)sizeof(deUint32); 448 inputStride += 1*(int)sizeof(deUint32); 460 inputStride += glu::getDataTypeScalarSize(type.getBasicType())*(int)sizeof(deUint32); 465 static void computeTransformFeedbackOutputs (vector<Output>& transformFeedbackOutputs, const vector<Attribute>& attributes, const vector<Varying>& varyings, const vector<string>& transformFeedbackVaryings, deUint32 bufferMode) 519 accumulatedSize += output.type.getScalarSize()*(int)sizeof(deUint32); 523 static deUint32 signExtend (deUint32 value, deUint32 numBits [all...] |
es3fVertexTextureTests.cpp | 397 static inline bool isLevelNearest (deUint32 filter) 486 Vertex2DTextureCase (Context& testCtx, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT); 504 const deUint32 m_minFilter; 505 const deUint32 m_magFilter; 506 const deUint32 m_wrapS; 507 const deUint32 m_wrapT; 513 Vertex2DTextureCase::Vertex2DTextureCase (Context& testCtx, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT [all...] |
es3fShaderPackingFunctionTests.cpp | 47 inline deUint32 getUlpDiff (float a, float b) 49 const deUint32 aBits = tcu::Float32(a).bits(); 50 const deUint32 bBits = tcu::Float32(b).bits(); 161 std::vector<deUint32> outputs; 211 const deUint32 ref = (ref1 << 16) | ref0; 212 const deUint32 res = outputs[valNdx]; 262 const deUint32 maxDiff = 1; // Rounding error. 264 std::vector<deUint32> inputs; 304 const deUint32 diff0 = getUlpDiff(ref0, res0); 305 const deUint32 diff1 = getUlpDiff(ref1, res1) [all...] |
es3fShaderPrecisionTests.cpp | 231 deUint32 m_framebuffer; 232 deUint32 m_renderbuffer; 372 deUint32 prog = m_program->getProgram(); 414 const deUint32 firstPixelBits = tcu::Float32(pixels[0]).bits(); 421 const deUint32 pixelBits = tcu::Float32(pixels[(y*FRAMEBUFFER_WIDTH + x)*4]).bits(); 483 deUint32 m_framebuffer; 484 deUint32 m_renderbuffer; 580 deUint32 mask = m_bits == 32 ? 0xffffffffu : ((1u<<m_bits)-1); 584 deUint32 prog = m_program->getProgram(); 649 typedef deUint32 (*EvalFunc) (deUint32 a, deUint32 b) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fFboTestCase.cpp | 90 deUint32 err = glGetError(); 141 void FboTestCase::checkFramebufferStatus (deUint32 target) 143 deUint32 status = glCheckFramebufferStatus(target); 150 deUint32 err = glGetError(); 155 static bool isRequiredFormat (deUint32 format, glu::RenderContext& renderContext) 220 static std::vector<std::string> getEnablingExtensions (deUint32 format, glu::RenderContext& renderContext) 267 void FboTestCase::checkFormatSupport (deUint32 sizedFormat) 279 static int getMinimumSampleCount (deUint32 format) 342 static std::vector<int> querySampleCounts (const glw::Functions& gl, deUint32 format) 360 void FboTestCase::checkSampleCount (deUint32 sizedFormat, int numSamples [all...] |
es31fShaderCommonFunctionTests.cpp | 75 template<> inline deUint32 randomScalar (de::Random& rnd, deUint32 minValue, deUint32 maxValue) { return minValue + rnd.getUint32() % (maxValue - minValue + 1); } 110 inline deUint32 getUlpDiff (float a, float b) 112 const deUint32 aBits = tcu::Float32(a).bits(); 113 const deUint32 bBits = tcu::Float32(b).bits(); 117 inline deUint32 getUlpDiffIgnoreZeroSign (float a, float b) 134 inline float getEpsFromMaxUlpDiff (float value, deUint32 ulpDiff) 140 inline deUint32 getMaxUlpDiffFromBits (int numAccurateBits) 143 const deUint32 mask = (1u<<numGarbageBits)-1u [all...] |
es31fShaderPackingFunctionTests.cpp | 47 inline deUint32 getUlpDiff (float a, float b) 49 const deUint32 aBits = tcu::Float32(a).bits(); 50 const deUint32 bBits = tcu::Float32(b).bits(); 165 std::vector<deUint32> outputs; 215 const deUint32 ref = (ref1 << 16) | ref0; 216 const deUint32 res = outputs[valNdx]; 266 const deUint32 maxDiff = 1; // Rounding error. 268 std::vector<deUint32> inputs; 308 const deUint32 diff0 = getUlpDiff(ref0, res0); 309 const deUint32 diff1 = getUlpDiff(ref1, res1) [all...] |
es31fTextureSpecificationTests.cpp | 117 void renderTex (tcu::Surface& dst, deUint32 program, int width, int height); 186 void TextureSpecCase::renderTex (tcu::Surface& dst, deUint32 program, int width, int height) 245 deUint32 shaderIDgles = gles3Context.createProgram(&shader); 246 deUint32 shaderIDRef = refContext.createProgram(&shader); 287 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; 319 BasicTexImageCubeArrayCase (Context& context, const char* name, const char* desc, deUint32 internalFormat, int size, int numLayers) 328 deUint32 tex = 0; 350 deUint32 m_internalFormat; 357 BasicTexStorageCubeArrayCase (Context& context, const char* name, const char* desc, deUint32 internalFormat, int size, int numLayers, int numLevels) 366 deUint32 tex = 0 [all...] |
es31fCopyImageTests.cpp | 158 const char* targetToName (deUint32 target) 174 string formatToName (deUint32 format) 186 bool isFloatFormat (deUint32 format) 194 bool isUintFormat (deUint32 format) 202 bool isIntFormat (deUint32 format) 210 bool isFixedPointFormat (deUint32 format) 222 bool isTextureTarget (deUint32 target) 227 int getTargetTexDims (deUint32 target) 254 ImageInfo (deUint32 format, deUint32 target, const IVec3& size) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderPackingFunctionTests.cpp | 49 inline deUint32 getUlpDiff (float a, float b) 51 const deUint32 aBits = tcu::Float32(a).bits(); 52 const deUint32 bBits = tcu::Float32(b).bits(); 179 std::vector<deUint32> outputs; 228 const deUint32 ref = (ref1 << 16) | ref0; 229 const deUint32 res = outputs[valNdx]; 299 const deUint32 maxDiff = 1; // Rounding error. 301 std::vector<deUint32> inputs; 340 const deUint32 diff0 = getUlpDiff(ref0, res0); 341 const deUint32 diff1 = getUlpDiff(ref1, res1) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineStencilTests.cpp | 73 virtual VkStencilOpState getIndexedValue (deUint32 index); 80 const static deUint32 m_stencilOpsLength; 81 const static deUint32 m_stencilOpsLength2; 82 const static deUint32 m_stencilOpsLength3; 83 const static deUint32 m_compareOpsLength; 86 const static deUint32 m_totalStencilOpStates; 100 deUint32 frontReadMask; 101 deUint32 frontWriteMask; 102 deUint32 frontRef; 104 deUint32 backReadMask [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ |
vktSynchronization.cpp | 86 Move<VkDevice> createTestDevice (const InstanceInterface& vki, VkPhysicalDevice physicalDevice, deUint32 *outQueueFamilyIndex) 91 const deUint32 queueCount = 2u; 119 queueInfo.queueFamilyIndex = (deUint32)queueNdx; 145 deUint32 queueFamilyCount; 146 const deUint32* queueFamilyIndex; 209 deUint32 mipLevels; 214 deUint32 queueFamilyCount; 215 const deUint32* queueFamilyNdxList; 361 deUint32 location; 363 deUint32 stride [all...] |
/external/deqp/modules/glshared/ |
glsLongStressCase.cpp | 84 static const deUint32 bufferUsages[] = 99 static const deUint32 bufferUsagesGLES2[] = 106 static const deUint32 bufferTargets[] = 119 static const deUint32 bufferTargetsGLES2[] = 185 static inline deUint32 randomBufferTarget (Random& rnd, const bool isGLES3) 190 static inline deUint32 randomBufferUsage (Random& rnd, const bool isGLES3) 195 static inline deUint32 cubeFaceToGLFace (tcu::CubeFace face) 212 static inline bool isMatchingGLInternalFormat (const deUint32 internalFormat, const TextureFormat& texFormat) 238 static inline bool compileShader (const deUint32 shaderGL) 248 static inline bool linkProgram (const deUint32 programGL [all...] |
glsBufferTestUtil.cpp | 68 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed) 135 const char* getBufferTargetName (deUint32 target) 154 const char* getUsageHintName (deUint32 hint) 195 for (set<deUint32>::const_iterator bufIter = m_allocatedBuffers.begin(); bufIter != m_allocatedBuffers.end(); bufIter++) 199 deUint32 BufferCase::genBuffer (void) 201 deUint32 buf = 0; 218 void BufferCase::deleteBuffer (deUint32 buffer) 259 void BufferWriterBase::write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint) 284 void BufferWriter::write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes [all...] |
glsShaderExecUtil.cpp | 77 static void checkLimit (const glu::RenderContext& renderCtx, deUint32 pname, int required) 81 deUint32 error; 530 inline int queryInt (const glw::Functions& gl, deUint32 pname) 610 vertexArrays.push_back(glu::va::Uint32(attribName, vecSize, numValues, 0, (const deUint32*)ptr)); 630 const deUint32 renderbuffer = renderbuffers[outNdx]; 631 const deUint32 format = glu::getInternalFormat(getRenderbufferFormatForOutput(output.varType, useIntOutputs)); 642 vector<deUint32> drawBuffers(m_outputLayout.locationSymbols.size()); 667 deUint32* dstPtrBase = static_cast<deUint32*>(outputs[outNdx]); 681 deMemcpy(dstPtrBase, tmpBuf.getAccess().getDataPtr(), numValues*outVecSize*sizeof(deUint32)); [all...] |
/external/deqp/modules/gles2/functional/ |
es2fFboRenderTest.cpp | 87 void setColor (sglr::Context& gl, deUint32 program, const tcu::Vec4& color) 140 void setUnit (sglr::Context& gl, deUint32 program, int unitNdx) 202 void setUnits (sglr::Context& gl, deUint32 program, int unit0, int unit1) 356 Framebuffer (sglr::Context& context, const FboConfig& config, int width, int height, deUint32 fbo = 0, deUint32 colorbuffer = 0, deUint32 depthbuffer = 0, deUint32 stencilbuffer = 0); 360 deUint32 getFramebuffer (void) const { return m_framebuffer; } 361 deUint32 getColorbuffer (void) const { return m_colorbuffer; } 362 deUint32 getDepthbuffer (void) const { return m_depthbuffer; [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkQueryUtil.cpp | 34 deUint32 numDevices = 0; 53 deUint32 numQueues = 0; 122 deUint32 numProp = 0; 156 deUint32 numLayers = 0; 173 deUint32 numExtensions = 0; 190 deUint32 numLayers = 0; 207 deUint32 numExtensions = 0;
|
/external/deqp/modules/gles2/performance/ |
es2pTextureCases.cpp | 56 deUint32 format, 57 deUint32 dataType, 58 deUint32 wrapS, 59 deUint32 wrapT, 60 deUint32 minFilter, 61 deUint32 magFilter, 195 void Texture2DRenderCase::setupProgram (deUint32 program)
|
/external/deqp/modules/gles3/stress/ |
es3sOcclusionQueryTests.cpp | 58 OcclusionQueryStressCase (Context& ctx, const char* name, const char* desc, int m_numOccluderDraws, int m_numOccludersPerDraw, int m_numTargetDraws, int m_numTargetsPerDraw, int m_numQueries, deUint32 m_queryMode); 74 deUint32 m_queryMode; 83 OcclusionQueryStressCase::OcclusionQueryStressCase (Context& ctx, const char* name, const char* desc, int numOccluderDraws, int numOccludersPerDraw, int numTargetDraws, int numTargetsPerDraw, int numQueries, deUint32 queryMode) 149 deUint32 colorUnif = glGetUniformLocation(m_program->getProgram(), "u_color"); 154 std::vector<deUint32> queryIds (m_numQueries, 0); 155 std::vector<deUint32> queryResultReady (m_numQueries, 0); 156 std::vector<deUint32> queryResult (m_numQueries, 0);
|
/external/deqp/modules/internal/ |
ditSeedBuilderTests.cpp | 44 SeedBuilderTest (tcu::TestContext& testCtx, const T& value, deUint32 seed, const char* name, const char* description) 72 deUint32 m_seed; 86 const deUint32 a = 77740203u; 87 const deUint32 b = 3830824200u; 146 addChild(new SeedBuilderTest<deUint32>(m_testCtx, 0u, 41006057u, "uint32_zero", "Seed from uint32 zero.")); 147 addChild(new SeedBuilderTest<deUint32>(m_testCtx, 1u, 54665834u, "uint32_one", "Seed from uint32 one.")); 148 addChild(new SeedBuilderTest<deUint32>(m_testCtx, 4294967295u, 43990167u, "uint32_max", "Seed from uint32 max."));
|
/external/deqp/framework/opengl/ |
gluTextureUtil.cpp | 50 deUint32 format = GL_NONE; 51 deUint32 type = GL_NONE; 140 deUint32 getInternalFormat (tcu::TextureFormat texFormat) 237 deUint32 getGLFormat (tcu::CompressedTexFormat format) 296 tcu::CompressedTexFormat mapGLCompressedTexFormat (deUint32 format) 346 bool isCompressedFormat (deUint32 internalFormat) 396 static tcu::TextureFormat::ChannelType mapGLChannelType (deUint32 dataType, bool normalized) 435 tcu::TextureFormat mapGLTransferFormat (deUint32 format, deUint32 dataType) 469 tcu::TextureFormat mapGLInternalFormat (deUint32 internalFormat [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmComputeShaderCase.cpp | 132 inline Move<VkDescriptorPool> createDescriptorPool (const DeviceInterface& vkdi, const VkDevice& device, deUint32 numDescriptors) 160 for (deUint32 descriptorNdx = 0; descriptorNdx < numViews; ++descriptorNdx) 170 Move<VkPipeline> createComputePipeline (const DeviceInterface& vkdi, const VkDevice& device, VkPipelineLayout pipelineLayout, VkShaderModule shader, const char* entryPoint, const vector<deUint32>& specConstants) 172 const deUint32 numSpecConstants = (deUint32)specConstants.size(); 180 for (deUint32 ndx = 0; ndx < numSpecConstants; ++ndx) 183 entries[ndx].offset = ndx * (deUint32)sizeof(deUint32); 184 entries[ndx].size = sizeof(deUint32); 189 specInfo.dataSize = numSpecConstants * sizeof(deUint32); [all...] |
/external/deqp/framework/delibs/deutil/ |
deSocket.h | 122 deUint32 deSocket_getOpenChannels (const deSocket* socket); 124 deBool deSocket_setFlags (deSocket* socket, deUint32 flags); 131 deBool deSocket_shutdown (deSocket* socket, deUint32 channels);
|