[Mesa-dev] [PATCH 24/30] i965/gs: Support UBOs by generating surface state and binding tables.
Paul Berry
stereotype441 at gmail.com
Thu Aug 22 08:29:53 PDT 2013
On 20 August 2013 11:30, Paul Berry <stereotype441 at gmail.com> wrote:
> From: Eric Anholt <eric at anholt.net>
>
> All but two of the piglit GLSL 1.50/uniform_buffer tests work, and
> maxuniformblocksize and referenced-by-shader work.
>
> v2 (Paul Berry <stereotype441 at gmail.com>): Account for Ken's recent
> binding table re-work. Use brw->vec4_gs.bind_bo_offset instead of
> brw->gs.bind_bo_offset.
> ---
> src/mesa/drivers/dri/i965/Makefile.sources | 1 +
> src/mesa/drivers/dri/i965/brw_context.h | 17 ++-
> src/mesa/drivers/dri/i965/brw_gs_emit.c | 2 +-
> src/mesa/drivers/dri/i965/brw_gs_surface_state.c | 182
> +++++++++++++++++++++++
> src/mesa/drivers/dri/i965/brw_state.h | 3 +
> src/mesa/drivers/dri/i965/brw_state_upload.c | 3 +
> src/mesa/drivers/dri/i965/gen6_sol.c | 6 +-
> 7 files changed, 208 insertions(+), 6 deletions(-)
> create mode 100644 src/mesa/drivers/dri/i965/brw_gs_surface_state.c
>
>From our in-person code review yesterday:
It became clear that I don't understand this patch as well as I should. I
need to spend more time reviewing it myself.
The ascii art tables in brw_context.h (around line 607, just above
SURF_INDEX_DRAW()) should be updated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130822/0bb2cd48/attachment.html>
More information about the mesa-dev
mailing list