shader: remove the duplicate translator version declaration

The upstream merge retained both declarations and prevents the shader crate from compiling. Preserve cached user-data rows under their dedicated cache version.

Passed 282 portable shader tests and the diagnostics Windows-target check. Hardware benchmarking was unavailable.
This commit is contained in:
Tommie Hansen
2026-12-03 11:27:55 +01:00
parent 2b0adc0089
commit 966784d8ed

View File

@ -28,7 +28,6 @@ pub mod structure;
/// translates again what an earlier build of the translator cached and says
/// how many came out different: if any did, the bump was due.
pub const TRANSLATOR_VERSION: u32 = 17;
pub const TRANSLATOR_VERSION: u32 = 13;
pub use dxbc::{Container, FourCC, Part};
pub use dxil::{DxilProgram, ShaderKind, XboxExtras};