History log of /external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b8b800d18a75d8d919239a91be07ac0aee42fa0d 09-Nov-2016 Rob Clark <robdclark@gmail.com> freedreno/a4xx: make _emit_const() static

Signed-off-by: Rob Clark <robdclark@gmail.com>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
7f8fd02dc7cad1ddcfb610db10ffbb41e3e34e7d 11-Jul-2016 Rob Clark <robdclark@gmail.com> freedreno: re-order support for hw queries

Push query state down to batch, and use the resource tracking to figure
out which batch(es) need to be flushed to get the query result.

This means we actually need to allocate the prsc up front, before we
know the size. So we have to add a special way to allocate an un-
backed resource, and then later allocate the backing storage.

Signed-off-by: Rob Clark <robdclark@gmail.com>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
9bbd239a4039522d7c1023ecb21764679447bb2d 20-May-2016 Rob Clark <robclark@freedesktop.org> freedreno: introduce fd_batch

Introduce the batch object, to track a batch/submit's worth of
ringbuffers and other bookkeeping. In this first step, just move
the ringbuffers into batch, since that is mostly uninteresting
churn.

For now there is just a single batch at a time. Note that one
outcome of this change is that rb's are allocated/freed on each
use. But the expectation is that the bo pool in libdrm_freedreno
will save us the GEM bo alloc/free which was the initial reason
to implement a rb pool in gallium.

The purpose of the batch is to eventually facilitate out-of-order
rendering, with batches associated to framebuffer state, and
tracking the dependencies on other batches.

Signed-off-by: Rob Clark <robdclark@gmail.com>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
663c0e5155e9916b10163c102f0ece4eda5c3154 24-Apr-2016 Rob Clark <robclark@freedesktop.org> freedreno/ir3: use pipe_debug_callback for shader-db traces

For multi-threaded shader-db support.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
2578e3edcb83511d46427591343369b1bdfbcaf3 24-Apr-2016 Rob Clark <robclark@freedesktop.org> freedreno/a4xx: add debug callback to emit

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
dd9135c452a2a457fb6cabf7de573075d22a869a 07-Mar-2016 Rob Clark <robclark@freedesktop.org> freedreno/a4xx: move where we deal w/ binning FS

Move where we pick dummy FS for binning pass, so the whole driver sees
the same dummy/no-op FS stage.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
5b955f09f72b2217576ea8980a3d8fd3ba63854a 07-Mar-2016 Rob Clark <robclark@freedesktop.org> freedreno/a4xx: constify the shader variants

Most of the driver just needs read-only access, so constify..

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
868b66fce7a156efda840c00088f89f4ba6163c9 13-Aug-2015 Rob Clark <robclark@freedesktop.org> freedreno/a4xx: fix srgb render targets

Also fixes mipmap level generation for srgb textures.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
8885f2befaea68ce7f9d550c9b9ff5ae77524406 11-Aug-2015 Rob Clark <robclark@freedesktop.org> freedreno/a4xx: point-size and spritelist fixes

a4xx needs similar treatment as 995f55a6

Also fixup a few point-size and vpsrepl issues and drop fix_blit_fp()
hack previously needed for mem2gmem.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
054526e49abb5e7fd49fed6f589cff6f1ab4c9f6 31-Jul-2015 Rob Clark <robclark@freedesktop.org> freedreno/a4xx: MRT support

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
56462a30080c1f25a81ae566d59a25d2ad6bb809 24-Jul-2015 Rob Clark <robclark@freedesktop.org> freedreno/ir3: move emit_const to ir3

Details of the cmdstream packets are different between a3xx and a4xx,
but the logic about the layout of const registers is the same, as that
is dictated by the ir3 shader compiler. So rather than duplicating
logic that is tightly coupled to ir3 between a3xx and a4xx, move this
into ir3 and use per-generation callbacks for to build the cmdstream
packets.

This should make it easier to pass additional const regs (such as for
transform feedback). And it also keeps the layout internal to ir3 in
case we want to make the layout more dynamic some day.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
8efa3e340d13a9f373e7b2834f12d9fae43e6867 30-Mar-2015 Ilia Mirkin <imirkin@alum.mit.edu> freedreno: remove alpha key from ir3_shader

This complication is unnecessary and makes MRTs more complicated and
likely to generate tons of variants.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
e9f2abe349886ae5423c7c31d201e7d587a3695a 25-Feb-2015 Rob Clark <robclark@freedesktop.org> freedreno/ir3: handle flat bypass for a4xx

We may not need this for later a4xx patchlevels, but we do at least need
this for patchlevel 0. Bypass bary.f for fetching varyings when flat
shading is needed (rather than configure via cmdstream). This requires
a special dummy bary.f w/ (ei) flag to signal to scheduler when all
varyings are consumed. And requires shader variants based on rasterizer
flatshade state to handle TGSI_INTERPOLATE_COLOR.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
e9589a8fcf60f9d04ea31e6f84f43f9d10a636da 04-Dec-2014 Rob Clark <robclark@freedesktop.org> freedreno/a4xx: fd4_util -> fd4_format

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
3e698ebf44b443f28badf7443cf9516fc404871d 29-Nov-2014 Rob Clark <robclark@freedesktop.org> freedreno/a4xx: add render target format to fd4_emit

This lets us move emitting SP_FS_MRT_REG back to fd4_program_emit.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
61c68b69d704b5faa5ff9d2b73b24bebf7e19412 31-Jul-2014 Rob Clark <robclark@freedesktop.org> freedreno: add adreno 420 support

Very initial support. Basic stuff working (es2gears, es2tri, and maybe
about half of glmark2). Expect broken stuff. Still missing: mem->gmem
(restore), queries, mipmaps (blob segfaults!), hw binning, etc.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/fd4_emit.h