Home
last modified time | relevance | path

Searched refs:TextureBinding (Results 1 – 25 of 81) sorted by relevance

1234

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.hpp128 class TextureBinding { class
152 TextureBinding (Context& context);
153 TextureBinding (Context& context, const TestTextureSp& textureData, const Type type,
164 TextureBinding (const TextureBinding&); // not allowed!
165 TextureBinding& operator= (const TextureBinding&); // not allowed!
184 typedef de::SharedPtr<TextureBinding> TextureBindingSp;
228TextureBinding::ImageBackingMode backingMode = TextureBinding::IMAGE_BACKING_MODE_REGULAR);
233TextureBinding::ImageBackingMode backingMode = TextureBinding::IMAGE_BACKING_MODE_REGULAR);
238TextureBinding::ImageBackingMode backingMode = TextureBinding::IMAGE_BACKING_MODE_REGULAR);
243TextureBinding::ImageBackingMode backingMode = TextureBinding::IMAGE_BACKING_MODE_REGULAR);
[all …]
DvktTextureTestUtil.cpp134 VkImageViewType textureTypeToImageViewType (TextureBinding::Type type) in textureTypeToImageViewType()
138 case TextureBinding::TYPE_2D: return VK_IMAGE_VIEW_TYPE_2D; in textureTypeToImageViewType()
139 case TextureBinding::TYPE_2D_ARRAY: return VK_IMAGE_VIEW_TYPE_2D_ARRAY; in textureTypeToImageViewType()
140 case TextureBinding::TYPE_CUBE_MAP: return VK_IMAGE_VIEW_TYPE_CUBE; in textureTypeToImageViewType()
141 case TextureBinding::TYPE_3D: return VK_IMAGE_VIEW_TYPE_3D; in textureTypeToImageViewType()
142 case TextureBinding::TYPE_1D: return VK_IMAGE_VIEW_TYPE_1D; in textureTypeToImageViewType()
143 case TextureBinding::TYPE_1D_ARRAY: return VK_IMAGE_VIEW_TYPE_1D_ARRAY; in textureTypeToImageViewType()
144 case TextureBinding::TYPE_CUBE_ARRAY: return VK_IMAGE_VIEW_TYPE_CUBE_ARRAY; in textureTypeToImageViewType()
307 TextureBinding::TextureBinding (Context& context) in TextureBinding() function in vkt::texture::util::TextureBinding
312 TextureBinding::TextureBinding (Context& context, const TestTextureSp& textureData, const TextureBi… in TextureBinding() function in vkt::texture::util::TextureBinding
[all …]
DvktTextureCompressedFormatTests.cpp133 const TextureBinding::ImageBackingMode backingMode;
136 { "", TextureBinding::IMAGE_BACKING_MODE_REGULAR },
137 { "_sparse", TextureBinding::IMAGE_BACKING_MODE_SPARSE }
143 TextureBinding::ImageBackingMode backingMode;
147 : backingMode(TextureBinding::IMAGE_BACKING_MODE_REGULAR) in Compressed3DTestParameters()
154 TextureBinding::ImageBackingMode backingMode;
158 : backingMode(TextureBinding::IMAGE_BACKING_MODE_REGULAR) in Compressed2DTestParameters()
DvktTextureSwizzleTests.cpp79 TextureBinding::ImageBackingMode backingMode;
86 : backingMode (TextureBinding::IMAGE_BACKING_MODE_LAST) in Swizzle2DTestParameters()
433 const TextureBinding::ImageBackingMode backingMode; in populateTextureSwizzleTests()
436 { "", TextureBinding::IMAGE_BACKING_MODE_REGULAR }, in populateTextureSwizzleTests()
437 { "_sparse", TextureBinding::IMAGE_BACKING_MODE_SPARSE } in populateTextureSwizzleTests()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderRenderCase.cpp78 TextureBinding::TextureBinding(const glu::Texture2D* tex2D, const tcu::Sampler& sampler) in TextureBinding() function in deqp::TextureBinding
84 TextureBinding::TextureBinding(const glu::TextureCube* texCube, const tcu::Sampler& sampler) in TextureBinding() function in deqp::TextureBinding
90 TextureBinding::TextureBinding(const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler) in TextureBinding() function in deqp::TextureBinding
96 TextureBinding::TextureBinding(const glu::Texture3D* tex3D, const tcu::Sampler& sampler) in TextureBinding() function in deqp::TextureBinding
102 TextureBinding::TextureBinding(void) : m_type(TYPE_NONE) in TextureBinding() function in deqp::TextureBinding
107 TextureBinding::TextureBinding(const glu::TextureCubeArray* texCubeArray, const tcu::Sampler& sampl… in TextureBinding() function in deqp::TextureBinding
113 void TextureBinding::setSampler(const tcu::Sampler& sampler) in setSampler()
118 void TextureBinding::setTexture(const glu::Texture2D* tex2D) in setTexture()
124 void TextureBinding::setTexture(const glu::TextureCube* texCube) in setTexture()
130 void TextureBinding::setTexture(const glu::Texture2DArray* tex2DArray) in setTexture()
[all …]
DglcShaderRenderCase.hpp91 class TextureBinding class
106 TextureBinding(const glu::Texture2D* tex2D, const tcu::Sampler& sampler);
107 TextureBinding(const glu::TextureCube* texCube, const tcu::Sampler& sampler);
108 TextureBinding(const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler);
109 TextureBinding(const glu::Texture3D* tex3D, const tcu::Sampler& sampler);
110 TextureBinding(const glu::TextureCubeArray* texCubeArray, const tcu::Sampler& sampler);
111 TextureBinding(void);
310 std::vector<TextureBinding> m_textures;
/third_party/vk-gl-cts/modules/glshared/
DglsShaderRenderCase.cpp69 TextureBinding::TextureBinding (const glu::Texture2D* tex2D, const tcu::Sampler& sampler) in TextureBinding() function in deqp::gls::TextureBinding
76 TextureBinding::TextureBinding (const glu::TextureCube* texCube, const tcu::Sampler& sampler) in TextureBinding() function in deqp::gls::TextureBinding
83 TextureBinding::TextureBinding (const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler) in TextureBinding() function in deqp::gls::TextureBinding
90 TextureBinding::TextureBinding (const glu::Texture3D* tex3D, const tcu::Sampler& sampler) in TextureBinding() function in deqp::gls::TextureBinding
97 TextureBinding::TextureBinding (void) in TextureBinding() function in deqp::gls::TextureBinding
103 void TextureBinding::setSampler (const tcu::Sampler& sampler) in setSampler()
108 void TextureBinding::setTexture (const glu::Texture2D* tex2D) in setTexture()
114 void TextureBinding::setTexture (const glu::TextureCube* texCube) in setTexture()
120 void TextureBinding::setTexture (const glu::Texture2DArray* tex2DArray) in setTexture()
126 void TextureBinding::setTexture (const glu::Texture3D* tex3D) in setTexture()
[all …]
DglsShaderRenderCase.hpp74 class TextureBinding class
88 TextureBinding (const glu::Texture2D* tex2D, const tcu::Sampler& sampler);
89 TextureBinding (const glu::TextureCube* texCube, const tcu::Sampler& sampler);
90 TextureBinding (const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler);
91 TextureBinding (const glu::Texture3D* tex3D, const tcu::Sampler& sampler);
92 TextureBinding (void);
252 std::vector<TextureBinding> m_textures;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.hpp69 class TextureBinding class
124 TextureBinding (const tcu::Archive& archive,
129 TextureBinding (const tcu::Texture1D* tex1D, const tcu::Sampler& sampler);
130 TextureBinding (const tcu::Texture2D* tex2D, const tcu::Sampler& sampler);
131 TextureBinding (const tcu::Texture3D* tex3D, const tcu::Sampler& sampler);
132 TextureBinding (const tcu::TextureCube* texCube, const tcu::Sampler& sampler);
133 TextureBinding (const tcu::Texture1DArray* tex1DArray, const tcu::Sampler& sampler);
134 TextureBinding (const tcu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler);
135 TextureBinding (const tcu::TextureCubeArray* texCubeArray, const tcu::Sampler& sampler);
137 ~TextureBinding (void);
[all …]
DvktShaderRender.cpp60 VkImageViewType textureTypeToImageViewType (TextureBinding::Type type) in textureTypeToImageViewType()
64 case TextureBinding::TYPE_1D: return VK_IMAGE_VIEW_TYPE_1D; in textureTypeToImageViewType()
65 case TextureBinding::TYPE_2D: return VK_IMAGE_VIEW_TYPE_2D; in textureTypeToImageViewType()
66 case TextureBinding::TYPE_3D: return VK_IMAGE_VIEW_TYPE_3D; in textureTypeToImageViewType()
67 case TextureBinding::TYPE_CUBE_MAP: return VK_IMAGE_VIEW_TYPE_CUBE; in textureTypeToImageViewType()
68 case TextureBinding::TYPE_1D_ARRAY: return VK_IMAGE_VIEW_TYPE_1D_ARRAY; in textureTypeToImageViewType()
69 case TextureBinding::TYPE_2D_ARRAY: return VK_IMAGE_VIEW_TYPE_2D_ARRAY; in textureTypeToImageViewType()
70 case TextureBinding::TYPE_CUBE_ARRAY: return VK_IMAGE_VIEW_TYPE_CUBE_ARRAY; in textureTypeToImageViewType()
298 TextureBinding::TextureBinding (const tcu::Archive& archive, in TextureBinding() function in vkt::sr::TextureBinding
313 TextureBinding::TextureBinding (const tcu::Texture1D* tex1D, const tcu::Sampler& sampler) in TextureBinding() function in vkt::sr::TextureBinding
[all …]
DvktShaderRenderDiscardTests.cpp84 …de::SharedPtr<TextureBinding> brickTexture(new TextureBinding(m_context.getTestContext().getArchiv… in ShaderDiscardCaseInstance()
86 TextureBinding::TYPE_2D, in ShaderDiscardCaseInstance()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DVideoViewsValidationTests.cpp121 wgpu::TextureFormat::R8BG8Biplanar420Unorm, wgpu::TextureUsage::TextureBinding); in TEST_F()
124 wgpu::TextureFormat::R8BG8Biplanar420Unorm, wgpu::TextureUsage::TextureBinding); in TEST_F()
140 wgpu::TextureFormat::R8BG8Biplanar420Unorm, wgpu::TextureUsage::TextureBinding); in TEST_F()
143 wgpu::TextureFormat::R8BG8Biplanar420Unorm, wgpu::TextureUsage::TextureBinding); in TEST_F()
172 wgpu::TextureFormat::R8BG8Biplanar420Unorm, wgpu::TextureUsage::TextureBinding); in TEST_F()
193 wgpu::TextureFormat::R8BG8Biplanar420Unorm, wgpu::TextureUsage::TextureBinding); in TEST_F()
231 wgpu::TextureFormat::R8BG8Biplanar420Unorm, wgpu::TextureUsage::TextureBinding); in TEST_F()
252 wgpu::TextureFormat::R8BG8Biplanar420Unorm, wgpu::TextureUsage::TextureBinding); in TEST_F()
284 wgpu::TextureFormat::R8BG8Biplanar420Unorm, wgpu::TextureUsage::TextureBinding); in TEST_F()
305 wgpu::TextureFormat::R8BG8Biplanar420Unorm, wgpu::TextureUsage::TextureBinding); in TEST_F()
[all …]
DCopyTextureForBrowserTests.cpp74 wgpu::TextureUsage::CopySrc | wgpu::TextureUsage::TextureBinding); in TEST_F()
130 wgpu::TextureUsage::CopySrc | wgpu::TextureUsage::TextureBinding); in TEST_F()
139 16, 16, 5, 1, wgpu::TextureFormat::RGBA8Unorm, wgpu::TextureUsage::TextureBinding); in TEST_F()
164 wgpu::TextureUsage::CopySrc | wgpu::TextureUsage::TextureBinding); in TEST_F()
224 wgpu::TextureUsage::CopySrc | wgpu::TextureUsage::TextureBinding); in TEST_F()
238 wgpu::TextureUsage::CopySrc | wgpu::TextureUsage::TextureBinding, 1); in TEST_F()
244 wgpu::TextureUsage::CopySrc | wgpu::TextureUsage::TextureBinding, 4); in TEST_F()
DResourceUsageTrackingTests.cpp824 wgpu::Texture texture = CreateTexture(wgpu::TextureUsage::TextureBinding | in TEST_F()
847 wgpu::Texture texture = CreateTexture(wgpu::TextureUsage::TextureBinding | in TEST_F()
892 CreateTexture(wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::RenderAttachment, in TEST_F()
1069 wgpu::Texture t0 = CreateTexture(wgpu::TextureUsage::TextureBinding | in TEST_F()
1072 wgpu::Texture t1 = CreateTexture(wgpu::TextureUsage::TextureBinding | in TEST_F()
1103 wgpu::Texture texture = CreateTexture(wgpu::TextureUsage::TextureBinding | in TEST_F()
1133 wgpu::Texture texture = CreateTexture(wgpu::TextureUsage::TextureBinding | in TEST_F()
1169 CreateTexture(wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::StorageBinding); in TEST_F()
1241 CreateTexture(wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::StorageBinding); in TEST_F()
1308 CreateTexture(wgpu::TextureUsage::CopyDst | wgpu::TextureUsage::TextureBinding | in TEST_F()
[all …]
DTextureSubresourceTests.cpp111 wgpu::TextureUsage::TextureBinding | in TEST_F()
125 wgpu::TextureUsage::TextureBinding | in TEST_F()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DExternalTexture.cpp34 (textureView->GetTexture()->GetUsage() & wgpu::TextureUsage::TextureBinding) == 0, in ValidateExternalTexturePlane()
36 textureView, textureView->GetTexture()->GetUsage(), wgpu::TextureUsage::TextureBinding); in ValidateExternalTexturePlane()
DPassResourceUsageTracker.cpp111 TextureViewUsedAs(view, wgpu::TextureUsage::TextureBinding); in AddBindGroup()
140 TextureViewUsedAs(textureViews[0].Get(), wgpu::TextureUsage::TextureBinding); in AddBindGroup()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DTextureZeroInitTests.cpp274 wgpu::TextureUsage::CopyDst | wgpu::TextureUsage::TextureBinding | in TEST_P()
306 wgpu::TextureUsage::CopyDst | wgpu::TextureUsage::TextureBinding | in TEST_P()
376 1, 1, wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::CopySrc, kColorFormat); in TEST_P()
414 wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::CopySrc | in TEST_P()
860 CreateTextureDescriptor(1, 1, wgpu::TextureUsage::TextureBinding, kColorFormat); in TEST_P()
910 texDesc.usage = wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::RenderAttachment | in TEST_P()
964 CreateTextureDescriptor(1, 1, wgpu::TextureUsage::TextureBinding, kColorFormat); in TEST_P()
1131 1, 1, wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::CopyDst, kColorFormat); in TEST_P()
1275 wgpu::TextureUsage::TextureBinding, in TEST_P()
1354 wgpu::TextureUsage::TextureBinding, in TEST_P()
[all …]
DNonzeroTextureCreationTests.cpp407 wgpu::TextureUsage::TextureBinding),
408 wgpu::TextureUsage(wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::CopySrc)},
430 {wgpu::TextureUsage(wgpu::TextureUsage::RenderAttachment | wgpu::TextureUsage::TextureBinding),
431 wgpu::TextureUsage::TextureBinding},
DExternalTextureTests.cpp43 static constexpr wgpu::TextureUsage kSampledUsage = wgpu::TextureUsage::TextureBinding;
86 wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::RenderAttachment); in TEST_P()
DTextureSubresourceTests.cpp147 wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::RenderAttachment | in TEST_P()
175 wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::RenderAttachment | in TEST_P()
DMultisampledSamplingTests.cpp134 desc.usage = wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::RenderAttachment; in TEST_P()
144 desc.usage = wgpu::TextureUsage::TextureBinding | wgpu::TextureUsage::RenderAttachment; in TEST_P()
DCopyTextureForBrowserTests.cpp415 wgpu::TextureUsage::TextureBinding;
430 wgpu::TextureUsage::CopyDst | wgpu::TextureUsage::TextureBinding |
524 wgpu::TextureUsage::TextureBinding; in DoColorConversionTest()
531 dstTextureSpec, wgpu::TextureUsage::CopyDst | wgpu::TextureUsage::TextureBinding | in DoColorConversionTest()
DD3D12VideoViewsTests.cpp290 wgpu::TextureUsage::TextureBinding, /*isCheckerboard*/ false, in TEST_P()
342 wgpu::TextureUsage::TextureBinding, /*isCheckerboard*/ false, in TEST_P()
399 wgpu::TextureUsage::TextureBinding, /*isCheckerboard*/ true, in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBindGroupVk.cpp109 ToBackend(view->GetTexture()), wgpu::TextureUsage::TextureBinding); in BindGroup()
147 ToBackend(view->GetTexture()), wgpu::TextureUsage::TextureBinding); in BindGroup()

1234