Reviewed-by: Timothy Arceri
On 07/10/17 07:17, Nicolai Hähnle wrote:
From: Nicolai Hähnle
Unlike uniforms, the limit on shared memory size is not called out
explicitly in the list of things that cause linker errors, but presumably
that's just an oversight in the spec.
Fixes
dEQP-GLES31.func
On Friday, October 6, 2017 8:09:33 PM PDT Jason Ekstrand wrote:
> On October 6, 2017 8:00:04 PM Kenneth Graunke wrote:
> > diff --git a/src/mesa/drivers/dri/i965/brw_draw.c
> > b/src/mesa/drivers/dri/i965/brw_draw.c
> > index c7ed7284501..fcb194dbe86 100644
> > --- a/src/mesa/drivers/dri/i965/brw
On October 6, 2017 8:00:04 PM Kenneth Graunke wrote:
Jason and I investigated several OpenGL CTS failures where the tests
bind the same texture for rendering and texturing, at the same time.
This has defined results as long as the reads happen before writes,
or the regions are non-overlapping.
Jason and I investigated several OpenGL CTS failures where the tests
bind the same texture for rendering and texturing, at the same time.
This has defined results as long as the reads happen before writes,
or the regions are non-overlapping. Normally, this just works out.
However, CCS can cause p
On Friday, October 6, 2017 1:39:50 PM PDT Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> See the comment for the relevant spec quote.
>
> Fixes
> dEQP-GLES31.functional.srgb_texture_decode.skip_decode.srgba8.texel_fetch
> --
> Note that this is on top of the texture locking series which I hav
On Friday, October 6, 2017 1:39:51 PM PDT Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> It's not used, and the assignment for the TGSI case was incorrect
> for sampler arrays.
> ---
> src/mesa/state_tracker/st_glsl_to_nir.cpp | 1 -
> src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 4
> 2
For the series:
Reviewed-by: Marek Olšák
Marek
On Fri, Oct 6, 2017 at 10:19 PM, Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> ---
> src/mesa/state_tracker/st_texture.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/state_tracker/st_texture.h
> b/src/mes
Reviewed-by: Marek Olšák
Instead of patches 1-2, I prefer Eric's version which also adds
X1B5G5R5. You have my Rb for any leftover bits not present in Eric's
patch.
Marek
On Fri, Oct 6, 2017 at 10:41 PM, Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> Fixes dEQP-EGL.functional.image.modify
Reviewed-by: Marek Olšák
Marek
On Thu, Aug 17, 2017 at 6:10 PM, Eric Anholt wrote:
> This is how VC4 stores 5551 textures, which we need to support for
> GL_OES_required_internalformat.
>
> v2: Extend commit message, fix svga driver build, add BE ordering from
> Roland.
> ---
> src/gallium
Nicolai Hähnle writes:
> From: Nicolai Hähnle
>
> This matches the GL_UNSIGNED_SHORT_5_5_5_1 type.
Sigh, I've sent a patch for this 3 times already and not been able to
get review.
https://lists.freedesktop.org/archives/mesa-dev/2017-August/166569.html
I found that I also needed X1B5G5R5, or
https://bugs.freedesktop.org/show_bug.cgi?id=87925
Vinson Lee changed:
What|Removed |Added
Version|unspecified |10.2
--- Comment #3 from Vinson Lee ---
me
There are few other (duplicate) workarounds which have similar recommendations:
WaFlushHangWhenNonPipelineStateAndMarkerStalled
WaCSStallBefore3DSamplePattern
WaPipeControlBefore3DStateSamplePattern
WaPipeControlBefore3DStateSamplePattern has some extra recommendations if
driver is using mid batch
Am 07.10.2017 um 01:01 schrieb Nicolai Hähnle:
> On 07.10.2017 00:36, Roland Scheidegger wrote:
>> I can't help but think that there'd be none of those problems if those
>> views were actually used as specced by gallium initially: all sampler
>> views (and surfaces) are per context, and they simply
https://bugs.freedesktop.org/show_bug.cgi?id=87926
Vinson Lee changed:
What|Removed |Added
Version|git |10.5
--- Comment #2 from Vinson Lee ---
me
On 07.10.2017 00:36, Roland Scheidegger wrote:
I can't help but think that there'd be none of those problems if those
views were actually used as specced by gallium initially: all sampler
views (and surfaces) are per context, and they simply cannot be used in
another context.
That is actually t
https://bugs.freedesktop.org/show_bug.cgi?id=103031
Roland Scheidegger changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
I can't help but think that there'd be none of those problems if those
views were actually used as specced by gallium initially: all sampler
views (and surfaces) are per context, and they simply cannot be used in
another context.
Roland
Am 06.10.2017 um 22:38 schrieb Nicolai Hähnle:
> Hi all,
>
Reviewed-by: Marek Olšák
Marek
On Fri, Oct 6, 2017 at 10:21 PM, Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> ---
> src/util/disk_cache.c | 6 ++
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c
> index 63fd8e1f93a..e38cac
Reviewed-by: Marek Olšák
Marek
On Fri, Oct 6, 2017 at 10:21 PM, Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> ---
> src/util/disk_cache.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c
> index 17913a913bd..63fd8e1f93a 100644
> --- a/
Reviewed-by: Marek Olšák
Marek
On Fri, Oct 6, 2017 at 10:20 PM, Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> The uploaders can own transfers which need to be unmapped. Destroy them
> before the final sync (they're not used from the driver thread anyway)
> so that the transfer_unmap call is
Reviewed-by: Marek Olšák
Marek
On Fri, Oct 6, 2017 at 10:13 PM, Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> Applications might pass in a buffer that is sized too large and rely
> on the extra space of the buffer not being overwritten.
>
> Fixes
> dEQP-GLES31.functional.state_query.intern
It adds a _EGL_PLATFORM_TIZEN enum value to _EGLPlatformType for tizen platform.
It adds a detecting routine of tizen platform to
_eglNativePlatformDetectNativeDisplay()
and _eglGetNativePlatform().
- As tizen platform internally distinguishes native displays of tbm, drm/gbm
and wayland cl
It adds support of dri2_loader to egl dri2 tizen backend.
- referenced a basic buffer flow and management implementation from android.
And it implements a query buffer age extesion for tizen and turn on
swap_buffers_with_damage extension.
- it add color buffer related member variables to dri_e
It checks tpl-egl/libtbm/libtdm packages and defines HAVE_PLATFORM_TIZEN.
This feature is enabled by the config option '--with-platforms=tizen'
v2: Fixes from Emil's review:
- Add require_libdrm to tizen platform
Signed-off-by: Mun Gwan-gyeong
---
configure.ac | 10 --
1 file changed,
It gives a quick overview and references of developing OpenGLES / EGL
Driver for Tizen.
v2:
- Fixes from Eric's review:
Change links of Setup build environment for Tizen (Raspberry Pi 3) and
Tizen Binary Download Instructions for Raspberry Pi 3 to `tizen-` prefixed
pages.
- Add Setup R
It adds support of dri_image_loader to egl dri2 tizen backend.
- referenced a basic buffer flow and management implementation from
android's.
It adds dri_image_back/dri_image_back member variables to dri_egl_surface for
a management of back/front buffers.
v2:
- Fixes from Emil's review:
Hi,
Patch series split out refactors and "mesa for tizen".
Thease series only have mesa for tizen feature.
these depend on splited out refactors.
https://patchwork.freedesktop.org/patch/181055/
https://patchwork.freedesktop.org/patch/181056/
https://patchwork.freedesktop.org/patch/181060/
https:
In the tizen platform, a wl_buffer wraps a tbm_surface. The tbm_surface contains
gem name or prime fd. For creating dri_image, we need to extract the tbm_surface
from the wl_buffer and we use tpl_display_get_buffer_from_native_pixmap() api
for that.
v2:
a) Add switch's default case to return on
Tizen platform (actually WL_TBM protocol) internally processes similiar actions
such as mesa's BindWaylandDisplayWL/UnbindWaylandDisplayWL/QueryWaylandBufferWL.
So the platform_tizen.c needs to implemment BindWaylandDisplayWL,
UnbindWaylandDisplayWL and QueryWaylandBufferWL apart from mesa's.
-
It implements the egl swrast related features for tizen platform on
platform_tizen.c
It works with libtpl-egl (Tizen Porting Layer for egl) and libtbm (Tizen Buffer
Manager)
where back buffers of windows are backed by GEM objects. In Tizen a native
window
has a queue (tbm_surface_queue) of back
It adds TIZEN_image_native_surface extension string to _EGLExtensions.
And it adds a routine of creating an EGLImage from a tbm_surface.
- section overview
from
https://www.khronos.org/registry/EGL/extensions/TIZEN/EGL_TIZEN_image_native_surface.txt
"Tizen Buffer Manager (TBM) is a use
It adds some member variables for tizen platform on dri2_egl_display and
dri2_egl_surface.
- tpl_display stores a object which encapsulates native disply (wl_display,
gbm_device, tbm_bufmgr) for tizen platfom.
- native_win stores native window (wl_surface, gbm_surface,
tbm_surface_queue_h
To share common get and create dri_image_front code.
In preparation to adding of new platform which uses this helper.
v2:
- Remove unneeded ifdef magic
- Fixes from Eric's review:
a) Split out series of refactor for helpers to a separate series.
b) Add the new helper function and use them
To share common destroy dri_image_front code.
In preparation to adding of new platform which uses this helper.
v2:
- Move dri_image_front to outside of android ifdef block for removing of
ifdef magic on dri2_egl_surface_destroy_image_front().
- Fixes from Eric's review:
a) Split out serie
This deduplicates free routines of color_buffers array.
Signed-off-by: Mun Gwan-gyeong
---
src/egl/drivers/dri2/platform_wayland.c | 60 +
1 file changed, 31 insertions(+), 29 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_wayland.c
b/src/egl/drivers/dr
To share common destroy dri_image_back code.
In preparation to adding of new platform which uses this helper.
v2:
- Move dri_image_back to outside of android ifdef block for removing of
ifdef magic on dri2_egl_surface_destroy_image_back().
- Fixes from Eric's review:
a) Split out series o
This is added for preventing adding of new color buffers structure and back*
when new platform backend is added.
This refactoring separates out the common and platform specific bits.
This makes odd casting in the platform_foo.c but it prevents adding of new
ifdef magic.
Because of color_buffers arr
To share common record buffers and update back buffer code.
This records all the buffers created by each platform's native window and
update back buffer for updating buffer's age in swap_buffers.
In preparation to adding of new platform which uses this helper.
v2:
- Remove unnedded ifdef magic
To share common update buffer age code.
This updates old buffer's age and sets current back buffer's age to 1.
In preparation to adding of new platform which uses this helper.
v2:
- Fixes from Eric's review:
a) Split out series of refactor for helpers to a separate series.
b) Add the new h
To share common free outdated buffers and update size code.
This compares width and height arguments with current egl surface dimension,
if the compared surface dimension is differ, then it free local buffers and
updates dimension.
In preparation to adding of new platform which uses this helper.
FWIW, the drivers that really are affected currently are SVGA and
possibly virgl, because they pass Gallium calls on to a supervisor.
Since we guarantee that the creation context is still alive, those
drivers could fix any issues by adding samplers that are destroyed from
a different context to
From: Nicolai Hähnle
This affects dEQP-EGL.functional.image.modify.tex_rgb5_a1_tex_subimage_rgba8,
which implicitly tests that GLES really creates a 5551 texture when
GL_UNSIGNED_SHORT_5_5_5_1 is passed as type parameter to glTexImage*()
functions.
---
src/mesa/state_tracker/st_format.c | 4
From: Nicolai Hähnle
This matches the GL_UNSIGNED_SHORT_5_5_5_1 type.
---
src/gallium/auxiliary/util/u_format.csv | 1 +
src/gallium/auxiliary/util/u_format_tests.c | 7 +++
src/gallium/drivers/svga/svga_format.c | 1 +
src/gallium/include/pipe/p_format.h | 1 +
4 files chan
From: Nicolai Hähnle
Fixes dEQP-EGL.functional.image.modify.tex_rgb5_a1_tex_subimage_rgba8
---
src/gallium/drivers/radeonsi/si_state.c | 8
1 file changed, 8 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/si_state.c
b/src/gallium/drivers/radeonsi/si_state.c
index 99c3ca36886.
From: Nicolai Hähnle
See the comment for the relevant spec quote.
Fixes dEQP-GLES31.functional.srgb_texture_decode.skip_decode.srgba8.texel_fetch
--
Note that this is on top of the texture locking series which I have
sent out a minute ago.
---
src/mesa/main/mtypes.h | 1 +
From: Nicolai Hähnle
It's not used, and the assignment for the TGSI case was incorrect
for sampler arrays.
---
src/mesa/state_tracker/st_glsl_to_nir.cpp | 1 -
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 4
2 files changed, 5 deletions(-)
diff --git a/src/mesa/state_tracker/st_glsl_to_ni
From: Nicolai Hähnle
Move the early-out for surface-based textures earlier. This narrows the
scope of the locking added in a follow-up commit.
Fix one remaining case of initializing a surface-based texture
without properly finalizing it.
---
src/mesa/state_tracker/st_cb_texture.c | 16 -
Hi all,
This series is a first result of debugging some random crashes in dEQP's
multi-threaded EGL tests.
The OpenGL spec is pretty clear that application must not modify a texture
in one context while simultaneously using it for texturing (or even
modifying) it in another context. Texturing sim
From: Nicolai Hähnle
This fixes sequences like:
1. Context 1 samples from texture with sRGB decode enabled
2. Context 2 samples from texture with sRGB decode disabled
3. Context 1 samples from texture with sRGB decode disabled
Previously, step 3 would see the prev_sRGBDecode value from context
From: Nicolai Hähnle
Since finalization of textures is done lazily, a well-formed GL program
might enter the main part of st_finalize_texture simultaneously in two
threads.
The mutex guards against corruption of our internal data structures.
However, finalization may also involve image copies (f
From: Nicolai Hähnle
---
src/mesa/state_tracker/st_sampler_view.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/src/mesa/state_tracker/st_sampler_view.c
b/src/mesa/state_tracker/st_sampler_view.c
index 638fac671b2..de104355c04 100644
--- a/src/mesa/state_
From: Nicolai Hähnle
r600 expects the context that created the sampler view to still be alive
(there is a per-context list of sampler views).
svga currently bails when the context of destruction is not the same as
creation.
The GL state tracker, which is the only one that runs into the
multi-c
From: Nicolai Hähnle
Locking is unfortunately required, because well-formed GL programs can
have multiple threads racing to access the same texture, e.g.: two
threads/contexts rendering from the same texture, or one thread destroying
a context while the other is rendering from or modifying a text
From: Nicolai Hähnle
---
src/util/disk_cache.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c
index 17913a913bd..63fd8e1f93a 100644
--- a/src/util/disk_cache.c
+++ b/src/util/disk_cache.c
@@ -1138,20 +1138,21 @@ disk_cache_get(struct disk_cache
From: Nicolai Hähnle
---
src/util/disk_cache.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c
index 63fd8e1f93a..e38cacb259b 100644
--- a/src/util/disk_cache.c
+++ b/src/util/disk_cache.c
@@ -980,24 +980,22 @@ cache_put(voi
From: Nicolai Hähnle
The uploaders can own transfers which need to be unmapped. Destroy them
before the final sync (they're not used from the driver thread anyway)
so that the transfer_unmap call is processed by the driver.
---
src/gallium/auxiliary/util/u_threaded_context.c | 15 ---
From: Nicolai Hähnle
This can happen with surface-based texture objects derived from EGL
images, since those aren't immutable.
Fixes tests in
dEQP-EGL.functional.sharing.gles2.multithread.random.images.teximage2d.* and
others
---
src/mesa/main/texobj.c | 11 +++
src/m
From: Nicolai Hähnle
---
src/mesa/state_tracker/st_texture.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/state_tracker/st_texture.h
b/src/mesa/state_tracker/st_texture.h
index 0cde0c1f409..ea459bf6e24 100644
--- a/src/mesa/state_tracker/st_texture.h
+++ b/src/me
From: Nicolai Hähnle
In GL state, textures created from EGL images look like plain 2D textures
with a single level, so we use the existing layer_override facility and
add an analogous level_override one.
Fixes
dEQP-EGL.functional.image.create.gles2_cubemap_{positive,negative}_{x,y,z}_rgba_text
From: Nicolai Hähnle
Unlike uniforms, the limit on shared memory size is not called out
explicitly in the list of things that cause linker errors, but presumably
that's just an oversight in the spec.
Fixes
dEQP-GLES31.functional.debug.negative_coverage.{callbacks,get_error,log}.compute.exceed_s
From: Nicolai Hähnle
---
src/egl/drivers/dri2/egl_dri2.c | 23 ---
1 file changed, 20 insertions(+), 3 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 1407c96352e..171858bbcd9 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++
From: Nicolai Hähnle
Tested with dEQP-EGL tests.
---
src/gallium/state_trackers/dri/dri2.c| 8 +++-
src/gallium/state_trackers/dri/dri_helpers.c | 65 +---
src/gallium/state_trackers/dri/dri_helpers.h | 5 +++
src/mesa/state_tracker/st_cb_fbo.h | 5 ++
From: Nicolai Hähnle
---
src/egl/drivers/dri2/platform_x11_dri3.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_x11_dri3.c
b/src/egl/drivers/dri2/platform_x11_dri3.c
index 45bb56ca17e..eadd37141e0 100644
--- a/src/egl/drivers/dri2/platform_x11_dri3.c
+++ b/s
From: Nicolai Hähnle
---
src/gallium/include/state_tracker/st_api.h | 37 --
1 file changed, 37 deletions(-)
diff --git a/src/gallium/include/state_tracker/st_api.h
b/src/gallium/include/state_tracker/st_api.h
index 4d27dad5c55..2232c3efa18 100644
--- a/src/gallium/
From: Nicolai Hähnle
---
src/egl/drivers/dri2/egl_dri2.c | 54 -
1 file changed, 26 insertions(+), 28 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 0db80a091f8..1407c96352e 100644
--- a/src/egl/drivers/d
From: Nicolai Hähnle
We ought to be able to distinguish between allocation errors and bad
parameters (non-existent renderbuffer object).
Bumps the version of the DRI Image extension to 17.
---
include/GL/internal/dri_interface.h | 19 ++-
1 file changed, 18 insertions(+), 1 dele
Hi all,
It turns out that creating an EGLImage from GL_RENDERBUFFER was never
implement in st/dri, so do that.
While at it, extend the DRIImage extension so that we can return the
correct error code when e.g. a non-existing renderbuffer handle is
passed in by the application.
Please review!
Than
From: Nicolai Hähnle
Applications might pass in a buffer that is sized too large and rely
on the extra space of the buffer not being overwritten.
Fixes
dEQP-GLES31.functional.state_query.internal_format.partial_query.num_sample_counts
Cc: mesa-sta...@lists.freedesktop.org
---
src/mesa/state_t
On Friday, October 6, 2017 10:57:57 AM PDT Nanley Chery wrote:
> On Thu, Oct 05, 2017 at 10:02:39PM -0700, Kenneth Graunke wrote:
> > The bulk of the work in intel_disable_rb_aux_buffer() is finding the
> > drawbuffer index for the given BO. After that, disabling the auxiliary
> > buffers is an ea
https://bugs.freedesktop.org/show_bug.cgi?id=103128
Bug ID: 103128
Summary: [softpipe] piglit fs-ldexp regression
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Keywords: b
On Fri, Oct 6, 2017 at 11:13 AM, Nanley Chery wrote:
> On Thu, Oct 05, 2017 at 10:02:40PM -0700, Kenneth Graunke wrote:
> > Jason and I investigated several OpenGL CTS failures where the tests
> > bind the same texture for rendering and texturing, at the same time.
> > This has defined results as
On Thu, Oct 05, 2017 at 10:02:40PM -0700, Kenneth Graunke wrote:
> Jason and I investigated several OpenGL CTS failures where the tests
> bind the same texture for rendering and texturing, at the same time.
> This has defined results as long as the reads happen before writes,
> or the regions are n
On Fri, Oct 6, 2017 at 10:57 AM, Nanley Chery wrote:
> On Thu, Oct 05, 2017 at 10:02:39PM -0700, Kenneth Graunke wrote:
> > The bulk of the work in intel_disable_rb_aux_buffer() is finding the
> > drawbuffer index for the given BO. After that, disabling the auxiliary
> > buffers is an easy one l
On Thu, Oct 05, 2017 at 10:02:39PM -0700, Kenneth Graunke wrote:
> The bulk of the work in intel_disable_rb_aux_buffer() is finding the
> drawbuffer index for the given BO. After that, disabling the auxiliary
> buffers is an easy one liner.
>
> This lets us ask whether a texture is also bound as
Reviewed-by: Jordan Justen
On 2017-10-06 10:20:28, Jason Ekstrand wrote:
> It's already only ever called from brw_compile_cs and only handles
> compute intrinsics. Let's just make it CS-specific. We can always
> make it handle other stages again later if we want.
>
> Cc: Jordan Justen
>
> --
Series Reviewed-by: Jordan Justen
Although, I think you said you might rewrite patch 13 (the
thread_local_id_index patch). If you just add the small stage check I
mentioned then you can add my r-b for it.
-Jordan
On 2017-09-29 14:25:00, Jason Ekstrand wrote:
> This little series reworks basical
On Wed, Oct 4, 2017 at 7:31 PM, Jordan Justen
wrote:
> On 2017-09-29 14:25:10, Jason Ekstrand wrote:
> > Otherwise, in the ARB program case _mesa_add_state_reference may grow
> > the parameter array which will cause brw_nir_setup_arb_uniforms to write
> > past the end of the param array because i
It's already only ever called from brw_compile_cs and only handles
compute intrinsics. Let's just make it CS-specific. We can always
make it handle other stages again later if we want.
Cc: Jordan Justen
---
src/intel/Makefile.sources | 2 +-
src/intel/compiler/brw_fs.
On Fri, Oct 6, 2017 at 9:40 AM, Jordan Justen
wrote:
> On 2017-09-29 14:25:20, Jason Ekstrand wrote:
> > diff --git a/src/intel/compiler/brw_vec4_visitor.cpp
> b/src/intel/compiler/brw_vec4_visitor.cpp
> > index ff5cd2d..ae51619 100644
> > --- a/src/intel/compiler/brw_vec4_visitor.cpp
> > +++ b/s
https://bugs.freedesktop.org/show_bug.cgi?id=103126
--- Comment #1 from Alexander Tsoy ---
My GPU:
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Tonga PRO [Radeon R9 285/380] [1002:6939] (rev f1) (prog-if 00 [VGA
controller])
--
You are receiving this mail bec
https://bugs.freedesktop.org/show_bug.cgi?id=103126
Bug ID: 103126
Summary: glthread doesn't offload anything in Witcher 2
Product: Mesa
Version: 17.2
Hardware: Other
OS: All
Status: NEW
Severity: normal
On 2017-09-29 14:25:20, Jason Ekstrand wrote:
> diff --git a/src/intel/compiler/brw_vec4_visitor.cpp
> b/src/intel/compiler/brw_vec4_visitor.cpp
> index ff5cd2d..ae51619 100644
> --- a/src/intel/compiler/brw_vec4_visitor.cpp
> +++ b/src/intel/compiler/brw_vec4_visitor.cpp
> @@ -1782,6 +1782,11 @@
Quoting Erik Faye-Lund (2017-10-06 00:31:20)
> On Thu, Oct 5, 2017 at 8:59 PM, Jochen Rollwagen
> wrote:
> > Am 04.10.2017 um 05:59 schrieb Matt Turner:
> >>
> >> On Tue, Oct 3, 2017 at 11:01 AM, Jochen Rollwagen
> >> wrote:
> >>>
> >>> From 4cebe50a9bade6717923e104c954f3fad75f71bb Mon Sep 17 0
On Fri, Oct 6, 2017 at 4:39 AM, Dave Airlie wrote:
> On 6 October 2017 at 12:31, Marek Olšák wrote:
>> On Fri, Oct 6, 2017 at 4:10 AM, Connor Abbott wrote:
>>> On Thu, Oct 5, 2017 at 10:08 PM, Marek Olšák wrote:
On Fri, Oct 6, 2017 at 3:50 AM, Connor Abbott wrote:
> Why? While it migh
Quoting Daniel Stone (2017-10-06 03:28:48)
> Hi,
>
> On 5 October 2017 at 22:22, Dylan Baker wrote:
> > Quoting Eric Anholt (2017-10-05 12:43:47)
> >> Dylan Baker writes:
> >> > +install_headers('main/gbm.h')
> >> > +
> >> > +pkg.generate(
> >> > + name : 'gbm',
> >> > + filebase : 'gbm',
> >>
Quoting Daniel Stone (2017-10-06 03:25:15)
> Hi,
>
> On 5 October 2017 at 18:12, Dylan Baker wrote:
> > This gets pretty much the entire classic tree building, as well as
> > i965, including the various glapis. There are some workarounds for bugs
> > that are fixed in meson 0.43.0, which is due o
Quoting Eero Tamminen (2017-10-06 03:22:56)
> Hi,
>
> On 05.10.2017 20:12, Dylan Baker wrote:
> > This ends up being unworkable as more options get added, and with
> > description wrapped onto a new line it doesn't improve readability
> > anyway.
> >
> > Signed-off-by: Dylan Baker
> > ---
> >
Signed-off-by: Mario Kleiner
---
src/egl/drivers/dri2/platform_wayland.c | 16 +---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_wayland.c
b/src/egl/drivers/dri2/platform_wayland.c
index 08b7084..20e31aa 100644
--- a/src/egl/drivers/dri
Expose formats which are supported at least back to Gen 5 Ironlake,
possibly further. Allow creation of 10 bpc winsys buffers for drawables.
glxinfo now lists new RGBA 10 10 10 2/0 formats.
Works correctly under DRI2 without compositing.
v2: Move the BGRA/BGRX1010102 formats before the RGBA/RGBX8
To allow DRI3/Present buffer sharing for 10 bpc buffers.
Signed-off-by: Mario Kleiner
Reviewed-by: Tapani Pälli
---
src/loader/loader_dri3_helper.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/loader/loader_dri3_helper.c b/src/loader/loader_dri3_helper.c
index 19ab581..1904af7 1006
Allow DRI3/Present buffer sharing for 10 bpc buffers.
Otherwise composited desktops under DRI3 will only display
black client areas for redirected windows.
Signed-off-by: Mario Kleiner
---
src/mesa/drivers/dri/i965/intel_screen.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/mesa
Enables eglCreateImageKHR() with target set to
EGL_NATIVE_PIXMAP_KHR to handle color depth 30
X11 drawables.
Note that in theory the drawable depth 32 case in the
current implementation is ambiguous: A depth 32 drawable
could be of format ARGB or ARGB2101010, therefore an
assignment of __DRI_I
Successfully tested under Weston 3.0.
Photometer confirms 10 rgb bits from rendering to display.
Signed-off-by: Mario Kleiner
---
src/egl/drivers/dri2/platform_wayland.c | 37 ---
src/egl/wayland/wayland-drm/wayland-drm.c | 6 +
2 files changed, 40 insertions(+
For fixing eglCreateWindowSurface() under swrast, as tested
with LIBGL_ALWAYS_SOFTWARE=1.
Suggested-by: Eric Engestrom
Signed-off-by: Mario Kleiner
---
src/egl/drivers/dri2/platform_x11.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/egl/drivers/dri2/platform_x11.c
b/src/egl/drivers/
Used to support ARGB2101010 and XRGB2101010
winsys framebuffers / drawables, but added
other 10 bpc fourcc's as well for consistency
with definitions in wayland_drm.h, gbm.h, and
drm_fourcc.h.
v2: Align new defines with tabs instead of spaces, for
consistency with remainder of that block of de
Extend intel_miptree_blit() to handle at least
ARGB2101010 -> XRGB2101010, ARGB2101010 -> ARGB2101010,
and XRGB2101010 -> XRGB2101010 via the BLT engine,
but not XRGB2101010 -> ARGB2101010 yet.
This works as tested under Compiz, KDE-5, Gnome-Shell.
v2: Restrict BLT fast path to exclude XRGB210101
Similar to the matching of 24 bit RGB visuals to 32-bit
RGBA EGLConfigs, so X11 compositors won't alpha-blend any
config with a destination alpha buffer during compositing.
Additionally this fixes failure to select ARGB2101010
configs via eglChooseConfig() with EGL_ALPHA_BITS 2 on
a depth 30 X-Scr
This format + type combo is good for BGRA1010102 framebuffers
for use with glReadPixels() under GLES, so add it for the
GL_IMPLEMENTATION_COLOR_READ_TYPE_OES query.
Allows successful testing of 10 bpc / depth 30 rendering with dEQP test
case dEQP-EGL.functional.wide_color.window_1010102_colorspace
Allows to prevent exposing RGB10 configs and visuals to
clients.
v2: Rename expose_rgb10_configs to allow_rgb10_configs,
as suggested by Emil.
Signed-off-by: Mario Kleiner
---
src/mesa/drivers/dri/i965/intel_screen.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/s
Successfully tested under Weston 3.0.
Photometer confirms 10 rgb bits from rendering to display.
Signed-off-by: Mario Kleiner
---
src/egl/drivers/dri2/egl_dri2.c | 3 +++
src/egl/drivers/dri2/egl_dri2.h | 2 ++
src/egl/drivers/dri2/platform_wayland.c | 16 +++-
3 fi
1 - 100 of 179 matches
Mail list logo