bias supported is the same as the max texture level
supported.
Fixes piglit: ext_texture_lod_bias
Fixes: c9e8b49b ("etnaviv: gallium driver for Vivante GPUs")
Cc: mesa-sta...@lists.freedesktop.org
Signed-off-by: Lucas Stach
Reviewed-by: Christian Gmeiner
---
src/gallium/drive
d
If the blit region is not aligned to the RS min alignment don't try
to execute the blit, but fall back to the software path.
Fixes: c9e8b49b ("etnaviv: gallium driver for Vivante GPUs")
Cc: mesa-sta...@lists.freedesktop.org
Signed-off-by: Lucas Stach
Reviewed-by: Christian Gmeiner
.
Fixes: c9e8b49b ("etnaviv: gallium driver for Vivante GPUs")
Cc: mesa-sta...@lists.freedesktop.org
Signed-off-by: Lucas Stach
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_clear_blit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/s
Module: Mesa
Branch: master
Commit: 82db591155ca2f79b522deaa5cd582fa0cf9461f
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=82db591155ca2f79b522deaa5cd582fa0cf9461f
Author: Christian Gmeiner
Date: Fri Jun 9 12:34:49 2017 +0200
etnaviv: add rs-operations sw query
It could be
as with the colormasks, the blend color needs to be swizzled according
to the rendertarget format.
Signed-off-by: Lucas Stach
Reviewed-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_blend.c| 35 ++
src/gallium
Module: Mesa
Branch: master
Commit: 751ae6afbefd6e0b3cbf9323995465d5a078c9fb
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=751ae6afbefd6e0b3cbf9323995465d5a078c9fb
Author: Christian Gmeiner
Date: Fri Jun 16 17:02:29 2017 +0200
etnaviv: add support for swizzled texture formats
Module: Mesa
Branch: master
Commit: 0ddcccac4f73f33e8d22368fa663e0991a704cc8
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ddcccac4f73f33e8d22368fa663e0991a704cc8
Author: Christian Gmeiner
Date: Wed Jun 21 22:36:45 2017 +0200
etnaviv: add support for extended texture formats
Module: Mesa
Branch: master
Commit: 3bbf8dcfe492560fc03145bc637f424092fd7e03
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bbf8dcfe492560fc03145bc637f424092fd7e03
Author: Christian Gmeiner
Date: Wed Jun 21 22:36:47 2017 +0200
etnaviv: add R8G8 texture support
Passes texwrap
Module: Mesa
Branch: master
Commit: d8b2ccdb880f95a15437c384257e6aeea95dba3c
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8b2ccdb880f95a15437c384257e6aeea95dba3c
Author: Christian Gmeiner
Date: Wed Jun 21 22:36:48 2017 +0200
etnaviv: add support for snorm textures
Based on a
flushing resource)
Cc: mesa-sta...@lists.freedesktop.org
Signed-off-by: Lucas Stach
Reviewed-by: Philipp Zabel
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_clear_blit.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/gallium/drivers
for Vivante GPUs)
Cc: mesa-sta...@lists.freedesktop.org
Signed-off-by: Lucas Stach
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_compiler.c | 60 ++
1 file changed, 32 insertions(+), 28 deletions(-)
diff --git a/src/gallium/drivers/etnaviv
er if allocation fails
The check for the pointer being non-NULL was being done too late.
Signed-off-by: Aleksander Morgado
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_resource.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/ga
Module: Mesa
Branch: master
Commit: 0a23841a98dacad1fbc81f34479ce194e86fc99a
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a23841a98dacad1fbc81f34479ce194e86fc99a
Author: Christian Gmeiner
Date: Sat Oct 28 17:24:58 2017 +0200
etnaviv: add ext_texture_srgb support
Following
support for hardware that supports this
(currently only GC3000 on i.MX6qp is known to have this).
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_emit.c | 8 +++
src/gallium/drivers/etnaviv/etnaviv_format.c | 30
etnav_viv commit 3b4a8ec.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_clear_blit.c | 2 +-
src/gallium/drivers/etnaviv/etnaviv_format.c | 9 +-
src/gallium/drivers/etnaviv/etnaviv_state.c | 2 +-
src/gallium/drivers
tures
HALIGN_FOUR/SIXTEEN has no meaning for compressed textures, and we can't
render to them anyway. So use the tightest possible packing. This
avoids bugs with non-power-of-two block sizes.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drive
etna_resource_needs_flush
Resources only need a resolve-to-itself if their TS is valid for any
level, not just if it happens to be allocated.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Lucas Stach
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_resource.c
etnaviv_format
Sampler TS introduces yet another format enumeration for
renderable+textureable formats. Introduce it into the etnaviv_format
table as another column.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Lucas Stach
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv
sampler TS, as
resolve-in-place will now be skipped if a resource has no (valid) TS.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_emit.c| 26 ++
src/gallium/drivers/etnaviv/etnaviv_texture.c | 74
J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/hw/common.xml.h | 2 +-
src/gallium/drivers/etnaviv/hw/common_3d.xml.h | 2 +-
src/gallium/drivers/etnaviv/hw/state.xml.h | 4 ++--
src/gallium/drivers/etnaviv/hw/state_3d.xml.h | 14
configuration
This is to make sure that the TS is properly flushed to memory before
rendering to a new surface starts.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Lucas Stach
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_emit.c | 5 +
1 file changed, 5
: Lucas Stach
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_emit.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_emit.c
b/src/gallium/drivers/etnaviv/etnaviv_emit.c
index 999d2ca06a..41504ac41f 100644
--- a
- This core must load shaders from memory (AFAIK)
- Yet another new location for UNIFORMS
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_screen.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff
HALTI5
Track varying component offset of the point size output, as well as
provide the offset of the point coord input.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_compiler.c | 21 +++--
src/gallium/drivers
Update state objects to add new state, and emit function to emit new
state.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_emit.c | 249 +++--
src/gallium/drivers/etnaviv/etnaviv_internal.h | 4 +
src
Module: Mesa
Branch: master
Commit: 150d8766eae9870bc7fc59bad0f8be8dcf6a24cd
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=150d8766eae9870bc7fc59bad0f8be8dcf6a24cd
Author: Wladimir J. van der Laan
Date: Sat Nov 18 10:44:27 2017 +0100
etnaviv: Use only DRAW_INSTANCED on GC3000+
The
..HALTI5
Update context reset for HALTI3..HALTI5, sorting states for the HALTI
version that has them.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_context.c | 37 +++
1 file changed, 32 insertions(+), 5
Need this to efficiently emit texture descriptor invalidations.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_context.c | 1 +
src/gallium/drivers/etnaviv/etnaviv_context.h | 1 +
src/gallium/drivers/etnaviv/etnaviv_emit.c| 1
etna_stall
When the BLT is involved as source or target, add an extra BLT
enable/disable sequence around the sync sequence.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_emit.c | 15 ++-
1 file changed, 14 insertions
align is not necessary and might even be harmful when using the BLT
engine for blitting.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_resource.c | 15 +
src/gallium/drivers/etnaviv/etnaviv_surface.c | 41
texture handling logic
This will be shared with the texture descriptor path.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_texture.c | 42 +--
src/gallium/drivers/etnaviv/etnaviv_texture.h | 5
2 files
functionality
Prepare for two texture handling paths, the descriptor-based
path will be added in a future commit. These are structured
so that the texture implementation handles its own state
emission.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium
is used by HALTI2+ (GC3000+) when drawing with DRAW_INSTANCED.
It is also necessary when switching between integer and floating point
vertex element formats.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_emit.c | 5
texture
This needs to be shared between texture_plain and texture_desc.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_emit.c| 12
src/gallium/drivers/etnaviv/etnaviv_texture.c | 6 ++
src/gallium/drivers
header file
Want to be able to emit state from the texture implementation,
and the blitter implementation.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_emit.c | 83 --
src/gallium/drivers/etnaviv
Add an implemenation of key clear_blit functions using the BLT engine
that replaced the RS on GC7000.
Also set level->size correctly for imported resources. This is important
for the BLT resolve-in-place path to work for them.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmei
functionality
Prepare for BLT-based blitting path by moving RS-based
blitting to the RS implementation file, making this
self-contained.
Signed-off-by: Wladimir J. van der Laan
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_clear_blit.c | 558 +--
src/gallium
esktop.org
Signed-off-by: Lucas Stach
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_rs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_rs.c
b/src/gallium/drivers/etnaviv/etnaviv_rs.c
index 3d9d6a0b35..7d9e8e0e38 100644
--- a/s
ch
Reviewed-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_state.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_state.c
b/src/gallium/drivers/etnaviv/etnaviv_state.c
index b859f40c29..e4ad0f62f1 100644
--- a/src/gallium/
101 - 139 of 139 matches
Mail list logo