[Mesa-dev] [PATCH] Remove 3D registers from compute command stream

2012-08-13 Thread archibald
Hi list, Here is my attempt at solving the task "Remove 3D registers from compute command stream" on http://dri.freedesktop.org/wiki/R600ToDo. It's my first attempt at a patch for mesa, so I'd appreciate any comments or advice that people might have. I don't have a Cayman card, so I'm not able

[Mesa-dev] [Bug 43477] rendering errors in unigine tropics and sanctuary (regression)

2012-08-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43477 Andreas Boll changed: What|Removed |Added AssignedTo|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.

[Mesa-dev] [Bug 52347] mklib: Error: no object files specified for d3d1x state tracker

2012-08-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52347 Rod changed: What|Removed |Added Severity|blocker |normal Priority|high

[Mesa-dev] [Bug 52347] mklib: Error: no object files specified for d3d1x state tracker

2012-08-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52347 Rod changed: What|Removed |Added Severity|normal |blocker Priority|medium

[Mesa-dev] [Bug 52347] mklib: Error: no object files specified for d3d1x state tracker

2012-08-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52347 Rod changed: What|Removed |Added CC||rodrigo.goya.u...@gmail.com -- Configure bugmail:

Re: [Mesa-dev] [PATCH] mesa: Use GLdouble for depthMax in final unpack conversions.

2012-08-13 Thread Brian Paul
On Mon, Aug 13, 2012 at 2:06 AM, Kenneth Graunke wrote: > The final step of _mesa_unpack_depth_span is to take the temporary > GLfloat depth values and convert them to the desired format. When > converting to GL_UNSIGNED_INTEGER with depthMax > 0xff, we use > double-precision math to avoid ov

Re: [Mesa-dev] [PATCH 8/8] mesa: Enable GL_ARB_invalidate_subdata

2012-08-13 Thread Brian Paul
On Mon, Aug 13, 2012 at 9:02 PM, Brian Paul wrote: > On Mon, Aug 13, 2012 at 7:24 PM, Ian Romanick wrote: >> From: Ian Romanick >> >> Signed-off-by: Ian Romanick >> --- >> src/mesa/main/extensions.c |1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/src/mesa/main/

Re: [Mesa-dev] [PATCH 8/8] mesa: Enable GL_ARB_invalidate_subdata

2012-08-13 Thread Brian Paul
On Mon, Aug 13, 2012 at 7:24 PM, Ian Romanick wrote: > From: Ian Romanick > > Signed-off-by: Ian Romanick > --- > src/mesa/main/extensions.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c > index 7f3aa94..9e3

Re: [Mesa-dev] [PATCH 7/8] mesa: Add skeleton implementations of glInvalidateTex{Sub, }Image

2012-08-13 Thread Brian Paul
On Mon, Aug 13, 2012 at 7:24 PM, Ian Romanick wrote: > From: Ian Romanick > > These are part of GL_ARB_invalidate_subdata (but not OpenGL ES 3.0). > > Signed-off-by: Ian Romanick > --- > src/mesa/main/api_exec.c |5 + > src/mesa/main/texobj.c | 194 >

Re: [Mesa-dev] [PATCH 6/8] mesa: Add skeleton implementations of glInvalidateBuffer{Sub, }Data

2012-08-13 Thread Brian Paul
On Mon, Aug 13, 2012 at 7:23 PM, Ian Romanick wrote: > From: Ian Romanick > > These are part of GL_ARB_invalidate_subdata (but not OpenGL ES 3.0). > > Signed-off-by: Ian Romanick > --- > src/mesa/main/bufferobj.c | 93 > + > 1 files changed, 93 ins

Re: [Mesa-dev] [PATCH] mesa: Kill GL_ARB_shadow_ambient with fire

2012-08-13 Thread Kenneth Graunke
On 08/13/2012 06:18 PM, Ian Romanick wrote: > From: Ian Romanick > > No driver supports this extension, and it seems unlikely than any driver > ever will. I think r300c may have supported it at one time, but that > driver has already been removed. > > Signed-off-by: Ian Romanick Reviewed-by:

Re: [Mesa-dev] [PATCH] mesa: Kill GL_ARB_shadow_ambient with fire

2012-08-13 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Tue, Aug 14, 2012 at 3:18 AM, Ian Romanick wrote: > From: Ian Romanick > > No driver supports this extension, and it seems unlikely than any driver > ever will. I think r300c may have supported it at one time, but that > driver has already been removed. > > S

[Mesa-dev] [PATCH 6/6] r600g: rename r600_resource_texture to r600_texture

2012-08-13 Thread Marek Olšák
--- src/gallium/drivers/r600/compute_memory_pool.c |6 ++-- .../drivers/r600/evergreen_compute_internal.c |4 +-- src/gallium/drivers/r600/evergreen_state.c |8 ++--- src/gallium/drivers/r600/r600_blit.c | 20 ++-- src/gallium/drivers/r600/r600_

[Mesa-dev] [PATCH 5/6] r600g: always put tiled textures in VRAM

2012-08-13 Thread Marek Olšák
--- src/gallium/drivers/r600/r600_texture.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 8252da3..7cb1d5f 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/driv

[Mesa-dev] [PATCH 4/6] r600g: cleanup r600_resource_texture in favor of radeon_surface

2012-08-13 Thread Marek Olšák
--- .../drivers/r600/evergreen_compute_internal.c | 10 ++ src/gallium/drivers/r600/evergreen_state.c |6 +++--- src/gallium/drivers/r600/r600_blit.c |6 +++--- src/gallium/drivers/r600/r600_resource.h |8 src/gallium/drivers/r600

[Mesa-dev] [PATCH 3/6] r600g: remove unused parameter in r600_texture_create_object

2012-08-13 Thread Marek Olšák
--- src/gallium/drivers/r600/r600_texture.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index d957b26..913cbb6 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/d

[Mesa-dev] [PATCH 2/6] r600g: fixup the usage flag for the flushed depth texture

2012-08-13 Thread Marek Olšák
--- src/gallium/drivers/r600/r600_texture.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index f4c30de..d957b26 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/driver

[Mesa-dev] [PATCH 1/6] gallium/u_blitter: document custom meta helpers

2012-08-13 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_blitter.c |4 ++-- src/gallium/auxiliary/util/u_blitter.h | 19 ++- src/gallium/drivers/r300/r300_blit.c |2 +- src/gallium/drivers/r600/r600_blit.c |4 ++-- 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/src/gall

[Mesa-dev] [PATCH 8/8] mesa: Enable GL_ARB_invalidate_subdata

2012-08-13 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/main/extensions.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 7f3aa94..9e357cd 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/exten

[Mesa-dev] [PATCH 7/8] mesa: Add skeleton implementations of glInvalidateTex{Sub, }Image

2012-08-13 Thread Ian Romanick
From: Ian Romanick These are part of GL_ARB_invalidate_subdata (but not OpenGL ES 3.0). Signed-off-by: Ian Romanick --- src/mesa/main/api_exec.c |5 + src/mesa/main/texobj.c | 194 ++ src/mesa/main/texobj.h |8 ++ 3 files changed, 207 in

[Mesa-dev] [PATCH 6/8] mesa: Add skeleton implementations of glInvalidateBuffer{Sub, }Data

2012-08-13 Thread Ian Romanick
From: Ian Romanick These are part of GL_ARB_invalidate_subdata (but not OpenGL ES 3.0). Signed-off-by: Ian Romanick --- src/mesa/main/bufferobj.c | 93 + 1 files changed, 93 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/bufferobj.c b/sr

[Mesa-dev] [PATCH 5/8] mesa/es: Pass context to _mesa_init_bufferobj_dispatch

2012-08-13 Thread Ian Romanick
From: Ian Romanick With this change _mesa_init_bufferobj_dispatch won't set function pointers that don't exist in OpenGL ES. Signed-off-by: Ian Romanick --- src/mesa/main/api_exec.c |2 +- src/mesa/main/bufferobj.c | 10 +++--- src/mesa/main/bufferobj.h |3 ++- 3 files changed,

[Mesa-dev] [PATCH 2/8] intel: Implement ARB_texture_storage

2012-08-13 Thread Ian Romanick
From: Ian Romanick This is basically cut-and-paste from the swrast implementation, and it could probably be (slightly) more optimal. Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/intel/intel_extensions.c |1 + src/mesa/drivers/dri/intel/intel_tex.c| 26

[Mesa-dev] [PATCH 4/8] mesa: Add skeleton implementations of glInvalidate{Sub, }Framebuffer

2012-08-13 Thread Ian Romanick
From: Ian Romanick These are part of GL_ARB_invalidate_subdata and OpenGL ES 3.0. Signed-off-by: Ian Romanick --- src/mesa/main/api_exec.c |5 ++ src/mesa/main/fbobject.c | 141 ++ src/mesa/main/fbobject.h |9 +++ 3 files changed, 155 insert

[Mesa-dev] [PATCH 3/8] glapi: Add GL_ARB_invalidate_subdata

2012-08-13 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/ARB_invalidate_subdata.xml | 48 + src/mapi/glapi/gen/gl_API.xml |2 + 2 files changed, 50 insertions(+), 0 deletions(-) create mode 100644 src/mapi/glapi/gen/ARB_invalidate_subd

[Mesa-dev] [PATCH] mesa: Kill GL_ARB_shadow_ambient with fire

2012-08-13 Thread Ian Romanick
From: Ian Romanick No driver supports this extension, and it seems unlikely than any driver ever will. I think r300c may have supported it at one time, but that driver has already been removed. Signed-off-by: Ian Romanick --- .../drivers/r300/compiler/radeon_compiler.h|1 - .../dr

[Mesa-dev] [PATCH] i965: Fix bug in the old FS backend's projtex() calculation.

2012-08-13 Thread Eric Anholt
In the old backend, we looked at any FS attribute's proj_attrib_mask bits, not just texcoords. Now that we have _mesa_vert_result_to_frag_attrib(), we can fill in the other FS inputs with correct proj_attrib_mask info. https://bugs.freedesktop.org/show_bug.cgi?id=46644 --- src/mesa/drivers/dri/i

Re: [Mesa-dev] [PATCH weston 2/2] compositor: add support for OES_EGL_image_external

2012-08-13 Thread Rob Clark
On Mon, Aug 13, 2012 at 5:39 PM, Rob Clark wrote: > From: Rob Clark > > In cases where the GPU can natively handle certain YUV formats, > eglQueryWaylandBufferWL() can return the value EGL_TEXTURE_EXTERNAL_OES > and the compositor will treat the buffer as a single egl-image-external. > > See: > h

[Mesa-dev] [PATCH] i965/msaa: Add sample-alpha-to-coverage support for multiple render targets

2012-08-13 Thread Anuj Phogat
Render Target Write message should include source zero alpha value when sample-alpha-to-coverage is enabled for an FBO with multiple render targets. Source zero alpha value is used as fragment coverage for all the render targets. This patch makes piglit tests draw-buffers-alpha-to-coverage and al

Re: [Mesa-dev] [PATCH] i965/msaa: Add sample-alpha-to-coverage support for multiple render targets

2012-08-13 Thread Anuj Phogat
On Tue, Aug 7, 2012 at 9:23 AM, Eric Anholt wrote: > Anuj Phogat writes: > >> Render Target Write message should include source zero alpha value when >> sample-alpha-to-coverage is enabled for an FBO with multiple render targets. >> Source zero alpha value is used as fragment coverage for all th

[Mesa-dev] [PATCH weston 2/2] compositor: add support for OES_EGL_image_external

2012-08-13 Thread Rob Clark
From: Rob Clark In cases where the GPU can natively handle certain YUV formats, eglQueryWaylandBufferWL() can return the value EGL_TEXTURE_EXTERNAL_OES and the compositor will treat the buffer as a single egl-image-external. See: http://www.khronos.org/registry/gles/extensions/OES/OES_EGL_image_

[Mesa-dev] [PATCH weston 1/2] compositor: a couple debug logs

2012-08-13 Thread Rob Clark
From: Rob Clark Well, they were useful to me in debugging, so probably sooner or later useful to someone else. Signed-off-by: Rob Clark --- src/compositor.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index ed887a4..b2a3ae9 1

[Mesa-dev] [PATCH mesa] add EGL_TEXTURE_EXTERNAL_OES to WL_bind_wayland_display

2012-08-13 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark --- docs/WL_bind_wayland_display.spec |5 + include/EGL/eglmesaext.h |1 + 2 files changed, 6 insertions(+) diff --git a/docs/WL_bind_wayland_display.spec b/docs/WL_bind_wayland_display.spec index 02bd6ea..7b09212 100644 --- a/docs

Re: [Mesa-dev] [PATCH 1/5] radeon/llvm: add support to fetch temps as vectors

2012-08-13 Thread Alex Deucher
On Mon, Aug 13, 2012 at 7:29 AM, Christian König wrote: > Necessary for texture fetches with temp regs as source on SI. > > Signed-off-by: Christian König For the series: Reviewed-by: Alex Deucher > --- > .../drivers/radeon/radeon_setup_tgsi_llvm.c| 12 +++- > 1 file changed

[Mesa-dev] [Bug 53458] New: SCons KeyError: 'top_srcdir':

2012-08-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53458 Bug #: 53458 Summary: SCons KeyError: 'top_srcdir': Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: All Status: NEW

Re: [Mesa-dev] [PATCH 5/8 v2] build: Fix out-of-tree generation of builtin_function.cpp

2012-08-13 Thread Kenneth Graunke
On 08/13/2012 12:48 PM, Matt Turner wrote: > Cc: Kenneth Graunke > --- > Added builtins/* back, with $(srcdir) to fix out-of-tree builds. > > src/glsl/Makefile.am |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am > index

[Mesa-dev] [PATCH 5/8 v2] build: Fix out-of-tree generation of builtin_function.cpp

2012-08-13 Thread Matt Turner
Cc: Kenneth Graunke --- Added builtins/* back, with $(srcdir) to fix out-of-tree builds. src/glsl/Makefile.am |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am index 0ab6672..20639c9 100644 --- a/src/glsl/Makefile.am +++ b/src

Re: [Mesa-dev] breakage from "Make shared-glapi the default"

2012-08-13 Thread Matt Turner
On Thu, Aug 9, 2012 at 8:09 AM, Brian Paul wrote: > As of commit 9f7b3d171306ed2ae588e1a4145c5a364cf986ff, when I try to > configure and build with: > > $ CFLAGS=-g ./autogen.sh --enable-xlib-glx --with-x --disable-driglx-direct > --disable-dri --enable-debug --enable-gles1 --enable-gles2 --enabl

Re: [Mesa-dev] [PATCH 2/2] gbm: Use libkms to work around missing cursor support in dri drivers

2012-08-13 Thread Kristian Høgsberg
On Mon, Aug 13, 2012 at 1:00 PM, Scott Moreau wrote: > > > On Mon, Aug 13, 2012 at 10:51 AM, Kristian Høgsberg > wrote: >> >> On Mon, Aug 13, 2012 at 10:16 AM, Jakob Bornecrantz >> wrote: >> > Uses libkms to work around missing dri image cursor support. One could >> > take >> > this patch one st

Re: [Mesa-dev] [PATCH 05/19] gallium/tgsi: fix TGSI text parser

2012-08-13 Thread Jose Fonseca
I'm not familiar with this code in detail, but sound good to me. Jose - Original Message - > The problem was that the string matching succeeded e.g. for "2D" when > there > was actually "2D_MSAA" and then failed parsing "_MSAA". > > To prevent similar failures in the future, let's fix th

Re: [Mesa-dev] [PATCH 2/2] gbm: Use libkms to work around missing cursor support in dri drivers

2012-08-13 Thread Scott Moreau
On Mon, Aug 13, 2012 at 10:51 AM, Kristian Høgsberg wrote: > On Mon, Aug 13, 2012 at 10:16 AM, Jakob Bornecrantz > wrote: > > Uses libkms to work around missing dri image cursor support. One could > take > > this patch one step futher and removing cursor surfaces entirely from > the DRI > > inter

Re: [Mesa-dev] [PATCH 04/19] gallium/u_blit: set dst format from pipe_resource, not pipe_surface

2012-08-13 Thread Jose Fonseca
Makes sense. Reviewed-by: Jose Fonseca Jose - Original Message - > We use it to decide whether we can use resource_copy_region. > > NOTE: This is a candidate for the 8.0 branch. > --- > src/gallium/auxiliary/util/u_blit.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [Mesa-dev] [PATCH 1/2] egl_dri2: Avoid using createSubImage when not neccassery

2012-08-13 Thread Kristian Høgsberg
On Mon, Aug 13, 2012 at 10:16 AM, Jakob Bornecrantz wrote: > Makes it possible to run Wayland on Gallium drivers. At least a bit until > it tries to use gbm cursor bo's. Reviewed-by: Kristian Høgsberg > Signed-off-by: Jakob Bornecrantz > --- > src/egl/drivers/dri2/egl_dri2.c | 22 ++

Re: [Mesa-dev] [PATCH 2/2] gbm: Use libkms to work around missing cursor support in dri drivers

2012-08-13 Thread Kristian Høgsberg
On Mon, Aug 13, 2012 at 10:16 AM, Jakob Bornecrantz wrote: > Uses libkms to work around missing dri image cursor support. One could take > this patch one step futher and removing cursor surfaces entirely from the DRI > interface and as a consequence also from the Gallium interface. Tho to make > e

Re: [Mesa-dev] [PATCH] intel: Don't advertise GLX_SWAP_COPY_OML

2012-08-13 Thread Eric Anholt
Ian Romanick writes: > The tail should not wag the dog. If the application requests such a > config, we should not page flip. There are cases where the copy is > preferable because it leaves the backbuffer intact. Well, that would require extra work in dri2 to use the older copyregion interface

Re: [Mesa-dev] [PATCH] intel: fix glClear for 8xx

2012-08-13 Thread Eric Anholt
Tapani Pälli writes: > earlier patch to check only for API_OPENGLES broke this, patch adds > additional check against ARB_fragment_shader extension existence. Reviewed-by: Eric Anholt pgpV1H514VMFI.pgp Description: PGP signature ___ mesa-dev mailing

Re: [Mesa-dev] [PATCH 1/5] radeon/llvm: add support to fetch temps as vectors

2012-08-13 Thread Tom Stellard
On Mon, Aug 13, 2012 at 01:29:45PM +0200, Christian König wrote: > Necessary for texture fetches with temp regs as source on SI. > Reviewed-by: Tom Stellard > Signed-off-by: Christian König > --- > .../drivers/radeon/radeon_setup_tgsi_llvm.c| 12 +++- > 1 file changed, 11 ins

Re: [Mesa-dev] [PATCH] r600g: implement timestamp query and get_timestamp hook

2012-08-13 Thread Alex Deucher
On Sun, Aug 12, 2012 at 11:54 AM, Marek Olšák wrote: > --- > src/gallium/drivers/r600/r600_pipe.c | 13 - > src/gallium/drivers/r600/r600_query.c | 17 - > src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 21 > + >

[Mesa-dev] [PATCH 2/2] gbm: Use libkms to work around missing cursor support in dri drivers

2012-08-13 Thread Jakob Bornecrantz
Uses libkms to work around missing dri image cursor support. One could take this patch one step futher and removing cursor surfaces entirely from the DRI interface and as a consequence also from the Gallium interface. Tho to make everybody happy with this it would probably require adding a kms_bo_w

[Mesa-dev] [PATCH 1/2] egl_dri2: Avoid using createSubImage when not neccassery

2012-08-13 Thread Jakob Bornecrantz
Makes it possible to run Wayland on Gallium drivers. At least a bit until it tries to use gbm cursor bo's. Signed-off-by: Jakob Bornecrantz --- src/egl/drivers/dri2/egl_dri2.c | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/src/egl/drivers/dri2/egl_d

Re: [Mesa-dev] [PATCH demos] eglkms: Track mesa function rename.

2012-08-13 Thread Kristian Høgsberg
Just commited it, thanks. Kristian On Mon, Aug 13, 2012 at 2:56 AM, Scott Moreau wrote: > Hi. I tried to build mesa demos today but this problem still exists. Is > there anything that can be done so demos builds against latest mesa? > > > > Thanks, > > Scott _

[Mesa-dev] [PATCH 2/2] gallium: remove questionable PIPE_USAGE_DEFAULT, use STATIC instead

2012-08-13 Thread Marek Olšák
Despite the comment and documentation, drivers interpreted it as STATIC. --- src/gallium/auxiliary/vl/vl_winsys_xsp.c |2 +- src/gallium/docs/source/screen.rst |5 ++--- src/gallium/drivers/nouveau/nouveau_buffer.c |1 - src/gallium/drivers/r600/r600_buf

[Mesa-dev] [PATCH 1/2] gallium: remove PIPE_USAGE_IMMUTABLE, use STATIC instead

2012-08-13 Thread Marek Olšák
--- src/gallium/auxiliary/vl/vl_idct.c |2 +- src/gallium/auxiliary/vl/vl_zscan.c|4 ++-- src/gallium/docs/source/screen.rst |3 +-- src/gallium/drivers/i915/i915_resource_buffer.c|2 +- src/gallium/drivers/llvmpipe/lp_texture.c

[Mesa-dev] [PATCH] android: do not expose single buffered eglconfigs

2012-08-13 Thread Tapani Pälli
On Android we want to add only double buffered configs for visuals. Earlier implementation set the SurfaceType as 0 for single buffered configs but driver still exposed these configs that were not compatible with any egl surface type. This caused Khronos conformance test runs to fail on Android. Th

[Mesa-dev] [PATCH 5/5] radeonsi: move ps sampler state into PM4 stream

2012-08-13 Thread Christian König
Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/si_state.c | 24 +++- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index bbbf203..3bd1500 100644 --- a/src/gal

[Mesa-dev] [PATCH 4/5] radeonsi: move ps sampler views into PM4 stream

2012-08-13 Thread Christian König
Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/si_state.c | 29 +++-- 1 file changed, 7 insertions(+), 22 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 1d6d214..bbbf203 100644 --- a/sr

[Mesa-dev] [PATCH 1/5] radeon/llvm: add support to fetch temps as vectors

2012-08-13 Thread Christian König
Necessary for texture fetches with temp regs as source on SI. Signed-off-by: Christian König --- .../drivers/radeon/radeon_setup_tgsi_llvm.c| 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c b/src/galliu

[Mesa-dev] [PATCH 2/5] radeonsi: add shader data infrastructure

2012-08-13 Thread Christian König
With this we can embed data for the shaders (like resource descriptors) into the PM4 stream. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_pm4.c | 28 +++ src/gallium/drivers/radeonsi/radeonsi_pm4.h | 13 +++-- src/gallium/drivers/ra

[Mesa-dev] [PATCH 3/5] radeonsi: move vertex state descriptors into PM4 stream

2012-08-13 Thread Christian König
Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/si_state_draw.c | 36 +++--- 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index 43644e5..c865eec 100

Re: [Mesa-dev] [PATCH] scons: Add option to enable floating-point textures.

2012-08-13 Thread Jose Fonseca
Reviewed-by: Jose Fonseca - Original Message - > Signed-off-by: Vinson Lee > --- > common.py| 1 + > scons/gallium.py | 4 > 2 files changed, 5 insertions(+) > > diff --git a/common.py b/common.py > index 6121a41..6ff9608 100644 > --- a/common.py > +++ b/common.py > @@ -98

Re: [Mesa-dev] [PATCH] llvmpipe: Silence Coverity incorrect sizeof expression defect.

2012-08-13 Thread Jose Fonseca
Good catch. Thanks. Reviewed-by: Jose Fonseca - Original Message - > Signed-off-by: Vinson Lee > --- > src/gallium/drivers/llvmpipe/lp_state_setup.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/gallium/drivers/llvmpipe/lp_state_setup.c > b/src/gallium/

Re: [Mesa-dev] [PATCH] i965/gen7: Add support for GL_ARB_timer_query.

2012-08-13 Thread Jose Fonseca
- Original Message - > Needs updated libdrm. > --- > > My home hardware collection is a mess right now, and testing > ARB_timer_query requires examining rollover behavior, so this is > gen7-only for the moment. I do eventually want to enable it all the > way back to g45 (the earliest us

[Mesa-dev] [PATCH] mesa: Use GLdouble for depthMax in final unpack conversions.

2012-08-13 Thread Kenneth Graunke
The final step of _mesa_unpack_depth_span is to take the temporary GLfloat depth values and convert them to the desired format. When converting to GL_UNSIGNED_INTEGER with depthMax > 0xff, we use double-precision math to avoid overflow and precision problems. Or at least that's the idea. Unf

[Mesa-dev] [PATCH] i965: Fix accumulator_contains() test to also reject swizzles of the dst.

2012-08-13 Thread Eric Anholt
When faced with this sequence: MOV R1, c[1]; MAD R0, R2, R1.x, R1.y; we were concluding that the MOV of R1 set up our accumulator and so we could just use the previous result. Only, it's got R1.xyzw in it instead of the r1.y we're looking for. Bugzilla: https://bugs.free

Re: [Mesa-dev] [PATCH demos] eglkms: Track mesa function rename.

2012-08-13 Thread Scott Moreau
Hi. I tried to build mesa demos today but this problem still exists. Is there anything that can be done so demos builds against latest mesa? Thanks, Scott ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/li

[Mesa-dev] [PATCH] intel: fix glClear for 8xx

2012-08-13 Thread Tapani Pälli
earlier patch to check only for API_OPENGLES broke this, patch adds additional check against ARB_fragment_shader extension existence. Signed-off-by: Tapani Pälli --- src/mesa/drivers/dri/i915/intel_clear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i