mirror of
https://git.suyu.dev/suyu/sirit.git
synced 2026-02-19 08:43:01 +00:00
Add OpStore
This commit is contained in:
@@ -204,11 +204,19 @@ class Module {
|
||||
Ref Load(Ref result_type, Ref pointer,
|
||||
std::optional<spv::MemoryAccessMask> memory_access = {});
|
||||
|
||||
/// Store through a pointer.
|
||||
Ref Store(Ref pointer, Ref object,
|
||||
std::optional<spv::MemoryAccessMask> memory_access = {});
|
||||
|
||||
/// Create a pointer into a composite object that can be used with OpLoad
|
||||
/// and OpStore.
|
||||
Ref AccessChain(Ref result_type, Ref base,
|
||||
const std::vector<Ref>& indexes = {});
|
||||
|
||||
/// Make a copy of a composite object, while modifying one part of it.
|
||||
Ref CompositeInsert(Ref result_type, Ref object, Ref composite,
|
||||
const std::vector<Literal>& indexes = {});
|
||||
|
||||
// Annotation
|
||||
|
||||
/// Add a decoration to target.
|
||||
|
||||
Reference in New Issue
Block a user