mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
DXC on DX12 in CI (#4571)
This commit is contained in:
1 parent
a4b53169c6
commit
ca7ac86ccd
13 files changed
+59
-27
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 8.3 KiB |
@@ -372,8 +372,8 @@ static TEST: wgpu_example::framework::ExampleTestParams =
|
||||
comparisons: &[
|
||||
wgpu_test::ComparisonType::Mean(0.05),
|
||||
wgpu_test::ComparisonType::Percentile {
|
||||
percentile: 0.95,
|
||||
threshold: 0.05,
|
||||
percentile: 0.99,
|
||||
threshold: 0.19,
|
||||
},
|
||||
],
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
|
||||
@@ -156,7 +156,7 @@ async fn setup<E: Example>(title: &str) -> Setup {
|
||||
|
||||
log::info!("Initializing the surface...");
|
||||
|
||||
let backends = wgpu::util::backend_bits_from_env().unwrap_or_else(wgpu::Backends::all);
|
||||
let backends = wgpu::util::backend_bits_from_env().unwrap_or_default();
|
||||
let dx12_shader_compiler = wgpu::util::dx12_shader_compiler_from_env().unwrap_or_default();
|
||||
let gles_minor_version = wgpu::util::gles_minor_version_from_env().unwrap_or_default();
|
||||
|
||||
|
||||
@@ -178,7 +178,7 @@ impl Queries {
|
||||
#[cfg_attr(test, allow(unused))]
|
||||
async fn run() {
|
||||
// Instantiates instance of wgpu
|
||||
let backends = wgpu::util::backend_bits_from_env().unwrap_or_else(wgpu::Backends::all);
|
||||
let backends = wgpu::util::backend_bits_from_env().unwrap_or_default();
|
||||
let instance = wgpu::Instance::new(wgpu::InstanceDescriptor {
|
||||
backends,
|
||||
flags: wgpu::InstanceFlags::from_build_config().with_env(),
|
||||
|
||||
Reference in new issue
Block a user