[Mesa-dev] [PATCH 1/7] i965/vec4: Use byte offsets for UBO pulls on Sandy Bridge

Kenneth Graunke kenneth at whitecape.org
Mon Dec 7 17:18:17 PST 2015

On Monday, December 07, 2015 04:52:21 PM Jason Ekstrand wrote:
> Previously, the VS_OPCODE_PULL_CONSTANT_LOAD opcode operated on
> vec4-aligned byte offsets on Iron Lake and below and worked in terms of
> vec4 offsets on Sandy Bridge.  On Ivy Bridge, we add a new *LOAD_GEN7
> variant which works in terms of vec4s.  We're about to change the GEN7
> version to work in terms of bytes, so this is a nice unification.
> ---
>  src/mesa/drivers/dri/i965/brw_vec4_generator.cpp | 17 +++++++++++++++--
>  src/mesa/drivers/dri/i965/brw_vec4_nir.cpp       | 18 +++++++++++++-----
>  src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp   |  6 +++---
>  3 files changed, 31 insertions(+), 10 deletions(-)

Patches 1-6 are:
Cc: "11.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

with the bug number fixed in patch 3 and
s/comps_per_component/comps_per_unit/ in the subject of patch 6.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151207/c7e1b0df/attachment.sig>

More information about the mesa-dev mailing list