Home
last modified time | relevance | path

Searched refs:textureFormat (Results 1 - 25 of 123) sorted by relevance

12345

/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DRenderBundleEncoder.cpp30 wgpu::TextureFormat textureFormat) { in ValidateColorAttachmentFormat()
31 DAWN_TRY(ValidateTextureFormat(textureFormat)); in ValidateColorAttachmentFormat()
33 DAWN_TRY_ASSIGN(format, device->GetInternalFormat(textureFormat)); in ValidateColorAttachmentFormat()
35 "Texture format %s is not color renderable.", textureFormat); in ValidateColorAttachmentFormat()
40 wgpu::TextureFormat textureFormat, in ValidateDepthStencilAttachmentFormat()
43 DAWN_TRY(ValidateTextureFormat(textureFormat)); in ValidateDepthStencilAttachmentFormat()
45 DAWN_TRY_ASSIGN(format, device->GetInternalFormat(textureFormat)); in ValidateDepthStencilAttachmentFormat()
47 "Texture format %s is not depth/stencil renderable.", textureFormat); in ValidateDepthStencilAttachmentFormat()
53 depthReadOnly, stencilReadOnly, textureFormat); in ValidateDepthStencilAttachmentFormat()
29 ValidateColorAttachmentFormat(const DeviceBase* device, wgpu::TextureFormat textureFormat) ValidateColorAttachmentFormat() argument
39 ValidateDepthStencilAttachmentFormat(const DeviceBase* device, wgpu::TextureFormat textureFormat, bool depthReadOnly, bool stencilReadOnly) ValidateDepthStencilAttachmentFormat() argument
/third_party/mesa3d/src/gallium/frontends/wgl/
H A Dstw_ext_pbuffer.c88 int textureFormat = WGL_NO_TEXTURE_ARB; in wglCreatePbufferARB() local
113 textureFormat = *piAttrib; in wglCreatePbufferARB()
114 if (textureFormat != WGL_TEXTURE_RGB_ARB && in wglCreatePbufferARB()
115 textureFormat != WGL_TEXTURE_RGBA_ARB && in wglCreatePbufferARB()
116 textureFormat != WGL_NO_TEXTURE_ARB) { in wglCreatePbufferARB()
253 fb->textureFormat = textureFormat; in wglCreatePbufferARB()
354 *piValue = fb->textureFormat; in wglQueryPbufferARB()
/third_party/skia/third_party/externals/dawn/src/utils/
H A DTextureUtils.cpp43 bool IsBCTextureFormat(wgpu::TextureFormat textureFormat) { in IsBCTextureFormat() argument
44 switch (textureFormat) { in IsBCTextureFormat()
66 bool IsETC2TextureFormat(wgpu::TextureFormat textureFormat) { in IsETC2TextureFormat() argument
67 switch (textureFormat) { in IsETC2TextureFormat()
85 bool IsASTCTextureFormat(wgpu::TextureFormat textureFormat) { in IsASTCTextureFormat() argument
86 switch (textureFormat) { in IsASTCTextureFormat()
122 bool IsDepthOnlyFormat(wgpu::TextureFormat textureFormat) { in IsDepthOnlyFormat() argument
123 switch (textureFormat) { in IsDepthOnlyFormat()
133 uint32_t GetTexelBlockSizeInBytes(wgpu::TextureFormat textureFormat) { in GetTexelBlockSizeInBytes() argument
134 switch (textureFormat) { in GetTexelBlockSizeInBytes()
265 GetTextureFormatBlockWidth(wgpu::TextureFormat textureFormat) GetTextureFormatBlockWidth() argument
383 GetTextureFormatBlockHeight(wgpu::TextureFormat textureFormat) GetTextureFormatBlockHeight() argument
501 GetWGSLColorTextureComponentType(wgpu::TextureFormat textureFormat) GetWGSLColorTextureComponentType() argument
550 GetWGSLRenderableColorTextureComponentCount(wgpu::TextureFormat textureFormat) GetWGSLRenderableColorTextureComponentCount() argument
591 GetWGSLImageFormatQualifier(wgpu::TextureFormat textureFormat) GetWGSLImageFormatQualifier() argument
[all...]
H A DTestUtils.cpp78 wgpu::TextureFormat textureFormat) { in RequiredBytesInCopy()
79 uint32_t blockSize = utils::GetTexelBlockSizeInBytes(textureFormat); in RequiredBytesInCopy()
80 uint32_t blockWidth = utils::GetTextureFormatBlockWidth(textureFormat); in RequiredBytesInCopy()
81 uint32_t blockHeight = utils::GetTextureFormatBlockHeight(textureFormat); in RequiredBytesInCopy()
113 wgpu::TextureFormat textureFormat) { in GetTexelCountInCopyRegion()
114 return RequiredBytesInCopy(bytesPerRow, rowsPerImage, copyExtent, textureFormat) / in GetTexelCountInCopyRegion()
115 utils::GetTexelBlockSizeInBytes(textureFormat); in GetTexelCountInCopyRegion()
75 RequiredBytesInCopy(uint64_t bytesPerRow, uint64_t rowsPerImage, wgpu::Extent3D copyExtent, wgpu::TextureFormat textureFormat) RequiredBytesInCopy() argument
110 GetTexelCountInCopyRegion(uint64_t bytesPerRow, uint64_t rowsPerImage, wgpu::Extent3D copyExtent, wgpu::TextureFormat textureFormat) GetTexelCountInCopyRegion() argument
H A DTextureUtils.h205 bool IsBCTextureFormat(wgpu::TextureFormat textureFormat);
206 bool IsETC2TextureFormat(wgpu::TextureFormat textureFormat);
207 bool IsASTCTextureFormat(wgpu::TextureFormat textureFormat);
209 bool IsDepthOnlyFormat(wgpu::TextureFormat textureFormat);
211 uint32_t GetTexelBlockSizeInBytes(wgpu::TextureFormat textureFormat);
212 uint32_t GetTextureFormatBlockWidth(wgpu::TextureFormat textureFormat);
213 uint32_t GetTextureFormatBlockHeight(wgpu::TextureFormat textureFormat);
215 const char* GetWGSLColorTextureComponentType(wgpu::TextureFormat textureFormat);
216 const char* GetWGSLImageFormatQualifier(wgpu::TextureFormat textureFormat);
217 uint32_t GetWGSLRenderableColorTextureComponentCount(wgpu::TextureFormat textureFormat);
[all...]
H A DTestUtils.h44 wgpu::TextureFormat textureFormat);
55 wgpu::TextureFormat textureFormat);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineSamplerBorderSwizzleTests.cpp73 VkFormat textureFormat; member
148 physicalDevice, m_params.textureFormat, VK_IMAGE_TYPE_2D, VK_IMAGE_TILING_OPTIMAL, (VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT), 0u, &formatProperties); in checkSupport()
212 VkFormat getColorAttachmentFormat (VkFormat textureFormat) in getColorAttachmentFormat() argument
214 const auto formatType = getFormatType(textureFormat); in getColorAttachmentFormat()
240 const auto formatType = getFormatType(m_params.textureFormat); in initPrograms()
381 const auto numComp = tcu::getNumUsedChannels(mapVkFormat(params.textureFormat).order); in getExpectedColor()
382 const auto formatType = getFormatType(params.textureFormat); in getExpectedColor()
450 const tcu::TextureFormat& textureFormat, in comparePixelToColorClearValue()
455 const auto channelClass = getTextureChannelClass(textureFormat.type); in comparePixelToColorClearValue()
473 const tcu::IVec4 bitDepth (getTextureFormatBitDepth(textureFormat)); in comparePixelToColorClearValue()
448 comparePixelToColorClearValue(const TestParams& params, const tcu::ConstPixelBufferAccess& access, const tcu::TextureFormat& textureFormat, const VkClearColorValue& ref, std::string& stringResult) comparePixelToColorClearValue() argument
[all...]
H A DvktPipelineEarlyDestroyTests.cpp229 const tcu::TextureFormat textureFormat = mapVkFormat(attachmentFormat); in testEarlyDestroy() local
230 const VkDeviceSize imageSize = framebufferWidth * framebufferHeight * textureFormat.getPixelSize(); in testEarlyDestroy()
300 const tcu::ConstPixelBufferAccess imagePixels (textureFormat, framebufferWidth, framebufferHeight, 1u, imageBufferPtr); in testEarlyDestroy()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderTextureGatherTests.cpp916 vector<GatherArgs> generateBasic2DCaseIterations (GatherType gatherType, LevelMode levelMode, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange) in generateBasic2DCaseIterations() argument
918 const int numComponentCases = isDepthFormat(textureFormat) ? 1 : 4+1; // \note For non-depth textures, test explicit components 0 to 3 and implicit component 0. in generateBasic2DCaseIterations()
993 tcu::TextureFormat textureFormat; member
1022 , textureFormat (textureFormat_) in GatherCaseBaseParams()
1039 , textureFormat () in GatherCaseBaseParams()
1160 isDepthFormat(baseParams.textureFormat) ? tcu::TextureFormat::UNORM_INT8 : baseParams.textureFormat.type)) in TextureGatherInstance()
1164 DE_ASSERT((m_baseParams.shadowCompareMode != tcu::Sampler::COMPAREMODE_NONE) == isDepthFormat(m_baseParams.textureFormat)); in TextureGatherInstance()
1227 const auto format = vk::mapTextureFormat(m_baseParams.textureFormat); in init()
1346 const bool needNormalizedCoordInShader = m_baseParams.gatherType == GATHERTYPE_OFFSET_DYNAMIC || isDepthFormat(m_baseParams.textureFormat); in setupDefaultInputs()
1636 genGatherFuncCall(GatherType gatherType, const tcu::TextureFormat& textureFormat, const GatherArgs& gatherArgs, LevelMode levelMode, deUint32 baseLevel, const string& refZExpr, const IVec2& offsetRange, int indentationDepth, OffsetSize offsetSize, const ImageBackingMode sparseCase) genGatherFuncCall() argument
1981 TextureGather2DCase(tcu::TestContext& testCtx, const string& name, const GatherType gatherType, const OffsetSize offsetSize, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const IVec2& textureSize, const ImageBackingMode sparseCase) TextureGather2DCase() argument
2043 generate2DArrayCaseIterations(GatherType gatherType, LevelMode levelMode, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange, const IVec3& textureSize) generate2DArrayCaseIterations() argument
2207 TextureGather2DArrayCase(tcu::TestContext& testCtx, const string& name, const GatherType gatherType, const OffsetSize offsetSize, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const IVec3& textureSize, const ImageBackingMode sparseCase) TextureGather2DArrayCase() argument
2271 generateCubeCaseIterations(GatherType gatherType, LevelMode levelMode, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange) generateCubeCaseIterations() argument
2435 TextureGatherCubeCase(tcu::TestContext& testCtx, const string& name, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const int textureSize, const ImageBackingMode sparseCase) TextureGatherCubeCase() argument
2506 makeTextureGatherCase(TextureType textureType, tcu::TestContext& testCtx, const string& name, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& texSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, LevelMode levelMode, int baseLevel, const IVec3& textureSize, deUint32 flags = 0, const ImageBackingMode sparseCase = ShaderRenderCaseInstance::IMAGE_BACKING_MODE_REGULAR) makeTextureGatherCase() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderTextureGatherTests.cpp928 vector<GatherArgs> generateBasic2DCaseIterations (GatherType gatherType, LevelMode levelMode, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange) in generateBasic2DCaseIterations() argument
930 const int numComponentCases = isDepthFormat(textureFormat) ? 1 : 4+1; // \note For non-depth textures, test explicit components 0 to 3 and implicit component 0. in generateBasic2DCaseIterations()
1005 tcu::TextureFormat textureFormat; member
1034 , textureFormat (textureFormat_) in GatherCaseBaseParams()
1051 , textureFormat () in GatherCaseBaseParams()
1172 isDepthFormat(baseParams.textureFormat) ? tcu::TextureFormat::UNORM_INT8 : baseParams.textureFormat.type)) in TextureGatherInstance()
1176 DE_ASSERT((m_baseParams.shadowCompareMode != tcu::Sampler::COMPAREMODE_NONE) == isDepthFormat(m_baseParams.textureFormat)); in TextureGatherInstance()
1239 const auto format = vk::mapTextureFormat(m_baseParams.textureFormat); in init()
1358 const bool needNormalizedCoordInShader = m_baseParams.gatherType == GATHERTYPE_OFFSET_DYNAMIC || isDepthFormat(m_baseParams.textureFormat); in setupDefaultInputs()
1648 genGatherFuncCall(GatherType gatherType, const tcu::TextureFormat& textureFormat, const GatherArgs& gatherArgs, LevelMode levelMode, deUint32 baseLevel, const string& refZExpr, const IVec2& offsetRange, int indentationDepth, OffsetSize offsetSize, const ImageBackingMode sparseCase) genGatherFuncCall() argument
1994 TextureGather2DCase(tcu::TestContext& testCtx, const string& name, const string& description, const GatherType gatherType, const OffsetSize offsetSize, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const IVec2& textureSize, const ImageBackingMode sparseCase) TextureGather2DCase() argument
2057 generate2DArrayCaseIterations(GatherType gatherType, LevelMode levelMode, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange, const IVec3& textureSize) generate2DArrayCaseIterations() argument
2222 TextureGather2DArrayCase(tcu::TestContext& testCtx, const string& name, const string& description, const GatherType gatherType, const OffsetSize offsetSize, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const IVec3& textureSize, const ImageBackingMode sparseCase) TextureGather2DArrayCase() argument
2287 generateCubeCaseIterations(GatherType gatherType, LevelMode levelMode, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange) generateCubeCaseIterations() argument
2452 TextureGatherCubeCase(tcu::TestContext& testCtx, const string& name, const string& description, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const int textureSize, const ImageBackingMode sparseCase) TextureGatherCubeCase() argument
2524 makeTextureGatherCase(TextureType textureType, tcu::TestContext& testCtx, const string& name, const string& description, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& texSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, LevelMode levelMode, int baseLevel, const IVec3& textureSize, deUint32 flags = 0, const ImageBackingMode sparseCase = ShaderRenderCaseInstance::IMAGE_BACKING_MODE_REGULAR) makeTextureGatherCase() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSamplerBorderSwizzleTests.cpp75 VkFormat textureFormat; member
152 if (m_params.textureFormat == VK_FORMAT_A8_UNORM_KHR || m_params.textureFormat == VK_FORMAT_A1B5G5R5_UNORM_PACK16_KHR) in checkSupport()
157 physicalDevice, m_params.textureFormat, VK_IMAGE_TYPE_2D, VK_IMAGE_TILING_OPTIMAL, (VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT), 0u, &formatProperties); in checkSupport()
175 if (isCombinedDepthStencilType(mapVkFormat(m_params.textureFormat).type) && ( in checkSupport()
236 VkFormat getColorAttachmentFormat (VkFormat textureFormat, bool useStencil) in getColorAttachmentFormat() argument
238 const auto formatType = getFormatType(textureFormat, useStencil); in getColorAttachmentFormat()
264 const auto formatType = getFormatType(m_params.textureFormat, m_params.useStencilAspect); in initPrograms()
405 const auto tcuFormat = mapVkFormat(params.textureFormat); in getExpectedColor()
407 const auto formatType = getFormatType(params.textureFormat, param in getExpectedColor()
511 tcu::TextureFormat textureFormat; comparePixelToColorClearValue() local
[all...]
H A DvktPipelineEarlyDestroyTests.cpp243 const tcu::TextureFormat textureFormat = mapVkFormat(attachmentFormat); in testEarlyDestroy() local
244 const VkDeviceSize imageSize = framebufferWidth * framebufferHeight * textureFormat.getPixelSize(); in testEarlyDestroy()
304 const tcu::ConstPixelBufferAccess imagePixels (textureFormat, framebufferWidth, framebufferHeight, 1u, imageBufferPtr); in testEarlyDestroy()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryTestsUtil.cpp430 const tcu::TextureFormat textureFormat = mapVkFormat(format); in fillBuffer() local
431 const deUint32 colorPixelSize = static_cast<deUint32>(tcu::getPixelSize(textureFormat)); in fillBuffer()
432 tcu::TextureLevel colorPixelBuffer (textureFormat, 1, 1); in fillBuffer()
449 const tcu::TextureFormat textureFormat = mapVkFormat(format); in fillBuffer() local
450 const deUint32 colorPixelSize = static_cast<deUint32>(tcu::getPixelSize(textureFormat)); in fillBuffer()
451 tcu::TextureLevel colorPixelBuffer (textureFormat, 1, 1); in fillBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryTestsUtil.cpp430 const tcu::TextureFormat textureFormat = mapVkFormat(format); in fillBuffer() local
431 const deUint32 colorPixelSize = static_cast<deUint32>(tcu::getPixelSize(textureFormat)); in fillBuffer()
432 tcu::TextureLevel colorPixelBuffer (textureFormat, 1, 1); in fillBuffer()
449 const tcu::TextureFormat textureFormat = mapVkFormat(format); in fillBuffer() local
450 const deUint32 colorPixelSize = static_cast<deUint32>(tcu::getPixelSize(textureFormat)); in fillBuffer()
451 tcu::TextureLevel colorPixelBuffer (textureFormat, 1, 1); in fillBuffer()
/third_party/vk-gl-cts/framework/common/
H A DtcuImageIO.cpp107 TextureFormat textureFormat; in loadPNG() local
114 textureFormat = TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in loadPNG()
116 textureFormat = TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in loadPNG()
122 dst.setStorage(textureFormat, width, height); in loadPNG()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Des3_copy_conversion_table_autogen.cpp18 bool ValidES3CopyConversion(GLenum textureFormat, GLenum framebufferFormat) in ValidES3CopyConversion() argument
20 switch (textureFormat) in ValidES3CopyConversion()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
H A DDisplay.cpp345 EGLenum textureFormat = EGL_NO_TEXTURE; in createPBufferSurface() local
373 textureFormat = attribList[1]; in createPBufferSurface()
455 if((textureFormat != EGL_NO_TEXTURE && textureTarget == EGL_NO_TEXTURE) || in createPBufferSurface()
456 (textureFormat == EGL_NO_TEXTURE && textureTarget != EGL_NO_TEXTURE)) in createPBufferSurface()
523 if(textureFormat != EGL_TEXTURE_RGBA) in createPBufferSurface()
546 if((textureFormat == EGL_TEXTURE_RGB && configuration->mBindToTextureRGB != EGL_TRUE) || in createPBufferSurface()
547 ((textureFormat == EGL_TEXTURE_RGBA && configuration->mBindToTextureRGBA != EGL_TRUE))) in createPBufferSurface()
553 Surface *surface = new PBufferSurface(this, configuration, width, height, textureFormat, textureTarget, clientBufferFormat, clientBufferType, largestPBuffer, clientBuffer, ioSurfacePlane); in createPBufferSurface()
H A DSurface.cpp221 return textureFormat; in getTextureFormat()
417 EGLenum textureFormat, EGLenum textureTarget, EGLenum clientBufferFormat, in PBufferSurface()
425 this->textureFormat = textureFormat; in PBufferSurface()
416 PBufferSurface(Display *display, const Config *config, EGLint width, EGLint height, EGLenum textureFormat, EGLenum textureTarget, EGLenum clientBufferFormat, EGLenum clientBufferType, EGLBoolean largestPBuffer, EGLClientBuffer clientBuffer, EGLint clientBufferPlane) PBufferSurface() argument
H A DSurface.hpp100 EGLenum textureFormat = EGL_NO_TEXTURE; // Format of texture: RGB, RGBA, or no texture member in egl::Surface
140 EGLenum textureFormat, EGLenum textureTarget, EGLenum internalFormat,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageTestsUtil.cpp745 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getGlslAttachmentType() local
746 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(textureFormat.type); in getGlslAttachmentType()
769 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getGlslInputAttachmentType() local
770 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(textureFormat.type); in getGlslInputAttachmentType()
793 const tcu::TextureFormat textureFormat = mapVkFormat(format); in isPackedType() local
797 switch (textureFormat.type) in isPackedType()
830 const tcu::TextureFormat textureFormat = mapVkFormat(format); in isComponentSwizzled() local
834 switch (textureFormat.order) in isComponentSwizzled()
854 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getNumUsedChannels() local
856 return getNumUsedChannels(textureFormat in getNumUsedChannels()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageTestsUtil.cpp745 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getGlslAttachmentType() local
746 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(textureFormat.type); in getGlslAttachmentType()
769 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getGlslInputAttachmentType() local
770 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(textureFormat.type); in getGlslInputAttachmentType()
793 const tcu::TextureFormat textureFormat = mapVkFormat(format); in isPackedType() local
797 switch (textureFormat.type) in isPackedType()
830 const tcu::TextureFormat textureFormat = mapVkFormat(format); in isComponentSwizzled() local
834 switch (textureFormat.order) in isComponentSwizzled()
854 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getNumUsedChannels() local
856 return getNumUsedChannels(textureFormat in getNumUsedChannels()
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureGatherTests.cpp966 tcu::TextureFormat textureFormat,
967 tcu::Sampler::CompareMode shadowCompareMode, //!< Should be COMPAREMODE_NONE iff textureFormat is a depth format.
1042 tcu::TextureFormat textureFormat, in TextureGatherCase()
1054 , m_textureFormat (textureFormat) in TextureGatherCase()
1065 isDepthFormat(textureFormat) ? tcu::TextureFormat::UNORM_INT8 : textureFormat.type)) in TextureGatherCase()
1160 string TextureGatherCase::genGatherFuncCall (GatherType gatherType, const tcu::TextureFormat& textureFormat, const GatherArgs& gatherArgs, const string& refZExpr, const IVec2& offsetRange, int indentationDepth) in genGatherFuncCall() argument
1182 if (isDepthFormat(textureFormat)) in genGatherFuncCall()
1231 const tcu::TextureFormat& textureFormat, in genProgramSources()
1237 const bool useNormalizedCoord = usePixCoord || isDepthFormat(textureFormat); in genProgramSources()
1036 TextureGatherCase(Context& context, const char* name, const char* description, TextureType textureType, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, int baseLevel, deUint32 flags) TextureGatherCase() argument
1229 genProgramSources(GatherType gatherType, TextureType textureType, const tcu::TextureFormat& textureFormat, const GatherArgs& gatherArgs, const string& refZExpr, const IVec2& offsetRange) genProgramSources() argument
1569 generateBasic2DCaseIterations(GatherType gatherType, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange) generateBasic2DCaseIterations() argument
1644 TextureGather2DCase(Context& context, const char* name, const char* description, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& texSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, int baseLevel, deUint32 flags, const IVec2& textureSize) TextureGather2DCase() argument
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
H A Des3cNumberParsingTests.cpp360 const auto textureFormat = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in iterate() local
361 const auto transferFormat = glu::getTransferFormat(textureFormat); in iterate()
394 const auto pixelSize = tcu::getPixelSize(textureFormat); in iterate()
403 tcu::ConstPixelBufferAccess fbAccess { textureFormat, RENDERTARGET_WIDTH, RENDERTARGET_HEIGHT, 1, fbData.data() }; in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DRenderbufferVk.cpp82 const angle::Format &textureFormat = format.getActualRenderableImageFormat(); in setStorageImpl() local
83 const bool isDepthStencilFormat = textureFormat.hasDepthOrStencilBits(); in setStorageImpl()
84 ASSERT(textureFormat.redBits > 0 || isDepthStencilFormat); in setStorageImpl()
174 const angle::Format &textureFormat = vkFormat.getActualRenderableImageFormat(); in setStorageEGLImageTarget() local
176 VkImageAspectFlags aspect = vk::GetFormatAspectFlags(textureFormat); in setStorageEGLImageTarget()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
H A DPixmapSurfaceGLX.cpp26 int EGLTextureFormatToGLXTextureFormat(EGLint textureFormat) in EGLTextureFormatToGLXTextureFormat() argument
28 switch (textureFormat) in EGLTextureFormatToGLXTextureFormat()

Completed in 26 milliseconds

12345