Expose position invariance.
Used with MSL to determine whether to compile with invariance preserved.
This commit is contained in:
parent
84a41cd488
commit
8e03cb60a5
@ -498,6 +498,12 @@ public:
|
||||
// The most common use here is to check if a buffer is readonly or writeonly.
|
||||
Bitset get_buffer_block_flags(VariableID id) const;
|
||||
|
||||
// Returns whether the position output is invariant
|
||||
bool is_position_invariant() const
|
||||
{
|
||||
return position_invariant;
|
||||
}
|
||||
|
||||
protected:
|
||||
const uint32_t *stream(const Instruction &instr) const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user