mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
Merge pull request #174 from STL1te/fix/bda-lookup-dontinline
fix(shader): BDA lookup functions are not inlined
This commit is contained in:
@@ -31,7 +31,7 @@ std::uint32_t DefineBdaLookup(SpirvEmitterState& state, const char* name, bool r
|
||||
};
|
||||
const auto function = state.module.AllocateId();
|
||||
state.module.AddName(function, name);
|
||||
state.module.AddFunction(spv::OpFunction, u64, function, spv::FunctionControlMaskNone, state.module.Type(spv::OpTypeFunction, u64, u64, u32, u32));
|
||||
state.module.AddFunction(spv::OpFunction, u64, function, spv::FunctionControlDontInlineMask, state.module.Type(spv::OpTypeFunction, u64, u64, u32, u32));
|
||||
const auto address = state.module.AllocateId();
|
||||
const auto bytes = state.module.AllocateId();
|
||||
const auto instruction = state.module.AllocateId();
|
||||
|
||||
Reference in New Issue
Block a user