This is used by st_BlitFramebuffer() / r600_blit(), and ARB_fbo allows
overlapped blits, even though the result is undefined. No piglit regressions
on r600g / CYPRESS.
---
src/gallium/auxiliary/util/u_blitter.c | 28
1 files changed, 0 insertions(+), 28 deletions(-)
We used to have to jump through hoops to call glFlush at swap buffer time,
but the flush extension made that unnecessary a long time ago.
---
src/egl/drivers/dri2/platform_wayland.c |6 --
1 file changed, 6 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_wayland.c
b/src/egl/drive
---
src/egl/drivers/dri2/platform_wayland.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/src/egl/drivers/dri2/platform_wayland.c
b/src/egl/drivers/dri2/platform_wayland.c
index 3c6bdd9..6f8f3b0 100644
--- a/src/egl/drivers/dri2/platform_wayland.c
+++ b/src/egl/driv
We used to keep the color buffers in the dri_buffers array and
swap __DRI_BUFFER_BACK_LEFT and __DRI_BUFFER_FRONT_LEFT around there
and swap third_buffer in in case we needed to triple buffer. That
gets a little fidgety with all the swaps, so lets use the
color_buffers pool like the gbm platform d
---
src/egl/drivers/dri2/platform_wayland.c | 12
1 file changed, 12 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_wayland.c
b/src/egl/drivers/dri2/platform_wayland.c
index ba54286..260a80d 100644
--- a/src/egl/drivers/dri2/platform_wayland.c
+++ b/src/egl/drivers/dri2/p
---
src/egl/drivers/dri2/egl_dri2.h |5 -
1 file changed, 5 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index fa2a9f3..eb8c06e 100644
--- a/src/egl/drivers/dri2/egl_dri2.h
+++ b/src/egl/drivers/dri2/egl_dri2.h
@@ -205,11 +205,6 @@ struct dri
---
src/egl/drivers/dri2/egl_dri2.h |1 +
src/egl/drivers/dri2/platform_drm.c | 23 +++
2 files changed, 24 insertions(+)
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index be359d3..fa2a9f3 100644
--- a/src/egl/drivers/dri2/egl_dri2.
---
src/egl/main/eglapi.h |6 ++
src/egl/main/egldisplay.h |1 +
src/egl/main/eglmisc.c|1 +
src/egl/main/eglsurface.c |8
4 files changed, 16 insertions(+)
diff --git a/src/egl/main/eglapi.h b/src/egl/main/eglapi.h
index ec3ad7e..85b8f1a 100644
--- a/src/egl/
This pulls in EGL_EXT_buffer_age.
---
include/EGL/eglext.h | 72 ++
1 file changed, 67 insertions(+), 5 deletions(-)
diff --git a/include/EGL/eglext.h b/include/EGL/eglext.h
index a5c9009..b2b5a80 100644
--- a/include/EGL/eglext.h
+++ b/include/EG
From: Jerome Glisse
htile is used for HiZ and HiS support and fast Z/S clears.
This commit just adds the htile setup and Fast Z clear.
We don't take full advantage of HiS with that patch.
v2 really use fast clear, still random issue with some tiles
need to try more flush combination, fix dept
From: Jerome Glisse
This bring r600g allmost inline with closed source driver when
it comes to flushing and synchronization pattern.
v2-v4: history lost somewhere in outer space
v5: Fix compute size of flushing, use define for flags, update
worst case cs size requirement for flush, treat rs7
Ok so this time it should be it. Following patch seems to behave properly.
I am still in process of checking again that they don't regress anything,
i should be done monday or tuesday. If there is no objection by them i
will commit them.
Note that you need kernel patch for those and that by defaul
For the patches 9 and 10:
Reviewed-by: Marek Olšák
Marek
On Thu, Dec 13, 2012 at 10:58 PM, Paul Berry wrote:
> In practice this will disable varying packing on R300, R400, i915g,
> and nv30.
>
> Marek Olšák
> ---
> src/mesa/state_tracker/st_extensions.c | 14 ++
> 1 file changed,
This patch implements varying packing between varyings.
Previously, each varying occupied components 0 through N-1 of its
assigned varying slot, so there was no way to pack two varyings into
the same slot. For example, if the varyings were a float, a vec2, a
vec3, and another vec2, they would be
In practice this will disable varying packing on R300, R400, i915g,
and nv30.
Marek Olšák
---
src/mesa/state_tracker/st_extensions.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index 726d868.
This patch implements varying packing within varyings that are
composed of multiple vectors of size less than 4 (e.g. arrays of
vec2's, or matrices with height less than 4).
Previously, such varyings used up a full 4-wide varying slot for each
constituent vector, meaning that some of the component
On hardware that supports a limited number of texture indirections,
varying packing will comsume an extra texture indirection, since ALU
operations are needed in the fragment shader to unpack the varyings
before any texturing can be done.
This patch introduces a new driver option,
ctx->Const.Disab
This lowering pass generates GLSL code that manually packs varyings
into vec4 slots, for the benefit of back-ends that don't support
packed varyings natively.
No functional change--the lowering pass is not yet used.
Reviewed-by: Eric Anholt
v2: Don't use ir_hierarchical_visitor--just loop over
This patch paves the way for varying packing by adding a sorting step
before varying assignment, which sorts the varyings into an order that
increases the likelihood of being able to find an efficient packing.
First, varyings are sorted into "packing classes" by considering
attributes that can't b
This patch further subdivides the loop that assigns varying locations
into two phases: one phase to match up the varyings between shader
stages, and one phase to assign them varying locations.
In between the two phases the matched varyings are stored in a new
data structure called varying_matches.
This patch subdivides the loop that assigns varying locations into two
phases: one phase to match up varyings between shader stages (and
assign them varying locations), and a second phase to record the
varying assignments for use by transform feedback.
This paves the way for varying packing, which
Currently, the location of each varying is recorded in ir_variable as
a multiple of the size of a vec4. In order to pack varyings, we need
to be able to record, e.g. that a vec2 is stored in the second half of
a varying slot rather than the first half.
This patch introduces a field ir_variable::l
Previously, the linker used a value of -1 in ir_variable::location to
denote a generic input or output of the shader that had not yet been
matched up to a variable in another pipeline stage.
This patch introduces a new ir_variable field,
is_unmatched_generic_inout, for that purpose.
In future pat
Previously, link_invalidate_variable_locations() was only called
during assign_attribute_or_color_locations() and
assign_varying_locations(). This meant that in the corner case when
there was only a vertex shader, and varyings were being captured by
transform feedback, link_invalidate_variable_loc
This patch modifies the clip distance lowering pass so that the new
symbol it generates (glClipDistanceMESA) is added to the shader's
symbol table.
This will allow a later patch to modify the linker so that it finds
transform feedback varyings using the symbol table rather than having
to iterate t
This is v2 of my patch series to implement varying packing. v1 was
already reviewed by Eric Anholt, so at this point I'm primarily
looking for confirmation that the changes look good.
Other than the changes that Eric recommended, what's new in this
version is:
- I've added a constant ctx->Const.
On 13 December 2012 03:44, Ian Romanick wrote:
> Patches 1 through 4 are
>
> Reviewed-by: Ian Romanick
>
> I'll try to make it through the rest tomorrow. I have skimmed them, and
> it looks mostly okay. I thing a good follow-up patch will be to pull a
> bunch of the new stuff out to a new file
On Thu, Dec 13, 2012 at 10:56:01AM -0800, Matt Turner wrote:
> On Wed, Nov 21, 2012 at 2:34 AM, Thierry Reding
> wrote:
> > On Tue, Nov 20, 2012 at 08:29:04PM +0100, Thierry Reding wrote:
> >> On Tue, Nov 20, 2012 at 11:07:03AM -0800, Matt Turner wrote:
> >> > On Tue, Nov 20, 2012 at 7:50 AM, Thie
These look great to me. The whole series is
Reviewed-by: Ian Romanick
On 12/13/2012 10:47 AM, Matt Turner wrote:
Fixes the transform_feedback2_init_defaults test from es3conform.
The ES 3 spec lists these as TRANSFORM_FEEDBACK_PAUSED and
TRANSFORM_FEEDBACK_ACTIVE.
---
src/mesa/main/get.c
---
src/gallium/drivers/r600/eg_asm.c| 2 ++
src/gallium/drivers/r600/r600_asm.c | 2 ++
src/gallium/drivers/r600/r600_llvm.c | 21 +
src/gallium/drivers/r600/r600_shader.c | 3 ++-
src/gallium/drivers/radeon/radeon_llvm.h | 1 +
5 files changed, 28 inser
On Thu, Dec 13, 2012 at 09:10:20PM +0100, Michel Dänzer wrote:
> On Die, 2012-12-11 at 18:43 +0100, Christian König wrote:
> > This patch replaces the control flow handling with a new
> > pass which structurize the graph before transforming it to
> > machine instruction. This has a couple of diffe
On Die, 2012-12-11 at 18:43 +0100, Christian König wrote:
> This patch replaces the control flow handling with a new
> pass which structurize the graph before transforming it to
> machine instruction. This has a couple of different advantages
> and currently fixes 20 piglit tests without a single
On Thu, Dec 13, 2012 at 10:56 AM, Tapani Pälli wrote:
> hash_table.c compilation requires ralloc.h include path
>
> Signed-off-by: Tapani Pälli
>
works for me
> ---
> src/mesa/Android.libmesa_glsl_utils.mk | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/mesa/Android.libmesa_
On Wed, Nov 21, 2012 at 2:34 AM, Thierry Reding
wrote:
> On Tue, Nov 20, 2012 at 08:29:04PM +0100, Thierry Reding wrote:
>> On Tue, Nov 20, 2012 at 11:07:03AM -0800, Matt Turner wrote:
>> > On Tue, Nov 20, 2012 at 7:50 AM, Thierry Reding
>> > wrote:
>> > > Override the cross_compiling and ac_tool
The ES 3 spec says that the minumum allowable value is 2^24-1, but the
GL 4.3 and ARB_ES3_compatibility specs require 2^32-1, so return 2^32-1.
Fixes es3conform's element_index_uint_constants test.
---
src/mesa/main/context.c |3 +++
src/mesa/main/get.c |6 ++
sr
>From GL/GLES/GL_CORE and GLES2 -> GL/GL_CORE/GLES2.
Yes, we really were exposing ES2_compatibility queries on ES 1.
---
src/mesa/main/get.c |6 +-
src/mesa/main/get_hash_params.py | 16 ++--
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/m
Fixes the transform_feedback2_init_defaults test from es3conform.
The ES 3 spec lists these as TRANSFORM_FEEDBACK_PAUSED and
TRANSFORM_FEEDBACK_ACTIVE.
---
src/mesa/main/get.c |7 ++-
src/mesa/main/get_hash_params.py | 10 +-
2 files changed, 11 insertions(+), 6 del
On Thu, Dec 13, 2012 at 3:11 AM, Ian Romanick wrote:
> On 12/08/2012 11:25 AM, Matt Turner wrote:
>>
>> Module: Mesa
>> Branch: gles3
>> Commit: d7063e8ee25963d08de2cd4d4ba61260c8eca9ca
>> URL:
>> http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7063e8ee25963d08de2cd4d4ba61260c8eca9ca
>>
>> Autho
Am 13.12.2012 11:26, schrieb Dave Airlie:
> From: Dave Airlie
>
> This builds on the previous draw/softpipe patch.
>
> So llvmpipe does streamout calls after clip/viewport stages,
> but we have the pre-clip position stored for later use, so
> when we are doing transform feedback, and its the pos
Patches 1 through 4 are
Reviewed-by: Ian Romanick
I'll try to make it through the rest tomorrow. I have skimmed them, and
it looks mostly okay. I thing a good follow-up patch will be to pull a
bunch of the new stuff out to a new file link_varyings.cpp or something.
linker.cpp is getting a
On 12/08/2012 11:25 AM, Matt Turner wrote:
Module: Mesa
Branch: gles3
Commit: d7063e8ee25963d08de2cd4d4ba61260c8eca9ca
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7063e8ee25963d08de2cd4d4ba61260c8eca9ca
Author: Matt Turner
Date: Fri Dec 7 16:32:30 2012 -0800
mesa/uniform_quer
On 12/08/2012 11:25 AM, Matt Turner wrote:
Module: Mesa
Branch: gles3
Commit: 6b8a9c43bb87f214782c280fa96847992032891b
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b8a9c43bb87f214782c280fa96847992032891b
Author: Matt Turner
Date: Fri Dec 7 14:26:04 2012 -0800
mesa: print unsig
From: Dave Airlie
This builds on the previous draw/softpipe patch.
So llvmpipe does streamout calls after clip/viewport stages,
but we have the pre-clip position stored for later use, so
when we are doing transform feedback, and its the position vertex
grab the vertex from the stored pre clip po
hash_table.c compilation requires ralloc.h include path
Signed-off-by: Tapani Pälli
---
src/mesa/Android.libmesa_glsl_utils.mk | 4
1 file changed, 4 insertions(+)
diff --git a/src/mesa/Android.libmesa_glsl_utils.mk
b/src/mesa/Android.libmesa_glsl_utils.mk
index 9beeda5..9c5f349 100644
--
44 matches
Mail list logo