From b09a5295ab60131ce99027c03491c620e4eed85c Mon Sep 17 00:00:00 2001 From: chyyran Date: Thu, 20 Jul 2023 01:13:05 -0400 Subject: [PATCH] reflect: update spirv-to-dxil --- Cargo.lock | 8 ++++---- librashader-reflect/src/back/dxil.rs | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 72d9345..4a2b057 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2255,9 +2255,9 @@ dependencies = [ [[package]] name = "spirv-to-dxil" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe416a0585b1f9d8d87c563c12b45c1075921d6250d5975c34bfa95617336ee7" +checksum = "abb7466357f0e485a8f5e792863356150d5e1dbe5c44094d5f8549110319417a" dependencies = [ "bytemuck", "spirv-to-dxil-sys", @@ -2266,9 +2266,9 @@ dependencies = [ [[package]] name = "spirv-to-dxil-sys" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e28ad63f8369949dd21f4fc30e3e424902680ede7c6fbb240d889ceec9665ef" +checksum = "6439a0a9c17eac5258255dc5b42393749bcedd646c395aa636c94bd3b091a25d" dependencies = [ "bytemuck", "cmake", diff --git a/librashader-reflect/src/back/dxil.rs b/librashader-reflect/src/back/dxil.rs index 10dc31f..c3de3e3 100644 --- a/librashader-reflect/src/back/dxil.rs +++ b/librashader-reflect/src/back/dxil.rs @@ -59,6 +59,7 @@ impl CompileShader for WriteSpirV { register_space: 0, base_shader_register: 1, }, + shader_model_max: sm, ..RuntimeConfig::default() }; @@ -68,7 +69,6 @@ impl CompileShader for WriteSpirV { None, "main", ShaderStage::Vertex, - sm, ValidatorVersion::None, &config, ) @@ -79,7 +79,6 @@ impl CompileShader for WriteSpirV { None, "main", ShaderStage::Fragment, - sm, ValidatorVersion::None, &config, )