i hate this thing

This commit is contained in:
elwrcl committed 2026-06-11 00:07:44 +03:00
1 parent 818cab85dc
commit cf415dfa4f
3 files changed
+74 -1

No files matched your search

@@ -503,7 +503,13 @@ impl PipeScreen {
&self,
shader: mesa_shader_stage,
) -> *const nir_shader_compiler_options {
self.screen().nir_options[shader as usize]
let ptr = self.screen().nir_options[shader as usize];
assert!(
!ptr.is_null(),
"nir_options[{:?}] is null — driver compute NIR options set edilmemiş",
shader
);
ptr
}
pub fn shader_cache(&self) -> Option<DiskCacheBorrowed> {