Home
last modified time | relevance | path

Searched refs:multisample (Results 1 - 25 of 114) sorted by relevance

12345

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMultisampleInterpolationTests.cpp39 namespace multisample namespace
384 << "Verifying that using interpolateAtSample with multisample buffers not available returns sample evaluated at the center of the pixel.\n" in init()
520 case multisample::ComponentSource::CONSTANT: componentMsg = "Using single constant component " + indexStr; break; in init()
521 case multisample::ComponentSource::PUSH_CONSTANT: componentMsg = "Using single component via push constant " + indexStr; break; in init()
570 if (m_imageMSParams.componentData.source == multisample::ComponentSource::PUSH_CONSTANT) in initPrograms()
583 if (m_imageMSParams.componentData.source == multisample::ComponentSource::NONE) in initPrograms()
588 else if (m_imageMSParams.componentData.source == multisample::ComponentSource::CONSTANT) in initPrograms()
594 else // multisample::ComponentSource::PUSH_CONSTANT in initPrograms()
624 case multisample::ComponentSource::CONSTANT: componentMsg = "Using single constant component " + indexStr; break; in init()
625 case multisample in init()
[all...]
H A DvktPipelineFramebufferAttachmentTests.cpp89 bool multisample; member
134 const bool multisample) in makeRenderPass()
147 !multisample ? VK_SAMPLE_COUNT_1_BIT : VK_SAMPLE_COUNT_4_BIT, // VkSampleCountFlagBits samples; in makeRenderPass()
209 const bool multisample) in preparePipelineWrapper()
221 multisample ? VK_SAMPLE_COUNT_4_BIT : VK_SAMPLE_COUNT_1_BIT, // VkSampleCountFlagBits rasterizationSamples; in preparePipelineWrapper()
281 const bool multisample) in makeImage()
293 multisample ? VK_SAMPLE_COUNT_4_BIT : VK_SAMPLE_COUNT_1_BIT, // VkSampleCountFlagBits samples; in makeImage()
420 RenderPassWrapper renderPass (makeRenderPass(vk, device, caseDef.pipelineConstructionType, COLOR_FORMAT, caseDef.numLayers, caseDef.multisample)); in test()
451 if (caseDef.multisample) in test()
465 colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, ! caseDef.multisample in test()
129 makeRenderPass(const DeviceInterface& vk, const VkDevice device, const PipelineConstructionType pipelineConstructionType, const VkFormat colorFormat, const deUint32 numLayers, const bool multisample) makeRenderPass() argument
200 preparePipelineWrapper(GraphicsPipelineWrapper& gpw, const PipelineLayoutWrapper& pipelineLayout, const VkRenderPass renderPass, const ShaderWrapper vertexModule, const ShaderWrapper fragmentModule, const IVec3 renderSize, const VkPrimitiveTopology topology, const deUint32 subpass, const deUint32 numAttachments, const bool multisample) preparePipelineWrapper() argument
273 makeImage(const DeviceInterface& vk, const VkDevice device, const VkImageCreateFlags flags, const VkImageType imageType, const VkFormat format, const IVec3& size, const deUint32 numLayers, const VkImageUsageFlags usage, const bool multisample) makeImage() argument
671 bool multisample; global() member
960 makeRenderPassMultiAttachments(const DeviceInterface& vk, const VkDevice device, const PipelineConstructionType pipelineConstructionType, const VkFormat colorFormat, deUint32 numAttachments, const bool multisample) makeRenderPassMultiAttachments() argument
[all...]
H A DvktPipelineMultisampleBase.hpp37 namespace multisample namespace
165 } // multisample
175 const multisample::ComponentData& componentData = multisample::ComponentData{}, in makeMSGroup()
192 const multisample::ImageMSParams imageMSParams
168 makeMSGroup(tcu::TestContext& testCtx, const std::string groupName, const vk::PipelineConstructionType pipelineConstructionType, const tcu::UVec3 imageSizes[], const deUint32 imageSizesElemCount, const vk::VkSampleCountFlagBits imageSamples[], const deUint32 imageSamplesElemCount, const multisample::ComponentData& componentData = multisample::ComponentData{}, const float shadingRate = 1.0f) makeMSGroup() argument
H A DvktPipelineMultisampleShaderBuiltInTests.cpp51 namespace multisample namespace
289 << "Expecting value N at sample index N of a multisample texture.\n" in init()
441 << "Verifying gl_SamplePosition value with multisample targets:\n" in init()
1049 << "Expecting half intensity on multisample targets (numSamples > 1)\n" in init()
1211 // Check multisample storage images support. in checkSupport()
1214 TCU_THROW(NotSupportedError, "Using multisample images as storage is not supported"); in checkSupport()
2098 } // multisample
2124 testGroup->addChild(makeMSGroup<multisample::MSCase<multisample::MSCaseSampleID> >(testCtx, "sample_id", pipelineConstructionType, imageSizes, sizesElemCount, samplesSetFull, samplesSetFullCount)); in createMultisampleShaderBuiltInTests()
2128 samplePositionGroup->addChild(makeMSGroup<multisample in createMultisampleShaderBuiltInTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineMultisampleInterpolationTests.cpp37 namespace multisample namespace
382 << "Verifying that using interpolateAtSample with multisample buffers not available returns sample evaluated at the center of the pixel.\n" in init()
518 case multisample::ComponentSource::CONSTANT: componentMsg = "Using single constant component " + indexStr; break; in init()
519 case multisample::ComponentSource::PUSH_CONSTANT: componentMsg = "Using single component via push constant " + indexStr; break; in init()
568 if (m_imageMSParams.componentData.source == multisample::ComponentSource::PUSH_CONSTANT) in initPrograms()
581 if (m_imageMSParams.componentData.source == multisample::ComponentSource::NONE) in initPrograms()
586 else if (m_imageMSParams.componentData.source == multisample::ComponentSource::CONSTANT) in initPrograms()
592 else // multisample::ComponentSource::PUSH_CONSTANT in initPrograms()
622 case multisample::ComponentSource::CONSTANT: componentMsg = "Using single constant component " + indexStr; break; in init()
623 case multisample in init()
[all...]
H A DvktPipelineFramebufferAttachmentTests.cpp87 bool multisample; member
131 const bool multisample) in makeRenderPass()
144 !multisample ? VK_SAMPLE_COUNT_1_BIT : VK_SAMPLE_COUNT_4_BIT, // VkSampleCountFlagBits samples; in makeRenderPass()
206 const bool multisample) in preparePipelineWrapper()
218 multisample ? VK_SAMPLE_COUNT_4_BIT : VK_SAMPLE_COUNT_1_BIT, // VkSampleCountFlagBits rasterizationSamples; in preparePipelineWrapper()
278 const bool multisample) in makeImage()
290 multisample ? VK_SAMPLE_COUNT_4_BIT : VK_SAMPLE_COUNT_1_BIT, // VkSampleCountFlagBits samples; in makeImage()
414 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, COLOR_FORMAT, caseDef.numLayers, caseDef.multisample)); in test()
446 if (caseDef.multisample) in test()
460 colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, ! caseDef.multisample in test()
127 makeRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat, const deUint32 numLayers, const bool multisample) makeRenderPass() argument
197 preparePipelineWrapper(GraphicsPipelineWrapper& gpw, const VkPipelineLayout pipelineLayout, const VkRenderPass renderPass, const VkShaderModule vertexModule, const VkShaderModule fragmentModule, const IVec3 renderSize, const VkPrimitiveTopology topology, const deUint32 subpass, const deUint32 numAttachments, const bool multisample) preparePipelineWrapper() argument
270 makeImage(const DeviceInterface& vk, const VkDevice device, const VkImageCreateFlags flags, const VkImageType imageType, const VkFormat format, const IVec3& size, const deUint32 numLayers, const VkImageUsageFlags usage, const bool multisample) makeImage() argument
665 bool multisample; global() member
953 makeRenderPassMultiAttachments(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat, deUint32 numAttachments, const bool multisample) makeRenderPassMultiAttachments() argument
[all...]
H A DvktPipelineMultisampleBase.hpp35 namespace multisample namespace
149 } // multisample
159 const multisample::ComponentData& componentData = multisample::ComponentData{}) in makeMSGroup()
175 const multisample::ImageMSParams imageMSParams
152 makeMSGroup(tcu::TestContext& testCtx, const std::string groupName, const vk::PipelineConstructionType pipelineConstructionType, const tcu::UVec3 imageSizes[], const deUint32 imageSizesElemCount, const vk::VkSampleCountFlagBits imageSamples[], const deUint32 imageSamplesElemCount, const multisample::ComponentData& componentData = multisample::ComponentData{}) makeMSGroup() argument
H A DvktPipelineMultisampleShaderBuiltInTests.cpp48 namespace multisample namespace
286 << "Expecting value N at sample index N of a multisample texture.\n" in init()
438 << "Verifying gl_SamplePosition value with multisample targets:\n" in init()
1045 << "Expecting half intensity on multisample targets (numSamples > 1)\n" in init()
1207 // Check multisample storage images support. in checkSupport()
1210 TCU_THROW(NotSupportedError, "Using multisample images as storage is not supported"); in checkSupport()
2087 } // multisample
2113 testGroup->addChild(makeMSGroup<multisample::MSCase<multisample::MSCaseSampleID> >(testCtx, "sample_id", pipelineConstructionType, imageSizes, sizesElemCount, samplesSetFull, samplesSetFullCount)); in createMultisampleShaderBuiltInTests()
2117 samplePositionGroup->addChild(makeMSGroup<multisample in createMultisampleShaderBuiltInTests()
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atom_rasterizer.c186 bool multisample = _mesa_is_multisample_enabled(ctx); in st_update_rasterizer() local
187 raster->multisample = multisample; in st_update_rasterizer()
190 raster->poly_smooth = !multisample && ctx->Polygon.SmoothFlag; in st_update_rasterizer()
197 raster->point_smooth = !multisample && !ctx->Point.PointSprite && in st_update_rasterizer()
239 if (!multisample && ctx->Line.SmoothFlag) { in st_update_rasterizer()
251 raster->line_rectangular = multisample || ctx->Line.SmoothFlag; in st_update_rasterizer()
262 raster->multisample && in st_update_rasterizer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureMultisampleTests.cpp22 * \brief Texture multisample tests.
40 // Test atomic oprerations on multisample textures in createAtomicTests()
43 static const char dataDir[] = "texture/multisample/atomic"; in createAtomicTests()
80 static const char dataDir[] = "texture/multisample/invalidsampleindex"; in createInvalidSampleIndexTests()
117 de::MovePtr<tcu::TestCaseGroup> multisample (new tcu::TestCaseGroup(testCtx, "multisample")); in createTextureMultisampleTests()
119 multisample->addChild(createAtomicTests(testCtx)); in createTextureMultisampleTests()
120 multisample->addChild(createInvalidSampleIndexTests(testCtx)); in createTextureMultisampleTests()
122 return multisample.release(); in createTextureMultisampleTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureMultisampleTests.cpp22 * \brief Texture multisample tests.
40 de::MovePtr<tcu::TestCaseGroup> atomic (new tcu::TestCaseGroup(testCtx, "atomic", "Test atomic oprerations on multisample textures")); in createAtomicTests()
42 static const char dataDir[] = "texture/multisample/atomic"; in createAtomicTests()
79 static const char dataDir[] = "texture/multisample/invalidsampleindex"; in createInvalidSampleIndexTests()
116 de::MovePtr<tcu::TestCaseGroup> multisample (new tcu::TestCaseGroup(testCtx, "multisample", "Multisample texture tests")); in createTextureMultisampleTests()
118 multisample->addChild(createAtomicTests(testCtx)); in createTextureMultisampleTests()
119 multisample->addChild(createInvalidSampleIndexTests(testCtx)); in createTextureMultisampleTests()
121 return multisample.release(); in createTextureMultisampleTests()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A Dmtl_format_utils.h58 bool multisample = false; // can be used as MSAA target member
160 bool multisample,
168 bool multisample,
178 bool multisample,
187 bool multisample,
/third_party/skia/third_party/externals/dawn/src/utils/
H A DComboRenderPipelineDescriptor.cpp106 // Set the defaults for the multisample state in ComboRenderPipelineDescriptor()
108 wgpu::MultisampleState* multisample = &descriptor->multisample; in ComboRenderPipelineDescriptor() local
109 multisample->count = 1; in ComboRenderPipelineDescriptor()
110 multisample->mask = 0xFFFFFFFF; in ComboRenderPipelineDescriptor()
111 multisample->alphaToCoverageEnabled = false; in ComboRenderPipelineDescriptor()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DRenderPipelineVk.cpp437 VkPipelineMultisampleStateCreateInfo multisample; in Initialize()
438 multisample.sType = VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO; in Initialize()
439 multisample.pNext = nullptr; in Initialize()
440 multisample.flags = 0; in Initialize()
441 multisample.rasterizationSamples = VulkanSampleCount(GetSampleCount()); in Initialize()
442 multisample.sampleShadingEnable = VK_FALSE; in Initialize()
443 multisample.minSampleShading = 0.0f; in Initialize()
447 ASSERT(multisample.rasterizationSamples <= 32); in Initialize()
449 multisample.pSampleMask = &sampleMask; in Initialize()
450 multisample in Initialize()
[all...]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DFramebuffer.cpp17 Framebuffer::Framebuffer(vk::Device device, vk::PhysicalDevice physicalDevice, vk::ImageView attachment, vk::Format colorFormat, vk::RenderPass renderPass, vk::Extent2D extent, bool multisample) in Framebuffer() argument
20 std::vector<vk::ImageView> attachments(multisample ? 2 : 1); in Framebuffer()
22 if(multisample) in Framebuffer()
H A DDrawTester.cpp19 DrawTester::DrawTester(Multisample multisample) in DrawTester() argument
20 : multisample(multisample == Multisample::True) in DrawTester()
111 std::vector<vk::AttachmentDescription> attachments(multisample ? 2 : 1); in createRenderPass()
113 if(multisample) in createRenderPass()
158 subpassDescription.pResolveAttachments = multisample ? &attachment1 : nullptr; in createRenderPass()
196 framebuffers[i].reset(new Framebuffer(device, physicalDevice, swapchain->getImageView(i), swapchain->colorFormat, renderPass, swapchain->getExtent(), multisample)); in createFramebuffers()
271 multisampleState.rasterizationSamples = multisample ? vk::SampleCountFlagBits::e4 : vk::SampleCountFlagBits::e1; in createGraphicsPipeline()
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_validate.c76 if ((!rasterizer->multisample && rasterizer->line_smooth) && draw->pipeline.aaline) in draw_need_pipeline()
92 if ((!rasterizer->multisample && rasterizer->point_smooth) && draw->pipeline.aapoint) in draw_need_pipeline()
160 (!rast->line_smooth || rast->multisample); in validate_pipeline()
165 else if ((!rast->multisample && rast->point_smooth) && draw->pipeline.aapoint) in validate_pipeline()
181 if ((!rast->multisample && rast->line_smooth) && draw->pipeline.aaline) { in validate_pipeline()
187 if ((!rast->multisample && rast->point_smooth) && draw->pipeline.aapoint) { in validate_pipeline()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanBenchmarks/
H A DTriangleBenchmarks.cpp38 static void TriangleSolidColor(benchmark::State &state, Multisample multisample) in TriangleSolidColor() argument
40 DrawTester tester(multisample); in TriangleSolidColor()
89 static void TriangleInterpolateColor(benchmark::State &state, Multisample multisample) in TriangleInterpolateColor() argument
91 DrawTester tester(multisample); in TriangleInterpolateColor()
148 static void TriangleSampleTexture(benchmark::State &state, Multisample multisample) in TriangleSampleTexture() argument
150 DrawTester tester(multisample); in TriangleSampleTexture()
/third_party/skia/third_party/externals/dawn/examples/
H A DCHelloTriangle.cpp92 descriptor.multisample.count = 1; in init()
93 descriptor.multisample.mask = 0xFFFFFFFF; in init()
94 descriptor.multisample.alphaToCoverageEnabled = false; in init()
/third_party/skia/src/gpu/gl/
H A DGrGLRenderTarget.h45 bool isFBO0(bool multisample) const { in isFBO0()
46 return (multisample ? fMultisampleFBOID : fSingleSampleFBOID) == 0; in isFBO0()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
H A DWireOptionalTests.cpp129 pipelineDescriptor.multisample.count = 1; in TEST_F()
130 pipelineDescriptor.multisample.mask = 0xFFFFFFFF; in TEST_F()
131 pipelineDescriptor.multisample.alphaToCoverageEnabled = false; in TEST_F()
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dnine_pipe.h389 * In case of NONMASKABLE multisample map every quality-level
397 * If no multisample is available the function sets
398 * multisample to D3DMULTISAMPLE_NONE and returns zero.
403 D3DMULTISAMPLE_TYPE *multisample, in d3dmultisample_type_check()
409 assert(multisample); in d3dmultisample_type_check()
415 if (*multisample == D3DMULTISAMPLE_NONE) in d3dmultisample_type_check()
418 if (*multisample == D3DMULTISAMPLE_NONMASKABLE) { in d3dmultisample_type_check()
424 *multisample = 0; in d3dmultisample_type_check()
432 *multisample = i; in d3dmultisample_type_check()
401 d3dmultisample_type_check(struct pipe_screen *screen, D3DFORMAT format, D3DMULTISAMPLE_TYPE *multisample, DWORD multisamplequality, DWORD *levels) d3dmultisample_type_check() argument
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs.c532 if (key->multisample) { in fs_fb_fetch()
781 if (key->multisample) { in generate_fs_loop()
827 if (key->multisample) { in generate_fs_loop()
866 /* for multisample Z needs to be interpolated at sample points for testing. */ in generate_fs_loop()
868 key->multisample in generate_fs_loop()
873 if (key->multisample) { in generate_fs_loop()
894 key->multisample ? NULL : &mask, in generate_fs_loop()
900 !simple_shader && !key->multisample, in generate_fs_loop()
915 if (!simple_shader && key->stencil[0].enabled && !key->multisample) in generate_fs_loop()
918 if (key->multisample) { in generate_fs_loop()
[all...]
H A Dlp_setup_context.h110 unsigned multisample:1; member
218 boolean s_planes[4], bool multisample);
/third_party/skia/third_party/externals/angle2/util/
H A DEGLWindow.h50 bool multisample; member
78 // It should also be possible to set multisample and floating point framebuffers.
107 bool isMultisample() const { return mConfigParams.multisample; } in isMultisample()

Completed in 24 milliseconds

12345