mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 19:08:03 +03:00
i hate this thing
This commit is contained in:
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> {
|
||||
|
||||
Reference in new issue
Block a user