Home
last modified time | relevance | path

Searched +full:d3d12 +full:- +full:test (Results 1 – 25 of 96) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/d3d12/ci/
Dgitlab-ci.yml1 .d3d12-test:
3 - .use-windows_test_msvc
4 - .glon12-test-rules
5 stage: layered-backends
7 - windows-msvc
9 - windows-msvc
10 - windows_test_msvc
11 - !reference [.required-for-hardware-jobs, needs]
14 GALLIUM_DRIVER: d3d12
16 D3D12_AGILITY_RELATIVE_PATH: "D3D12\\"
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DD3D12ResourceWrappingTests.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
18 #include <d3d12.h>
33 return {"dawn-internal-usages"}; in GetRequiredFeatures()
44 ComPtr<ID3D12Device> d3d12Device = dawn_native::d3d12::GetD3D12Device(device.Get()); in SetUp()
46 const LUID adapterLuid = d3d12Device->GetAdapterLuid(); in SetUp()
53 hr = dxgiFactory->EnumAdapterByLuid(adapterLuid, IID_PPV_ARGS(&dxgiAdapter)); in SetUp()
95 std::unique_ptr<dawn_native::d3d12::ExternalImageDXGI>* in WrapSharedHandle()
98 HRESULT hr = mD3d11Device->CreateTexture2D(baseD3dDescriptor, nullptr, &d3d11Texture); in WrapSharedHandle()
106 hr = dxgiResource->CreateSharedHandle( in WrapSharedHandle()
111 dawn_native::d3d12::ExternalImageDescriptorDXGISharedHandle externalImageDesc; in WrapSharedHandle()
[all …]
DAdapterDiscoveryTests.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
46 class AdapterDiscoveryTests : public ::testing::Test {};
49 // Test only discovering the SwiftShader adapter
50 TEST(AdapterDiscoveryTests, OnlySwiftShader) { in TEST() function
69 // Test discovering only Vulkan adapters
70 TEST(AdapterDiscoveryTests, OnlyVulkan) { in TEST() function
87 // Test discovering only D3D12 adapters
88 TEST(AdapterDiscoveryTests, OnlyD3D12) { in TEST() function
91 dawn_native::d3d12::AdapterDiscoveryOptions options; in TEST()
99 EXPECT_EQ(properties.backendType, wgpu::BackendType::D3D12); in TEST()
[all …]
DD3D12VideoViewsTests.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
18 #include <d3d12.h>
37 ComPtr<ID3D12Device> d3d12Device = dawn_native::d3d12::GetD3D12Device(device.Get()); in SetUp()
39 const LUID adapterLuid = d3d12Device->GetAdapterLuid(); in SetUp()
46 hr = dxgiFactory->EnumAdapterByLuid(adapterLuid, IID_PPV_ARGS(&dxgiAdapter)); in SetUp()
58 // D3D12 device) must agree on resource sharing capability. For NV12 formats, D3D11 in SetUp()
59 // requires at-least D3D11_SHARED_RESOURCE_TIER_2 support. in SetUp()
60 … // https://docs.microsoft.com/en-us/windows/win32/api/d3d11/ne-d3d11-d3d11_shared_resource_tier in SetUp()
62 hr = d3d11Device->CheckFeatureSupport(D3D11_FEATURE_D3D11_OPTIONS5, &featureOptions5, in SetUp()
72 mIsMultiPlanarFormatsSupported = SupportsFeatures({"multiplanar-formats"}); in GetRequiredFeatures()
[all …]
DCopyTests.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
229 << bufferSpec.size << "-byte buffer with offset " << bufferOffset in DoTest()
313 << "-byte buffer with offset " << bufferSpec.offset << " and bytes per row " in DoTest()
335 return {"dawn-internal-usages"}; in GetRequiredFeatures()
353 // If we do this test with a CopyWithinSameTexture, it will need to have usageCopySrc in the in DoTest()
368 // This test will have two versions, one where we check the normal CopyToCopy, and for that in DoTest()
369 // we will add the CopySrc usage, and the one where we test the CopyToCopyInternal, and then in DoTest()
460 // Validate the output buffer slice-by-slice regardless of whether the destination in DoTest()
461 // texture is 3D or 2D. The dimension here doesn't matter - we're only populating the in DoTest()
482 // slice-th texture array layer of the source texture. in DoTest()
[all …]
/third_party/mesa3d/docs/relnotes/
D22.0.0.rst1 Mesa 22.0.0 Release Notes / 2022-03-09
20 ---------------
24 e6c41928b5b9917485bd67cec22d15e62cad7a358bf4c711a647979987601250 mesa-22.0.0.tar.xz
28 ------------
30 - lavapipe,radv,anv KHR_dynamic_rendering
31 - radv EXT_image_view_min_lod
32 - VK_KHR_synchronization2 on RADV.
33 - OpenSWR has been moved to the Amber branch
34 - radeonsi, zink ARB_sparse_texture
35 - d3d12 GLES3.1 (shader storage buffers, images, compute, indirect draw, draw params, ARB_framebuff…
[all …]
D21.0.0.rst1 Mesa 21.0.0 Release Notes / 2021-03-11
20 ---------------
24 e6204e98e6a8d77cf9dc5d34f99dd8e3ef7144f3601c808ca0dd26ba522e0d84 mesa-21.0.0.tar.xz
28 ------------
30 - GL_EXT_demote_to_helper_invocation on radeonsi
32 - GL_NV_compute_shader_derivatives on radeonsi
34 - EGL_MESA_platform_xcb
36 - Removed GL_NV_point_sprite for classic swrast.
38 - driconf: remove glx_disable_oml_sync_control, glx_disable_sgi_video_sync, and glx_disable_ext_buf…
40 - Removed support for loading DRI drivers older than Mesa 8.0, including all DRI1 support
[all …]
D22.2.0.rst1 Mesa 22.2.0 Release Notes / 2022-09-21
20 ---------------
24 b1f9c8fd08f2cae3adf83355bef4d2398e8025f44947332880f2d0066bdafa8c mesa-22.2.0.tar.xz
29 ------------
31 - WGL_ARB_create_context_robustness
33 - d3d12 ARB_robust_buffer_access_behavior
35 - VK_EXT_robustness2 for lavapipe
37 - VK_EXT_image_2d_view_of_3d on RADV
39 - zink and d3d12 GL_EXT_memory_object_win32 and GL_EXT_semaphore_win32 support
41 - vertexAttributeInstanceRateZeroDivisor support for lavapipe
[all …]
D24.0.0.rst1 Mesa 24.0.0 Release Notes / 2024-02-01
20 ---------------
24 dc7e8c077bc5884df95478263b34bdebb7e88e600689cb56fb07be2b8c304c36 mesa-24.0.0.tar.xz
28 ------------
30 - VK_EXT_image_compression_control on RADV
31 - VK_EXT_device_fault on RADV
32 - OpenGL 3.3 on Asahi
33 - Geometry shaders on Asahi
34 - GL_ARB_texture_cube_map_array on Asahi
35 - GL_ARB_clip_control on Asahi
[all …]
D22.1.0.rst1 Mesa 22.1.0 Release Notes / 2022-05-18
20 ---------------
24 df6270c1371eaa2aa6eb65b95cbbb2a98b14fa4b7ba0ed45e4ca2fd32df60477 mesa-22.1.0.tar.xz
28 ------------
30 - d3d12 GL4.2
31 - GL_NV_pack_subimage
32 - VK_EXT_depth_clip_control on lavapipe and RADV
33 - Vulkan 1.3 support on lavapipe
34 - VK_EXT_graphics_pipeline_library on lavapipe
35 - VK_EXT_primitives_generated_query on lavapipe
[all …]
D22.3.0.rst1 Mesa 22.3.0 Release Notes / 2022-12-02
20 ---------------
24 644bf936584548c2b88762111ad58b4aa3e4688874200e5a4eb74e53ce301746 mesa-22.3.0.tar.xz
28 ------------
30 - GL_ARB_shader_clock on llvmpipe
31 - VK_KHR_shader_clock on lavapipe
32 - Mesa-DB, the new single file cache type
33 - VK_EXT_attachment_feedback_loop_layout on RADV, lavapipe
34 - VK_KHR_global_priority on RADV
35 - GL_KHR_blend_equation_advanced_coherent on zink
[all …]
D24.3.0.rst1 Mesa 24.3.0 Release Notes / 2024-11-21
20 -------------
24 SHA256: 97813fe65028ef21b4d4e54164563059e8408d8fee3489a2323468d198bf2efc mesa-24.3.0.tar.xz
25 …821e68d7a8c37a07871d097ab17555f41a4fe716f0de7df95ad7d452b1ed57db6527838eb839ba4 mesa-24.3.0.tar.xz
29 ------------
31 - Expose Vulkan 1.3 on v3dv, both rpi4 and rpi5
32 - VK_EXT_descriptor_buffer on nvk
33 - VK_EXT_post_depth_coverage on nvk
34 - VK_KHR_video_maintenance1 on radv
35 - VK_EXT_legacy_vertex_attributes on nvk
[all …]
/third_party/mesa3d/src/microsoft/ci/
Dgitlab-ci-inc.yml1 .windows-docker-tags:
3 - windows
4 - docker
5 - "2022"
6 - mesa
8 .windows-shell-tags:
10 - windows
11 - shell
12 - "2022"
13 - mesa
[all …]
Dgitlab-ci.yml2 - local: 'src/microsoft/ci/gitlab-ci-inc.yml'
4 test-spirv2dxil-windows:
6 - .use-windows_test_msvc
7 - .spirv2dxil-test-rules
8 stage: layered-backends
10 - windows-msvc
12 - windows-msvc
13 - windows_test_msvc
14 - !reference [.required-for-hardware-jobs, needs]
18 - . _install/spirv2dxil_run.ps1
[all …]
/third_party/mesa3d/.gitlab-ci/windows/
Dmesa_deps_d3d.ps17 $depsInstallPath="C:\mesa-deps"
9 Write-Host "Downloading DirectX 12 Agility SDK at:"
10 Get-Date
11 Invoke-WebRequest -Uri https://www.nuget.org/api/v2/package/Microsoft.Direct3D.D3D12/1.614.1 -OutFi…
12 Expand-Archive -Path 'agility.zip' -DestinationPath 'C:\agility'
13 # Copy Agility SDK into mesa-deps\bin\D3D12
14 New-Item -ErrorAction SilentlyContinue -ItemType Directory -Path $depsInstallPath\bin -Name 'D3D12'
15 Copy-Item 'C:\agility\build\native\bin\x64\*.dll' -Destination $depsInstallPath\bin\D3D12
16 Remove-Item 'agility.zip'
17 Remove-Item -Recurse 'C:\agility'
[all …]
Dmesa_deps_test_deqp.ps14 $MyPath = $MyInvocation.MyCommand.Path | Split-Path -Parent
7 $source_dir = Join-Path -Path "$PWD" -ChildPath "src"
8 $deqp_source = Join-Path -Path "$source_dir" -ChildPath "VK-GL-CTS"
9 $deqp_build = Join-Path -Path "$PWD" -ChildPath "deqp"
11 Write-Host "Cloning Vulkan and GL Conformance Tests at:"
12 Get-Date
13 New-Item -ItemType Directory -Path "$deqp_source" | Out-Null
14 Push-Location -Path $deqp_source
16 git remote add origin https://github.com/KhronosGroup/VK-GL-CTS.git
17 git fetch --depth 1 origin d48899f85b486a70d090af59a1453763458611d9 # of branch vulkan-cts-1.3.8
[all …]
/third_party/mesa3d/src/gallium/targets/libgl-gdi/tests/
Dwgl_tests.cpp81 PFD_DOUBLEBUFFER, /* support double-buffering */ in window()
137 TEST(wgl, basic_create) in TEST() function
147 /* Fixture for tests for the d3d12 backend. Will be skipped if
150 #include <directx/d3d12.h>
156 class d3d12 : public ::testing::Test class
161 void d3d12::SetUp() in SetUp()
167 if (!strstr(renderer, "D3D12")) in SetUp()
174 info_queue->PushEmptyStorageFilter(); in info_queue_has_swapchain()
176 debug_device->ReportLiveDeviceObjects(D3D12_RLDO_DETAIL); in info_queue_has_swapchain()
178 uint32_t num_messages = info_queue->GetNumStoredMessages(); in info_queue_has_swapchain()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DAdapterD3D12.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
15 #include "dawn_native/d3d12/AdapterD3D12.h"
20 #include "dawn_native/d3d12/BackendD3D12.h"
21 #include "dawn_native/d3d12/D3D12Error.h"
22 #include "dawn_native/d3d12/DeviceD3D12.h"
23 #include "dawn_native/d3d12/PlatformFunctions.h"
27 namespace dawn_native { namespace d3d12 { namespace
30 : AdapterBase(backend->GetInstance(), wgpu::BackendType::D3D12), in Adapter()
40 // Via dawn_native::d3d12::ExternalImageDXGI::Create in SupportsExternalImages()
65 // D3D12 cannot check for feature support without a device. in InitializeImpl()
[all …]
DResidencyManagerD3D12.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
15 #include "dawn_native/d3d12/ResidencyManagerD3D12.h"
17 #include "dawn_native/d3d12/AdapterD3D12.h"
18 #include "dawn_native/d3d12/D3D12Error.h"
19 #include "dawn_native/d3d12/DeviceD3D12.h"
20 #include "dawn_native/d3d12/Forward.h"
21 #include "dawn_native/d3d12/HeapD3D12.h"
23 namespace dawn_native { namespace d3d12 { namespace
28 device->IsToggleEnabled(Toggle::UseD3D12ResidencyManagement)) { in ResidencyManager()
39 if (!pageable->IsInResidencyLRUCache() && !pageable->IsResidencyLocked()) { in LockAllocation()
[all …]
/third_party/skia/third_party/externals/d3d12allocator/
DREADME.md1 # D3D12 Memory Allocator
9 **Product page:** [D3D12 Memory Allocator on GPUOpen](https://gpuopen.com/gaming-product/d3d12-memo…
13 …/status/860i07bxv55ydgvg?svg=true)](https://ci.appveyor.com/project/adam-sawicki-amd/d3d12memoryal…
17-LibrariesAndSDKs/VulkanMemoryAllocator/) is a library that implements this functionality for Vulk…
23 - Allocates and keeps track of bigger memory heaps, used and unused ranges inside them, finds best …
24 - Automatically respects size and alignment requirements for created resources.
25 - Automatically handles resource heap tier - whether it's `D3D12_RESOURCE_HEAP_TIER_1` that require…
29 - Support for resource aliasing (overlap).
30 - Virtual allocator - possibility to use core allocation algorithm without using real GPU memory, t…
31 - Well-documented - description of all classes and functions provided, along with chapters that con…
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DD3D12ResidencyTests.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
16 #include "dawn_native/d3d12/BufferD3D12.h"
17 #include "dawn_native/d3d12/DeviceD3D12.h"
18 #include "dawn_native/d3d12/ResidencyManagerD3D12.h"
19 #include "dawn_native/d3d12/ShaderVisibleDescriptorAllocatorD3D12.h"
44 dawn_native::d3d12::Device* d3dDevice = in SetUp()
45 dawn_native::d3d12::ToBackend(dawn_native::FromAPI((device.Get()))); in SetUp()
46 d3dDevice->GetResidencyManager()->RestrictBudgetForTesting(kRestrictedBudgetSize); in SetUp()
96 dawn_native::d3d12::Buffer* d3dBuffer = in CheckAllocationMethod()
97 dawn_native::d3d12::ToBackend(dawn_native::FromAPI((buffer.Get()))); in CheckAllocationMethod()
[all …]
DQueryInternalShaderTests.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
56 if (abs(static_cast<int64_t>(mExpected[i] - actual[i])) > in Check()
76 // A gpu frequency on Intel D3D12 (ticks/second)
170 // Test the accuracy of timestamp compute shader which uses unsigned 32-bit integers to simulate
171 // unsigned 64-bit integers (timestamps) multiplied by float (period).
173 // - The timestamps buffer contains the original timestamps resolved from query set (created
177 // - The availability buffer passes the data of which slot in timestamps buffer is an initialized
179 // - The params buffer passes the timestamp count, the offset in timestamps buffer and the
180 // timestamp period (here use GPU frequency (HZ) on Intel D3D12 to calculate the period in
183 // TODO(crbug.com/dawn/741): Test output is wrong with D3D12 + WARP. in TEST_P()
[all …]
/third_party/skia/third_party/externals/dawn/examples/
DSampleUtils.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
58 dawn::ErrorLog() << "GLFW error: " << code << " - " << message; in PrintGLFWError()
67 // Default to D3D12, Metal, Vulkan, OpenGL in that order as D3D12 and Metal are the preferred on
70 static wgpu::BackendType backendType = wgpu::BackendType::D3D12;
105 // Create the test window and discover adapters using it (esp. for OpenGL) in CreateCppDawnDevice()
119 std::vector<dawn_native::Adapter> adapters = instance->GetAdapters(); in CreateCppDawnDevice()
121 [](const dawn_native::Adapter adapter) -> bool { in CreateCppDawnDevice()
157 c2sBuf->SetHandler(wireServer); in CreateCppDawnDevice()
164 s2cBuf->SetHandler(wireClient); in CreateCppDawnDevice()
166 auto deviceReservation = wireClient->ReserveDevice(); in CreateCppDawnDevice()
[all …]
/third_party/skia/third_party/externals/dawn/docs/
Doverview.md3-generation based on the `dawn.json` file that describes the native WebGPU API. It is used to gene…
7 - [`dawn.json`](../dawn.json): contains a description of the native WebGPU in JSON form. It is the …
8 - [`dawn_wire.json`](../dawn_wire.json): contains additional information used to generate `dawn_wir…
9 - [`examples`](../examples): a small collection of samples using the native WebGPU API. They were m…
10 - [`generator`](../generator): directory containg the code generators and their templates. Generato…
11- [`dawn_json_generator.py`](../generator/dawn_json_generator.py): the main code generator that ou…
12- [`templates`](../generator/templates): Jinja2 templates for the generator, with subdirectories f…
13 - [`infra`](../infra): configuration file for the commit-queue infrastructure.
14 - [`scripts`](../scripts): contains a grab-bag of files that are used for building Dawn, in testing…
15 - [`src`](../src):
[all …]
Ddevice_facilities.md4 There a number of facilities common to all backends that live in the frontend and backend-specific …
5 Example of frontend facilities are the management of content-less object caches, or the toggle mana…
13 With `DAWN_TRY` errors bubble up all the way to, and are "consumed" by the entry-point that was cal…
22- The device initialization creates facilities in both the backend and the frontend, which can fai…
24- Execution of commands on the GPU must be finished before the device can be destroyed (because th…
25- On creation a device might want to run some GPU commands (like initializing zero-buffers), which…
26 - A device can become "disconnected" when a TDR or hot-unplug happens.
34- `DeviceBase::DeviceBase` is called and does mostly nothing except setting `State` to `BeingCreat…
35- `backend::Device::Initialize` creates things like the underlying device and other stuff that doe…
36- It then calls `DeviceBase::Initialize` that enables the `DeviceBase` facilities and sets the `St…
[all …]

1234