[Mesa-dev] [PATCH 4/9] i965: Add a note about the late-allocation in intel_bufferobj_buffer().
eric at anholt.net
Tue Oct 8 14:00:31 PDT 2013
This was mostly for the i915 system-memory VBO code, which we don't have
any more, but since that existed we've ended up producing dependencies on
it being there.
src/mesa/drivers/dri/i965/intel_buffer_objects.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/intel_buffer_objects.c b/src/mesa/drivers/dri/i965/intel_buffer_objects.c
index 5f6b904..8a24727 100644
@@ -434,6 +434,10 @@ intel_bufferobj_buffer(struct brw_context *brw,
struct intel_buffer_object *intel_obj,
+ /* This is needed so that things like transform feedback and texture buffer
+ * objects that need a BO but don't want to check that they exist for
+ * draw-time validation can just always get a BO from a GL buffer object.
if (intel_obj->buffer == NULL)
More information about the mesa-dev