mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 19:55:46 +00:00
spirv: Fix implicit lod type
This commit is contained in:
parent
b597da7f2a
commit
0623915e2e
2 changed files with 5 additions and 1 deletions
|
@ -101,6 +101,10 @@ public:
|
|||
return Constant(U32[1], value);
|
||||
}
|
||||
|
||||
Id Const(f32 value) {
|
||||
return Constant(F32[1], value);
|
||||
}
|
||||
|
||||
Id Const(u32 element_1, u32 element_2) {
|
||||
return ConstantComposite(U32[2], Const(element_1), Const(element_2));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue