diff options
author | Eric Anholt <[email protected]> | 2014-05-20 11:09:57 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-07-02 12:45:58 -0700 |
commit | 44c63bdd401df9bd4095f4f081e5ab48c9044ce6 (patch) | |
tree | 1af379115acaa12ffc2071a26c6b01710fb6d8e9 /src/mesa/drivers/dri/i965/brw_context.h | |
parent | fea996c2aaf47707bd3f89ef493ae5760b4fe608 (diff) |
i965: Reuse intel_upload.c for gen4/5 constant buffers.
No performance difference on glamor with copywinwin10 (n=40) on my gm45.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index c68167f848a..f9e0c8c51d0 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -1227,11 +1227,13 @@ struct brw_context GLuint vs_size; GLuint total_size; + /** + * Pointer to the (intel_upload.c-generated) BO containing the uniforms + * for upload to the CURBE. + */ drm_intel_bo *curbe_bo; /** Offset within curbe_bo of space for current curbe entry */ GLuint curbe_offset; - /** Offset within curbe_bo of space for next curbe entry */ - GLuint curbe_next_offset; /** * Copy of the last set of CURBEs uploaded. Frequently we'll end up |