glsl: copy explicit offset to uniform storage
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
@@ -97,6 +97,11 @@ private:
|
||||
this->offset, type->std140_base_alignment(row_major));
|
||||
}
|
||||
|
||||
virtual void set_buffer_offset(unsigned offset)
|
||||
{
|
||||
this->offset = offset;
|
||||
}
|
||||
|
||||
virtual void visit_field(const glsl_type *type, const char *name,
|
||||
bool row_major, const glsl_type *,
|
||||
const unsigned packing,
|
||||
|
Reference in New Issue
Block a user