From: Jordan Justen
Signed-off-by: Jordan Justen
Reviewed-by: Ian Romanick
Reviewed-by: Nicolai Hähnle
Reviewed-by: Timothy Arceri
---
docs/specs/enums.txt | 3 +++
src/mapi/glapi/registry/gl.xml | 7 ++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/docs/specs/
---
src/mesa/main/dd.h | 17 +
1 file changed, 17 insertions(+)
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index da03b2e8b94..4e4d2a6f37d 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -1119,20 +1119,37 @@ struct dd_function_table {
* of fd after the ca
From: Jordan Justen
The ARB_get_program_binary extension requires that uniform values in a
program be restored to their initial value just after linking.
This patch saves off the initial values just after linking. When the
program is restored by glProgramBinary, we can use this to copy the
initi
From: Jordan Justen
This will allow us to use the program serialization to implement
ARB_get_program_binary.
Signed-off-by: Jordan Justen
Reviewed-by: Timothy Arceri
---
src/compiler/Makefile.sources |2 +
src/compiler/glsl/meson.build |2 +
src/compiler/glsl/serialize.cpp
From: Jordan Justen
Thus was merged into the OpenGL Registry in version
667c5a253781834b40a6ae9eb19d05af4542cfe1.
Ref: https://github.com/KhronosGroup/OpenGL-Registry/pull/127
Signed-off-by: Jordan Justen
Reviewed-by: Nicolai Hähnle
---
include/GL/glext.h | 5 +
include/GLES2/gl2ext.h
From: Jordan Justen
V2: call generic _mesa_get_program_binary() helper rather than driver
function directly to allow greater code sharing.
Signed-off-by: Timothy Arceri
Signed-off-by: Jordan Justen (v1)
Reviewed-by: Nicolai Hähnle (v1)
---
src/mesa/main/shaderapi.c | 15 +--
From: Jordan Justen
V2: call generic mesa_program_binary() helper rather than driver
function directly to allow greater code sharing.
Signed-off-by: Timothy Arceri
Signed-off-by: Jordan Justen (v1)
Reviewed-by: Nicolai Hähnle (v1)
---
src/mesa/main/shaderapi.c | 36 +++---
From: Jordan Justen
Signed-off-by: Jordan Justen
Reviewed-by: Timothy Arceri
---
src/mesa/drivers/dri/i965/brw_program.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_program.c
b/src/mesa/drivers/dri/i965/brw_program.c
index 2a647cdd734..30cc14e88a2 1
From: Jordan Justen
Signed-off-by: Jordan Justen
Reviewed-by: Nicolai Hähnle
---
src/mesa/main/get_hash_params.py | 2 +-
src/mesa/main/mtypes.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py
From: Jordan Justen
Signed-off-by: Jordan Justen
Reviewed-by: Timothy Arceri
---
src/mesa/drivers/dri/i965/brw_program.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/drivers/dri/i965/brw_program.c
b/src/mesa/drivers/dri/i965/brw_program.c
index c8513c947da..8d321656fef 100644
From: Jordan Justen
Signed-off-by: Jordan Justen
Reviewed-by: Timothy Arceri
---
src/mesa/drivers/dri/i965/brw_link.cpp | 9 ++---
src/mesa/drivers/dri/i965/brw_program.c | 12
src/mesa/drivers/dri/i965/brw_program.h | 3 +++
3 files changed, 17 insertions(+), 7 deletions(-
From: Jordan Justen
Signed-off-by: Jordan Justen
Reviewed-by: Timothy Arceri
---
src/mesa/drivers/dri/i965/brw_disk_cache.c | 31 --
src/mesa/drivers/dri/i965/brw_program.c| 16 +++
src/mesa/drivers/dri/i965/brw_program.h| 4
3 files change
From: Jordan Justen
Mesa supports either 0 or 1 formats. If 1 format is supported, it is
GL_PROGRAM_BINARY_FORMAT_MESA as defined in the
GL_MESA_program_binary_formats extension spec.
Signed-off-by: Jordan Justen
Reviewed-by: Nicolai Hähnle
---
src/mesa/main/get.c | 9 +
We can instead just get this from st_*_program.
---
src/mesa/state_tracker/st_program.c | 6 +++---
src/mesa/state_tracker/st_shader_cache.c | 22 --
src/mesa/state_tracker/st_shader_cache.h | 3 +--
3 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/src/me
This will be used by ARB_get_program_binary.
---
src/mesa/state_tracker/st_shader_cache.c | 6 ++
src/mesa/state_tracker/st_shader_cache.h | 3 +++
2 files changed, 9 insertions(+)
diff --git a/src/mesa/state_tracker/st_shader_cache.c
b/src/mesa/state_tracker/st_shader_cache.c
index 62d62f76
These will be shared between the on-disk shader cache and
ARB_get_program_binary.
---
src/mesa/state_tracker/st_shader_cache.c | 265 ---
src/mesa/state_tracker/st_shader_cache.h | 8 +
2 files changed, 146 insertions(+), 127 deletions(-)
diff --git a/src/mesa/state_
This resolves a game bug in Deal Island. The game doesn't properly
handle ARB_get_program_binary with 0 supported formats, and ends up
crashing.
This will enable ARB_get_program_binary binary support for any
driver that currently enables the on-disk shader cache.
Bugzilla: https://bugs.freedeskto
We will need this for ARB_get_program_binary binary support.
---
src/mesa/state_tracker/st_program.c | 21 -
src/mesa/state_tracker/st_program.h | 12
src/mesa/state_tracker/st_shader_cache.c | 15 +--
src/mesa/state_tracker/st_shader_cache.h
From: Jordan Justen
V2 (Timothy Arceri):
- add extra code comment
- stop passing around void *binary and just pass
program_binary_header *hdr instead.
- move to src/mesa/main rather than src/util
V3 (Timothy Arceri):
- Move more code out of the backend and into the common
helpers.
Sig
From: Jordan Justen
Signed-off-by: Jordan Justen
---
docs/features.txt | 2 +-
docs/relnotes/17.4.0.html | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/features.txt b/docs/features.txt
index 01cd133ef01..39aaa4f603b 100644
--- a/docs/features.txt
+++ b/docs/fe
From: Jordan Justen
V2: call generic _mesa_get_program_binary_length() helper
rather than driver function directly to allow greater
code sharing.
Signed-off-by: Timothy Arceri
Signed-off-by: Jordan Justen (v1)
Reviewed-by: Nicolai Hähnle i (v1)
---
src/mesa/main/shaderapi.c | 7 ++
From: Jordan Justen
This resolves an apparent game bug described in 85564. The game
doesn't properly handle ARB_get_program_binary with 0 supported
formats.
V2 (Timothy Arceri):
- less driver code as more has been moved into the common helpers.
Bugzilla: https://bugs.freedesktop.org/show_bug.c
From: Jordan Justen
The GL_ARB_get_program_binary extension spec says:
"If ProgramBinary fails to load a binary, no error is generated, but
any information about a previous link or load of that program object
is lost."
v2:
* Re-initialize shProg->data after clear. (Jordan)
(Required af
From: Dave Airlie
this won't change over the driver lifetime, so just set it
in the wsi_device at init, and avoid passing it around
afterwards.
Signed-off-by: Dave Airlie
---
src/amd/vulkan/radv_wsi.c | 3 +--
src/amd/vulkan/radv_wsi_x11.c | 2 --
src/intel/vulkan/anv_wsi.c
From: Dave Airlie
Jason dropped this elsewhere, just seemed to miss here.
Signed-off-by: Dave Airlie
---
src/amd/vulkan/radv_wsi_x11.c | 4 ++--
src/intel/vulkan/anv_wsi_x11.c | 4 ++--
src/vulkan/wsi/wsi_common_x11.c | 5 -
src/vulkan/wsi/wsi_common_x11.h | 1 -
4 files changed, 4 inse
https://bugs.freedesktop.org/show_bug.cgi?id=100262
Bruce Cherniak changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
For the series:
Tested-by: Dieter Nützel
on RX580
with UH, UV, DiRT Rally, some Wine apps - LS2015/LS2017
Dieter
Am 28.11.2017 14:44, schrieb Nicolai Hähnle:
From: Nicolai Hähnle
Together with "radeonsi: fix the R600_RESOURCE_FLAG_UNMAPPABLE check",
this ensures that sparse buffers are pl
Yeah... since the split of Gen4/5 and Gen6+, those checks seem vestigial
anyway. This patch is
Reviewed-by: Ian Romanick
On 11/23/2017 02:24 AM, Chris Wilson wrote:
> Since we have HW contexts on gen4/5, we could take advantage of them, as
> done for gen6+ in commit e32cd5ffbb72 ("i965: Rely on
On 11/28/2017 04:13 PM, Kenneth Graunke wrote:
> Once we reach the intended size of the buffer (BATCH_SZ or STATE_SZ), we
> try and flush. If we're not allowed to flush, we resort to growing the
> buffer so that there's space for the data we need to emit.
>
> We accidentally got the threshold wro
This seems trivially correct, so this patch is
Reviewed-by: Ian Romanick
On 11/28/2017 04:13 PM, Kenneth Graunke wrote:
> The intention here is make the new BO use the same alignment as the old
> BO. This isn't strictly necessary, but we would have to update the
> 'alignment' field in the valid
This seems trivially correct, so this patch is
Reviewed-by: Ian Romanick
On 11/28/2017 04:13 PM, Kenneth Graunke wrote:
> The original state buffer was marked with EXEC_OBJECT_CAPTURE. When
> growing it, we want to preserve that flag so we continue to capture it
> in GPU hang reports.
>
> Fixe
I didn't scrutinize every single line, but these changes all look
mechanical. This patch is
Reviewed-by: Ian Romanick
On 11/28/2017 04:13 PM, Kenneth Graunke wrote:
> We're about to add more of them, and need to pass the whole lot of them
> around together when growing them. Putting them in a
On 11/28/2017 04:13 PM, Kenneth Graunke wrote:
> Growing the batch/state buffer is a lot more dangerous than I thought.
>
> A number of places emit multiple state buffer sections, and then write
> data to the returned pointer, or save a pointer to brw->batch.state.bo
> and then use it in relocatio
On Tuesday, November 28, 2017 6:15:59 PM PST Ian Romanick wrote:
> On 11/28/2017 04:13 PM, Kenneth Graunke wrote:
> > Once we reach the intended size of the buffer (BATCH_SZ or STATE_SZ), we
> > try and flush. If we're not allowed to flush, we resort to growing the
> > buffer so that there's space
On Tuesday, November 28, 2017 6:34:20 PM PST Ian Romanick wrote:
> On 11/28/2017 04:13 PM, Kenneth Graunke wrote:
> > diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c
> > b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
> > index b30ffe5d7f6..12d165d7236 100644
> > --- a/src/mesa/drivers/
On Tue, Nov 28, 2017 at 12:35 PM, Ian Romanick wrote:
> Also... it looks like only a few patches in this series got reviewed.
> Did the whole thing actually land?
Yes, I felt safe pushing the majority of it without review because of
the extensive unit tests I wrote.
I also felt justified in push
From: Dave Airlie
This fixes overlaps where src/dst are the same.
Fixes a bunch of the deqp bitfield tests.
Signed-off-by: Dave Airlie
---
src/gallium/drivers/r600/r600_shader.c | 29 -
1 file changed, 24 insertions(+), 5 deletions(-)
diff --git a/src/gallium/driv
https://bugs.freedesktop.org/show_bug.cgi?id=103955
Ian Romanick changed:
What|Removed |Added
Status|NEW |NEEDINFO
--- Comment #4 from Ian Romanic
https://bugs.freedesktop.org/show_bug.cgi?id=103955
--- Comment #5 from Ian Romanick ---
(In reply to Ian Romanick from comment #4)
> (In reply to Ilia Mirkin from comment #3)
>
> >(expression vec3 * (record_ref (var_ref u_s) color)
> > (array_ref (record_ref (var_ref u
For the series:
Tested-by: Dieter Nützel
on RX580
with UH, UV and Blender 2.79
Dieter
Am 28.11.2017 22:17, schrieb Marek Olšák:
Hi,
This series enables DCC for MSAA on VI. MSAA array textures don't
enable DCC because the fast clear would be slightly more complicated.
GFX9 doesn't enable D
From: Dave Airlie
This just builds on the image support. Evergreen only has ssbo
for fragment and compute no other stages.
v2: handle images and ssbo in the same shader properly (Ilia)
v3: fix RESQ on buffers,
fix missing atom emit
fix first element offset
use R32 format
write se
On Tue, Nov 28, 2017 at 5:54 AM, Andres Gomez wrote:
> Matt, this looks like a good candidate to nominate for inclusion in
> the 17.2 stable queue.
>
> What do you think?
Yes, I think so. I didn't realize that ARB_shader_ballot was in 17.2,
but this is a bug fix for it so it should be included.
_
These are the refactored commits related to the GSoC project involving
adding a st/omx state tracker using tizonia.
There are still some parts of code that i didn't refactor yet as
explained below:
1) I wasn't sure if it's okay to use #if-#else declaratives for function
declarations. For eg: One fu
---
src/gallium/auxiliary/Makefile.sources | 2 +
src/gallium/auxiliary/vl/vl_screen.c | 107 +
src/gallium/auxiliary/vl/vl_screen.h | 33 +++
.../state_trackers/omx_bellagio/entrypoint.c | 83
.../state_tra
Allow only bellagio or tizonia to be used at the same time.
Detect tizonia package config file
Generate libomx_mesa.so and install it to libtizcore.pc::pluginsdir
Only compile empty source (target.c) for now.
GSoC Project link:
https://summerofcode.withgoogle.com/projects/#4737166321123328
---
c
Adds base files for adding components
---
.../state_trackers/omx/tizonia/Makefile.sources| 4 ++-
.../state_trackers/omx/tizonia/entrypoint.c| 37 ++
.../state_trackers/omx/tizonia/entrypoint.h| 35
3 files changed, 75 insertions(+), 1
Example Gstreamer pipeline :
gst-launch-1.0 filesrc location=movie.mp4 ! qtdemux ! h264parse ! avdec_h264 !
videoconvert ! omxh264enc ! h264parse ! avdec_h264 ! videoconvert ! ximagesink
---
src/gallium/state_trackers/omx/Makefile.sources| 4 +-
src/gallium/state_trackers/omx/bellagio/vid_e
Example Gstreamer pipeline :
MESA_ENABLE_OMX_EGLIMAGE=1 GST_GL_API=gles2 GST_GL_PLATFORM=egl gst-launch-1.0
filesrc location=movie.mp4 ! qtdemux ! h264parse ! omxh264dec ! glimagesink
---
src/gallium/state_trackers/omx/Makefile.am | 1 +
src/gallium/state_trackers/omx/tizonia/Makefile.a
Makes compositing under X11/GLX work.
Signed-off-by: Mario Kleiner
---
src/mesa/drivers/dri/i965/intel_tex_image.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_tex_image.c
b/src/mesa/drivers/dri/i965/intel_tex_image.c
index 37
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
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
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
Ok,
next iteration. The i965 patches are the same, except i tacked one
additional r-b by Tapani to patch 01/22 and adjusted num_formats
according to his suggestion, and rebased onto his new sRGB support
patch for i965.
New patch 02/22 adds back 10 bit handling to intelSetTexBuffer2().
That was dr
Some clients may not like RGB10X2 and RGB10A2 fbconfigs and
visuals. Add a new driconf option 'allow_rgb10_configs' to
allow per application enable/disable.
The option defaults to enabled.
v2: Rename expose_rgb10_configs to allow_rgb10_configs,
as suggested by Emil. Add comment to option pars
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
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(+
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 7e6b8b2..cc890bc 1006
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
Signed-off-by: Mario Kleiner
---
src/gallium/state_trackers/dri/dri2.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/src/gallium/state_trackers/dri/dri2.c
b/src/gallium/state_trackers/dri/dri2.c
index b8333f6..04c153a 100644
--- a/src/gallium/state_trackers/dri/dri2.c
+++ b/
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/
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 7451027..4a0b8c2 100644
--- a/src/egl/drivers/dri
Some clients may not like rgb10 fbconfigs and visuals.
Support driconf option 'allow_rgb10_configs' on gallium
to allow per application enable/disable.
The option defaults to enabled.
Signed-off-by: Mario Kleiner
---
src/gallium/auxiliary/pipe-loader/driinfo_gallium.h | 1 +
src/gallium/state_t
Signed-off-by: Mario Kleiner
---
src/mesa/state_tracker/st_cb_fbo.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/mesa/state_tracker/st_cb_fbo.c
b/src/mesa/state_tracker/st_cb_fbo.c
index e2303b4..a982f87 100644
--- a/src/mesa/state_tracker/st_cb_fbo.c
+++ b/src/mesa/state_tracke
Add it as displayable/scanout capable, so it can be
exposed as valid visual/fbconfig.
Signed-off-by: Mario Kleiner
---
src/gallium/drivers/nouveau/nv50/nv50_formats.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_formats.c
b/src/gallium/drivers/nouvea
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
Signed-off-by: Mario Kleiner
---
src/gallium/state_trackers/dri/dri2.c | 28
1 file changed, 28 insertions(+)
diff --git a/src/gallium/state_trackers/dri/dri2.c
b/src/gallium/state_trackers/dri/dri2.c
index a70f37f..b8333f6 100644
--- a/src/gallium/state_trackers/dr
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
Successfully tested under Weston 3.0.
Photometer confirms 10 rgb bits from rendering to display.
v2: Rebased onto master for dri2_teardown_wayland().
Signed-off-by: Mario Kleiner
---
src/egl/drivers/dri2/egl_dri2.h | 2 ++
src/egl/drivers/dri2/platform_wayland.c | 18 +-
Exposes RGBA 10 10 10 2 and 10 10 10 0 visuals and
fbconfigs for rendering.
Signed-off-by: Mario Kleiner
---
src/gallium/state_trackers/dri/dri_screen.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/dri/dri_screen.c
b/src/gallium/
Signed-off-by: Mario Kleiner
---
src/gallium/state_trackers/dri/dri_drawable.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/state_trackers/dri/dri_drawable.c
b/src/gallium/state_trackers/dri/dri_drawable.c
index 92ce9d2..a5999be 100644
--- a/src/gallium/state_trackers/dri/d
https://bugs.freedesktop.org/show_bug.cgi?id=103699
--- Comment #22 from Tapani Pälli ---
(In reply to Fredrik Höglund from comment #20)
> Created attachment 135782 [details]
> modified test case
>
> The window decoration is a separate texture in kwin, so the decoration
> should be rendered norm
From: Dave Airlie
This just lets us see packets marked for compute.
Signed-off-by: Dave Airlie
---
src/gallium/drivers/r600/eg_debug.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/gallium/drivers/r600/eg_debug.c
b/src/gallium/drivers/r600/eg_debug.c
in
From: Dave Airlie
---
src/gallium/drivers/r600/r600_state_common.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/drivers/r600/r600_state_common.c
b/src/gallium/drivers/r600/r600_state_common.c
index b6a4728..e312b33 100644
--- a/src/gallium/drivers/r600/r600_state_common.c
+
From: Dave Airlie
This adds support to compute for the resq workarounds (buffer/cube sizes)
Signed-off-by: Dave Airlie
---
src/gallium/drivers/r600/evergreen_compute.c | 7 +++
src/gallium/drivers/r600/r600_pipe.h | 2 ++
src/gallium/drivers/r600/r600_state_common.c | 16
From: Dave Airlie
Just reuse the cs atomics bit and emit the hw atomic state.
---
src/mesa/state_tracker/st_atom_atomicbuf.c | 4
src/mesa/state_tracker/st_context.c| 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/mesa/state_tracker/st_atom_atomicbuf.c
b/sr
From: Dave Airlie
This appears to bad, compute shaders hang without it.
---
src/gallium/drivers/r600/r600_shader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index 41af0f5..e72215f 100644
--
This set of patches enables compute shaders on r600 and exposes GLSL 4.30
support. They are pretty alpha level, but I'd like to land some of them
(maybe disabled) so I can avoid the rebasing fun with the more intrusive
ones.
It is based on the previous ssbo support patch.
It may not be stable, I
From: Dave Airlie
---
src/gallium/drivers/r600/r600_shader.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index 83b70b0..b3c29b9 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/g
From: Dave Airlie
This just makes it easier to bypass for TGSI later.
Signed-off-by: Dave Airlie
---
src/gallium/drivers/r600/evergreen_compute.c | 50
1 file changed, 28 insertions(+), 22 deletions(-)
diff --git a/src/gallium/drivers/r600/evergreen_compute.c
b/s
From: Dave Airlie
This just moves some code around to make it easier to add compute.
---
src/gallium/drivers/r600/r600_pipe.h | 10 ++
src/gallium/drivers/r600/r600_state_common.c | 24 +---
2 files changed, 27 insertions(+), 7 deletions(-)
diff --git a/src/g
From: Dave Airlie
---
src/gallium/drivers/r600/r600_pipe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/r600_pipe.c
b/src/gallium/drivers/r600/r600_pipe.c
index b013d69..e285608 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/d
From: Dave Airlie
---
src/gallium/drivers/r600/evergreen_compute.c | 28
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/src/gallium/drivers/r600/evergreen_compute.c
b/src/gallium/drivers/r600/evergreen_compute.c
index b976b61..7df1c55 100644
--- a/sr
From: Dave Airlie
---
src/gallium/drivers/r600/evergreen_compute.c | 13 -
1 file changed, 13 deletions(-)
diff --git a/src/gallium/drivers/r600/evergreen_compute.c
b/src/gallium/drivers/r600/evergreen_compute.c
index 7831b43..ff51ea3 100644
--- a/src/gallium/drivers/r600/evergreen
From: Dave Airlie
This just adds the compute paths to state handling for the
main objects
---
src/gallium/drivers/r600/evergreen_state.c | 79 ++--
src/gallium/drivers/r600/r600_hw_context.c | 2 +
src/gallium/drivers/r600/r600_pipe.h | 6 ++-
src/gallium/dr
From: Dave Airlie
---
src/gallium/drivers/r600/r600_pipe_common.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/gallium/drivers/r600/r600_pipe_common.c
b/src/gallium/drivers/r600/r600_pipe_common.c
index 23f7d74..b611783 100644
--- a/src/gallium/drivers/r600/r600_pipe_common.c
+++
From: Dave Airlie
This is needed for compute shaders.
v1.1: make work for vectors, fix missing lds ops.
Signed-off-by: Dave Airlie
---
src/gallium/drivers/r600/r600_shader.c | 165 +
1 file changed, 165 insertions(+)
diff --git a/src/gallium/drivers/r600/r600_
From: Dave Airlie
We just pass these in from outside in a constant buffer.
The shader side stores them once they are accessed once.
Signed-off-by: Dave Airlie
---
src/gallium/drivers/r600/evergreen_compute.c | 9 +++-
src/gallium/drivers/r600/r600_pipe.h | 3 ++
src/gallium/drivers/
From: Dave Airlie
This appears to cause hangs with compute images. Unless
we can find more specifics, just don't do this for now.
Signed-off-by: Dave Airlie
---
src/gallium/drivers/r600/r600_texture.c | 8
1 file changed, 8 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_text
---
src/mesa/drivers/dri/i965/brw_draw.c | 3 ++-
src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 10 ++
src/mesa/drivers/dri/i965/intel_mipmap_tree.c| 13 +
src/mesa/drivers/dri/i965/intel_mipmap_tree.h| 6 ++
4 files changed, 27 insertions(+), 5 d
From: Dave Airlie
---
src/gallium/drivers/r600/r600_pipe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_pipe.c
b/src/gallium/drivers/r600/r600_pipe.c
index 01f9bf6..b013d69 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/galli
From: Dave Airlie
This just adds support for decompressing compute resources.
Signed-off-by: Dave Airlie
---
src/gallium/drivers/r600/r600_pipe.h | 1 +
src/gallium/drivers/r600/r600_state_common.c | 31 ++--
2 files changed, 26 insertions(+), 6 deletions(-)
d
From: Dave Airlie
---
src/gallium/drivers/r600/evergreen_compute.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/src/gallium/drivers/r600/evergreen_compute.c
b/src/gallium/drivers/r600/evergreen_compute.c
index 7df1c55..b8e1c20 100644
--- a/src/gallium/drivers/r600/evergreen_comp
From: Dave Airlie
---
src/gallium/drivers/r600/evergreen_compute.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/evergreen_compute.c
b/src/gallium/drivers/r600/evergreen_compute.c
index b8e1c20..c9e649e 100644
--- a/src/gallium/drivers/r6
From: Dave Airlie
This add paths to handle TGSI compute shaders and shader selection.
It also avoids emitting certain things on tgsi paths,
CBs, vertex buffers, config reg init (not required).
---
src/gallium/drivers/r600/evergreen_compute.c | 125 -
.../drivers/r600/e
This function is used to determine when we need to re-allocate a
miptree. Since we do nothing different in miptree allocation for
sRGB vs. linear, loosening this should be safe and may lead to less
copying and reallocating in some odd cases.
Reviewed-by: Kenneth Graunke
Reviewed-by: Chad Versace
Cc: Chad Versace
---
src/intel/isl/isl.h | 24
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index e3acb0e..cf53b5a 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -1565,10 +1565,25 @@ isl_drm_modifi
This series is one more go at fixing texture_from_pixmap. The previous
patches I apparently didn't test well enough because it regressed a bunch
of tests when I ran it through Jenkins today. These are all fixed by the
new patch 1 and the corresponding hunk in patch 2. I've also re-ordered
things
The old code made a new miptree that referenced the same BO as the
renderbuffer and just trusted in the memory aliasing to work. There are
only two ways in which the new miptree is liable to differ from the one
in the renderbuffer and neither of them matter:
1) It may have a different target. T
Reviewed-by: Kenneth Graunke
Reviewed-by: Chad Versace
Cc: "17.3"
---
src/mesa/drivers/dri/i965/intel_tex_image.c | 26 +++---
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_tex_image.c
b/src/mesa/drivers/dri/i965/intel_tex_im
201 - 300 of 310 matches
Mail list logo