mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	gl_rasterizer: Implement transform feedback bindings
This commit is contained in:
		@@ -634,6 +634,11 @@ public:
 | 
			
		||||
            u32 address_low;
 | 
			
		||||
            s32 buffer_size;
 | 
			
		||||
            s32 buffer_offset;
 | 
			
		||||
 | 
			
		||||
            GPUVAddr Address() const {
 | 
			
		||||
                return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high) << 32) |
 | 
			
		||||
                                             address_low);
 | 
			
		||||
            }
 | 
			
		||||
        };
 | 
			
		||||
        static_assert(sizeof(TransformFeedbackBinding) == 32);
 | 
			
		||||
 | 
			
		||||
@@ -652,6 +657,10 @@ public:
 | 
			
		||||
            return shader_config[index].enable != 0;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        bool IsShaderConfigEnabled(Regs::ShaderProgram type) const {
 | 
			
		||||
            return IsShaderConfigEnabled(static_cast<std::size_t>(type));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        union {
 | 
			
		||||
            struct {
 | 
			
		||||
                INSERT_UNION_PADDING_WORDS(0x45);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user