Browse Source

Updated spirv-cross.

Бранимир Караџић 4 years ago
parent
commit
56e3c5e867
1 changed files with 6 additions and 0 deletions
  1. 6 0
      3rdparty/spirv-cross/spirv_cross.hpp

+ 6 - 0
3rdparty/spirv-cross/spirv_cross.hpp

@@ -498,6 +498,12 @@ public:
 	// The most common use here is to check if a buffer is readonly or writeonly.
 	// The most common use here is to check if a buffer is readonly or writeonly.
 	Bitset get_buffer_block_flags(VariableID id) const;
 	Bitset get_buffer_block_flags(VariableID id) const;
 
 
+	// Returns whether the position output is invariant
+	bool is_position_invariant() const
+	{
+		return position_invariant;
+	}
+
 protected:
 protected:
 	const uint32_t *stream(const Instruction &instr) const
 	const uint32_t *stream(const Instruction &instr) const
 	{
 	{