/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | MultiviewPerf.cpp | 7 // Performance tests for multiview rendering. 40 case multiview: in GetShaderExtensionHeader() 114 case multiview: 149 case multiview: in MultiviewBenchmark() 575 NoAcceleration(egl_platform::OPENGL_OR_GLES(), SmallWorkload(), ExtensionName::multiview), 576 NoAcceleration(egl_platform::D3D11(), SmallWorkload(), ExtensionName::multiview), 577 SelectViewInGeometryShader(SmallWorkload(), ExtensionName::multiview), 580 ExtensionName::multiview), 581 SelectViewInVertexShader(egl_platform::D3D11(), SmallWorkload(), ExtensionName::multiview), 597 NoAcceleration(egl_platform::OPENGL_OR_GLES(), BigWorkload(), ExtensionName::multiview), [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawBaseClass.cpp | 57 const auto multiview = (viewMask != 0u); in initialize() local 69 const auto imageViewType = (multiview ? vk::VK_IMAGE_VIEW_TYPE_2D_ARRAY : vk::VK_IMAGE_VIEW_TYPE_2D); in initialize() 117 if (multiview) in initialize() 307 const bool multiview = (m_layers > 1u); in getDefaultViewMask() local 308 const uint32_t viewMask = (multiview ? ((1u << m_layers) - 1u) : 0u); in getDefaultViewMask()
|
H A D | vktDrawMultiExtTests.cpp | 94 bool multiview; member 379 if (m_params.multiview) in checkSupport() 383 if (!multiviewFeatures.multiview) in checkSupport() 405 // The color of each triangle will depend on the instance index, the draw index and, when using multiview, the view index. This in initPrograms() 431 << (m_params.multiview ? "#extension GL_EXT_multiview : enable\n" : "") in initPrograms() 448 << " outColor.a = 255u" << (m_params.multiview ? " - uint(gl_ViewIndex)" : "") << ";\n" in initPrograms() 811 const auto imageLayers = (m_params.multiview ? 2u : 1u); in iterate() 997 renderingCreateInfo.viewMask = m_params.multiview ? (1u << subpassIdx) : 0u; in iterate() 1122 const deUint32 viewMask = m_params.multiview ? (1u << layerIdx) : 0u; in iterate() 1155 m_params.multiview in iterate() 1412 bool multiview; createDrawMultiExtTests() member [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | FramebufferMultiviewTest.cpp | 6 // Framebuffer multiview tests: 7 // The tests modify and examine the multiview state. 105 // Generate multiview FBO and attach textures. in initializeFBOs() 113 // Generate non-multiview FBOs and attach textures. in initializeFBOs() 358 // Test that glReadPixels succeeds from a layered multiview framebuffer with just one view. 383 // Test that glFramebufferTextureMultiviewOVR modifies the internal multiview state. 435 // Test framebuffer completeness when the 1st attachment has a non-multiview layout. in TEST_P() 558 // Switch to multiview framebuffer and clear portions of the texture. in TEST_P() 686 // Switch to multiview framebuffer and clear portions of the texture. in TEST_P() 771 VertexShaderOpenGL(3, 0, ExtensionName::multiview), [all...] |
H A D | MultiviewDrawTest.cpp | 7 // Test issuing multiview Draw* commands. 102 // Create draw framebuffer to be used for multiview rendering. in updateFBOs() 218 case multiview: in extensionName() 315 case multiview: in DualViewVS() 344 case multiview: in DualViewFS() 687 // the multiview extension, but the active draw framebuffer has more than one view. 1199 // Create multiview program. in TEST_P() 2289 VertexShaderOpenGL(3, minor, ExtensionName::multiview), \ 2290 VertexShaderVulkan(3, minor, ExtensionName::multiview), \ 2291 VertexShaderD3D11(3, minor, ExtensionName::multiview), \ [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_physical_device.c | 50 VkPhysicalDeviceMultiviewFeatures multiview; in vn_physical_device_init_features() member 82 VN_ADD_TO_PNEXT(local_feats.multiview, MULTIVIEW_FEATURES, features2); in vn_physical_device_init_features() 213 vk11_feats->multiview = local_feats.multiview.multiview; in vn_physical_device_init_features() 215 local_feats.multiview.multiviewGeometryShader; in vn_physical_device_init_features() 217 local_feats.multiview.multiviewTessellationShader; in vn_physical_device_init_features() 433 VkPhysicalDeviceMultiviewProperties multiview; in vn_physical_device_init_properties() member 455 VN_ADD_TO_PNEXT(local_props.multiview, MULTIVIEW_PROPERTIES, in vn_physical_device_init_properties() 542 local_props.multiview in vn_physical_device_init_properties() 1600 VkPhysicalDeviceMultiviewFeatures *multiview; vn_GetPhysicalDeviceFeatures2() member 1894 VkPhysicalDeviceMultiviewProperties *multiview; vn_GetPhysicalDeviceProperties2() member [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
H A D | MultiviewTest.h | 7 // Implementation of helpers for multiview testing. 19 multiview, enumerator 27 // Create a 2D texture array to use for multiview rendering. Texture ids should be 46 // Attach multiview textures to the framebuffer denoted by target. If there are multiple color 108 // Base class for multiview tests that don't need specific helper functions. 154 case multiview: in extensionName()
|
H A D | MultiviewTest.cpp | 7 // Implementation of helpers for multiview testing. 22 case multiview: in CreateSimplePassthroughProgram()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawMultiExtTests.cpp | 94 bool multiview; member 377 if (m_params.multiview) in checkSupport() 381 if (!multiviewFeatures.multiview) in checkSupport() 403 // The color of each triangle will depend on the instance index, the draw index and, when using multiview, the view index. This in initPrograms() 429 << (m_params.multiview ? "#extension GL_EXT_multiview : enable\n" : "") in initPrograms() 446 << " outColor.a = 255u" << (m_params.multiview ? " - uint(gl_ViewIndex)" : "") << ";\n" in initPrograms() 809 const auto imageLayers = (m_params.multiview ? 2u : 1u); in iterate() 995 renderingCreateInfo.viewMask = m_params.multiview ? (1u << subpassIdx) : 0u; in iterate() 1120 const deUint32 viewMask = m_params.multiview ? (1u << layerIdx) : 0u; in iterate() 1153 m_params.multiview in iterate() 1410 bool multiview; createDrawMultiExtTests() member [all...] |
/third_party/mesa3d/src/amd/common/ |
H A D | ac_nir.h | 146 bool multiview);
|
/third_party/mesa3d/src/mesa/main/ |
H A D | spirv_extensions.c | 105 ext->supported[SPV_KHR_multiview] = cap->multiview; in _mesa_fill_supported_spirv_extensions()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktDynamicRenderingUnusedAttachmentsTests.cpp | 808 // In non-multiview mode, we have to skip some layers manually. in iterate() 1019 for (const auto multiview : { false, true }) in createDynamicRenderingUnusedAttachmentsTests() 1023 if (multiview && viewMask == 0u) in createDynamicRenderingUnusedAttachmentsTests() 1030 multiview, in createDynamicRenderingUnusedAttachmentsTests() 1078 for (const auto multiview : { false, true }) in createDynamicRenderingUnusedAttachmentsTests() 1082 if (multiview && viewMask == 0u) in createDynamicRenderingUnusedAttachmentsTests() 1089 multiview, in createDynamicRenderingUnusedAttachmentsTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineNoPositionTests.cpp | 83 deUint32 numViews; // Number of views for multiview. 151 const bool multiview = (m_params.numViews > 1u); in initPrograms() local 155 else if (multiview) in initPrograms() 168 if (multiview || m_params.useDeviceIndexAsViewIndex) in initPrograms() 369 if (!multiviewFeatures.multiview) in checkSupport() 795 case 2u: return "multiview"; in createNoPositionTests() 805 // Shader objects do not support multiview in createNoPositionTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineNoPositionTests.cpp | 81 deUint32 numViews; // Number of views for multiview. 148 const bool multiview = (m_params.numViews > 1u); in initPrograms() local 150 if (multiview) in initPrograms() 161 *writeStrings[i] = " atomicAdd(ssbo.counters[" + de::toString(i) + (multiview ? (" + uint(gl_ViewIndex) * " + stageCountStr) : "") + "], 1u);\n"; in initPrograms() 351 if (!multiviewFeatures.multiview) in checkSupport() 762 const std::string viewGroupName ((viewCount == 1u) ? "single_view" : "multiview"); in createNoPositionTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderBuiltinTestsEXT.cpp | 149 bool multiview; member 172 Move<VkRenderPass> createCustomRenderPass (const DeviceInterface& vkd, VkDevice device, VkFormat format, bool multiview, uint32_t numLayers) in createCustomRenderPass() argument 175 const uint32_t numSubpasses = (multiview ? numLayers : 1u); in createCustomRenderPass() 235 if (multiview) in createCustomRenderPass() 283 const auto numPasses = (m_params.multiview ? m_params.numLayers : 1u); in iterate() 319 const auto renderPass = createCustomRenderPass(vkd, device, format, m_params.multiview, m_params.numLayers); in iterate() 320 const auto framebuffer = makeFramebuffer(vkd, device, renderPass.get(), colorBufferView.get(), extent.width, extent.height, (m_params.multiview ? 1u : m_params.numLayers)); in iterate() 805 false, // bool multiview; in createInstance() 940 false, // bool multiview; in createInstance() 1082 false, // bool multiview; in createInstance() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderBuiltinTestsEXT.cpp | 149 bool multiview; member 172 Move<VkRenderPass> createCustomRenderPass (const DeviceInterface& vkd, VkDevice device, VkFormat format, bool multiview, uint32_t numLayers) in createCustomRenderPass() argument 175 const uint32_t numSubpasses = (multiview ? numLayers : 1u); in createCustomRenderPass() 235 if (multiview) in createCustomRenderPass() 283 const auto numPasses = (m_params.multiview ? m_params.numLayers : 1u); in iterate() 319 const auto renderPass = createCustomRenderPass(vkd, device, format, m_params.multiview, m_params.numLayers); in iterate() 320 const auto framebuffer = makeFramebuffer(vkd, device, renderPass.get(), colorBufferView.get(), extent.width, extent.height, (m_params.multiview ? 1u : m_params.numLayers)); in iterate() 805 false, // bool multiview; in createInstance() 940 false, // bool multiview; in createInstance() 1082 false, // bool multiview; in createInstance() [all...] |
/third_party/mesa3d/src/compiler/ |
H A D | shader_info.h | 79 bool multiview; member
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/ |
H A D | vktFragmentShadingRateTests.cpp | 83 requiredFeatures = features.geometryShader || context.getMultiviewFeatures().multiview || vulkan12Features.shaderOutputViewportIndex || in testLimits() 87 log << tcu::TestLog::Message << "layeredShadingRateAttachments should only be supported if at least one of the geometryShader feature, multiview feature, " in testLimits()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/ |
H A D | vktFragmentShadingRateTests.cpp | 82 requiredFeatures = features.geometryShader || context.getMultiviewFeatures().multiview || vulkan12Features.shaderOutputViewportIndex || in testLimits() 86 log << tcu::TestLog::Message << "layeredShadingRateAttachments should only be supported if at least one of the geometryShader feature, multiview feature, " in testLimits()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktTestCase.cpp | 695 return !!m_device->getMultiviewFeatures().multiview; in isDeviceFunctionalitySupported() 708 return !!vk11Features.multiview; in isDeviceFunctionalitySupported()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkPhysicalDevice.cpp | 135 features->multiview = VK_TRUE; in getPhysicalDeviceMultiviewFeatures() 1154 CheckFeature(requested, supported, multiview) && in hasExtendedFeatures()
|
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_msl.hpp | 317 bool multiview = false; member 391 // has no effect with multiview, since all input attachments are assumed to be layered 497 // containing the view mask for the current multiview subpass. 500 return msl_options.multiview && !msl_options.view_index_from_device_index; in needs_view_mask_buffer()
|
H A D | spirv_msl.cpp | 223 (msl_options.multiview || active_input_builtins.get(BuiltInViewIndex)); in build_implicit_builtins() 291 if (!msl_options.arrayed_subpass_input || msl_options.multiview) in build_implicit_builtins() 298 if (!msl_options.multiview) in build_implicit_builtins() 427 if ((!has_frag_coord || (msl_options.multiview && !has_view_idx) || in build_implicit_builtins() 428 (msl_options.arrayed_subpass_input && !msl_options.multiview && !has_layer)) && in build_implicit_builtins() 460 if (!has_layer && msl_options.arrayed_subpass_input && !msl_options.multiview) in build_implicit_builtins() 482 if (!has_view_idx && msl_options.multiview) in build_implicit_builtins() 563 if (!has_instance_idx) // Needed by both multiview and tessellation in build_implicit_builtins() 574 if (!has_base_instance) // Needed by both multiview and tessellation in build_implicit_builtins() 1612 if (msl_options.multiview) in extract_global_variables_from_function() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ |
H A D | vktTestCase.cpp | 631 return !!m_device->getMultiviewFeatures().multiview; in isDeviceFunctionalitySupported() 644 return !!vk11Features.multiview; in isDeviceFunctionalitySupported()
|
/third_party/vulkan-loader/loader/ |
H A D | terminator.c | 166 multiview_features->multiview = VK_FALSE; in terminator_GetPhysicalDeviceFeatures2()
|