Re: [Mesa-dev] [PATCH 1/5] glsl/linker: Use correct array length when linking inter-stage uniforms and varyings.

2013-06-18 Thread Ian Romanick
On 06/03/2013 01:23 PM, Fabian Bieler wrote: Signed-off-by: Fabian Bieler --- src/glsl/linker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index 982fe46..7395ed5 100644 --- a/src/glsl/linker.cpp +++ b/src/glsl/linker.cpp @@

Re: [Mesa-dev] [PATCH 4/5] glsl: Don't copy array of sampler parameters when inlining functions.

2013-06-18 Thread Ian Romanick
On 06/03/2013 01:23 PM, Fabian Bieler wrote: Remove The parameter from the list of parameters and replace the derefs in the function body with the deref of the argument. It seems like the existing code would break for some uses. Is there a piglit test to go along with this change? This is

Re: [Mesa-dev] [PATCH 2/5] glsl: Only call mark_whole_array_access for arrays.

2013-06-18 Thread Ian Romanick
On 06/03/2013 01:23 PM, Fabian Bieler wrote: Otherwise the max_array_access field of scalar variables is set to 0x. This doesn't lead to any errors since that field isn't used for scalar variables but leaving it at zero is probably better. I think this is okay. We don't rely on that fi

Re: [Mesa-dev] [PATCH 4/5] glsl: Don't copy array of sampler parameters when inlining functions.

2013-06-18 Thread Fabian Bieler
On 2013-06-18 11:05, Ian Romanick wrote: > On 06/03/2013 01:23 PM, Fabian Bieler wrote: >> Remove The parameter from the list of parameters and replace the derefs in >> the >> function body with the deref of the argument. > > It seems like the existing code would break for some uses. Is there a

Re: [Mesa-dev] [PATCH 5/5] glsl: Update array access tracker of function parameters.

2013-06-18 Thread Ian Romanick
On 06/03/2013 01:23 PM, Fabian Bieler wrote: Uniform arrays are subject to beeing shrunk if higher members were not accessed. ^^ being Update the max_array_access flag so array members that were only accessed in the function are not optimized away. This fix

Re: [Mesa-dev] [PATCH 3/5] glsl: Return error_type instead of NULL if element_type() is called on non array type.

2013-06-18 Thread Ian Romanick
On 06/03/2013 01:23 PM, Fabian Bieler wrote: This matches the behavior of field_type() and other get_*_type() methods. I looked through the calls to element_type() and didn't find a caller that depends on the old behavior. I'm a little be uncomfortable with this change. There are a few places

[Mesa-dev] Initial VA-API state tracker

2013-06-18 Thread Christian König
Hi everyone, the following patches reactivates the initial VA-API state tracker and add matching targets for r600 and radeonsi. It's in a quite early state, only MPEG2 and H264 are support and it is only tested with R600g, but apart from that seems to work quite well. Cheers, Christian. _

[Mesa-dev] [PATCH 02/15] st/va: implement vlVaQueryConfigProfiles

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/config.c | 12 + src/gallium/state_trackers/va/context.c|2 +- src/gallium/state_trackers/va/va_private.h | 37 3 files changed, 50 insertions(+), 1 deleti

[Mesa-dev] [PATCH 03/15] st/va: implement vlVaQueryConfigEntrypoints

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/config.c | 13 + src/gallium/state_trackers/va/va_private.h | 29 2 files changed, 42 insertions(+) diff --git a/src/gallium/state_trackers/va/config.c b/src

[Mesa-dev] [PATCH 04/15] st/va: implement vlVaGetConfigAttributes

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/config.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/va/config.c b/src/gallium/state_trackers/va/config.c index 38639d0..14951a1 1006

[Mesa-dev] [PATCH 05/15] st/va: implement vlVa(Create|Destroy|Query)Config

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/config.c | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trackers/va/config.c b/src/gallium/state_trackers/va/config.c index 14951a1..67

[Mesa-dev] [PATCH 06/15] st/va: implement vlVa(Create|Destroy)Surfaces

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/context.c|9 src/gallium/state_trackers/va/surface.c| 61 +++- src/gallium/state_trackers/va/va_private.h | 22 ++ 3 files changed, 90 insertions(+), 2 del

[Mesa-dev] [PATCH 07/15] st/va: implement vlVa(Create|Destroy)Context

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/context.c| 71 +++- src/gallium/state_trackers/va/va_private.h | 12 + 2 files changed, 70 insertions(+), 13 deletions(-) diff --git a/src/gallium/state_trackers/va/contex

[Mesa-dev] [PATCH 10/15] st/va: implement vlVaPutSurface

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/context.c|6 src/gallium/state_trackers/va/surface.c| 50 ++-- src/gallium/state_trackers/va/va_private.h |6 3 files changed, 60 insertions(+), 2 deletions

[Mesa-dev] [PATCH 08/15] st/va: implement vlVa(Create|Destroy)Buffer

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/buffer.c | 83 +--- src/gallium/state_trackers/va/va_private.h |7 +++ 2 files changed, 83 insertions(+), 7 deletions(-) diff --git a/src/gallium/state_trackers/va/buffer.c

[Mesa-dev] [PATCH 09/15] st/va: implement vlVa(Begin|Render|End)Picture

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/picture.c| 88 ++-- src/gallium/state_trackers/va/surface.c|3 +- src/gallium/state_trackers/va/va_private.h |5 +- 3 files changed, 87 insertions(+), 9 deletions(-)

[Mesa-dev] [PATCH 11/15] st/va: let vlVaSyncSurface suceed

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/surface.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/va/surface.c b/src/gallium/state_trackers/va/surface.c index 58303c6..34786c1 100644 --- a/src/gall

[Mesa-dev] [PATCH 12/15] st/va: handle VAIQMatrixBufferMPEG2

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/picture.c | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c index 8d16dfa..

[Mesa-dev] [PATCH 13/15] st/va: handle VAPictureParameterBufferMPEG2

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/picture.c | 51 ++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c index 66cd6ca

[Mesa-dev] [PATCH 14/15] st/va: try to decode something

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/picture.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c index f7d32c6..7339366 100644 --- a/src/ga

[Mesa-dev] [PATCH 15/15] st/va: add support for H264

2013-06-18 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/va/picture.c | 100 ++- 1 file changed, 98 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c index 733936

Re: [Mesa-dev] [PATCH 5/5] glsl: Update array access tracker of function parameters.

2013-06-18 Thread Fabian Bieler
On 2013-06-18 11:14, Ian Romanick wrote: > On 06/03/2013 01:23 PM, Fabian Bieler wrote: >> Uniform arrays are subject to beeing shrunk if higher members were not >> accessed. > ^^ > being > >> Update the max_array_access flag so array members that were only acc

Re: [Mesa-dev] [PATCH 3/5] glsl: Return error_type instead of NULL if element_type() is called on non array type.

2013-06-18 Thread Fabian Bieler
On 2013-06-18 11:24, Ian Romanick wrote: > On 06/03/2013 01:23 PM, Fabian Bieler wrote: >> This matches the behavior of field_type() and other get_*_type() methods. >> >> I looked through the calls to element_type() and didn't find a caller that >> depends on the old behavior. > > I'm a little be

Re: [Mesa-dev] [PATCH 6/6] mesa: Move the common _mesa_glsl_compile_shader() code to glsl/.

2013-06-18 Thread Kenneth Graunke
On 06/17/2013 04:10 PM, Eric Anholt wrote: ... and move the mesa-core-specific code into Mesa core. This code had no relation to ir_to_mesa.cpp, since it was also used by intel and state_tracker, and most of it was duplicated with the standalone compiler (which has periodically drifted from the

Re: [Mesa-dev] [PATCH 3/6] glsl: Remove ir_print_visitor.h includes and usage

2013-06-18 Thread Kenneth Graunke
On 06/17/2013 04:10 PM, Eric Anholt wrote: We have ir->print() to do the old declaration of a visitor and having the IR accept the visitor (yuck!). And now you can call _mesa_print_ir() safely anywhere that you know what an ir_instruction is. A couple of missing printf("\n")s are added in error

Re: [Mesa-dev] [PATCH 4/6] mesa: Use shared code for converting shader targets to short strings.

2013-06-18 Thread Kenneth Graunke
On 06/17/2013 04:10 PM, Eric Anholt wrote: We were duplicating this code all over the place, and they all would need updating for the next set of shader targets. --- src/glsl/glsl_parser_extras.cpp| 35 ++ src/glsl/glsl_parser_extras.h | 3

Re: [Mesa-dev] [PATCH 5/6] mesa: Fix missing setting of shader->IsES.

2013-06-18 Thread Kenneth Graunke
On 06/17/2013 04:10 PM, Eric Anholt wrote: I noticed this while trying to merge code with the builtin compiler, which does set it. Note that this causes two regressions in piglit in default-precision-sampler.* which try to link without a vertex or fragment shader, due to being run under the desk

[Mesa-dev] [PATCH 1/4] glsl: Add simple vector type accessor helpers.

2013-06-18 Thread Kenneth Graunke
This patch introduces new functions to quickly grab a pointer to a vector type. For example: glsl_type::bvec(4) returns glsl_type::bvec4_type glsl_type::ivec(3) returns glsl_type::ivec3_type glsl_type::uvec(2) returns glsl_type::uvec2_type glsl_type::vec(1)returns gl

[Mesa-dev] [PATCH 2/4] glsl: Stop being clever with pointer arithmetic when fetching types.

2013-06-18 Thread Kenneth Graunke
Currently, vector types are linked together closely: the glsl_type objects for float, vec2, vec3, and vec4 are all elements of the same array, in that exact order. This makes it possible to obtain vector types via pointer arithmetic on the scalar type's convenience pointer. For example, float_type

[Mesa-dev] [PATCH 3/4] glsl: Don't use random pointers as an array of glsl_type objects.

2013-06-18 Thread Kenneth Graunke
Using a random glsl_type convenience pointer as an array is a really bad idea, for all the reasons mentioned in the previous commit. The new glsl_type::bvec() function is simpler anyway. Prevents breakage in the next commit. Signed-off-by: Kenneth Graunke --- src/glsl/lower_variable_index_to_c

[Mesa-dev] [PATCH] llvmpipe: Tighten check for alpha-only formats

2013-06-18 Thread Richard Sandiford
The AoS version of ld_build_blend_factor was assuming that if the first channel was alpha, there were no rgb components. Fixes several piglit tests on System z. No piglit regressions on x86_64. The shortcut is still used in tests like spec/ARB_framebuffer_object/ fbo-alpha. Signed-off-by: Richar

[Mesa-dev] [Bug 65898] New: Low(er) FPS in Half-Life 2 on Arch Linux

2013-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65898 Priority: medium Bug ID: 65898 Assignee: mesa-dev@lists.freedesktop.org Summary: Low(er) FPS in Half-Life 2 on Arch Linux Severity: normal Classification: Unclassified OS: Li

[Mesa-dev] [Bug 65898] Low(er) FPS in Half-Life 2 on Arch Linux

2013-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65898 Mike Higgins changed: What|Removed |Added CC||gont...@hotmail.com -- You are receiving

Re: [Mesa-dev] [PATCH] llvmpipe: Tighten check for alpha-only formats

2013-06-18 Thread Roland Scheidegger
Am 25.03.2013 16:19, schrieb Richard Sandiford: > The AoS version of ld_build_blend_factor was assuming that if the first > channel was alpha, there were no rgb components. > > Fixes several piglit tests on System z. No piglit regressions on x86_64. > The shortcut is still used in tests like spec

[Mesa-dev] [Bug 65898] Low(er) FPS in Half-Life 2 on Arch Linux

2013-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65898 Ian Romanick changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH 2/4] glsl: Stop being clever with pointer arithmetic when fetching types.

2013-06-18 Thread Ian Romanick
On 06/18/2013 04:22 AM, Kenneth Graunke wrote: Currently, vector types are linked together closely: the glsl_type objects for float, vec2, vec3, and vec4 are all elements of the same array, in that exact order. This makes it possible to obtain vector types via pointer arithmetic on the scalar ty

Re: [Mesa-dev] [PATCH 1/4] glsl: Add simple vector type accessor helpers.

2013-06-18 Thread Ian Romanick
On 06/18/2013 04:22 AM, Kenneth Graunke wrote: This patch introduces new functions to quickly grab a pointer to a vector type. For example: glsl_type::bvec(4) returns glsl_type::bvec4_type glsl_type::ivec(3) returns glsl_type::ivec3_type glsl_type::uvec(2) returns glsl_t

Re: [Mesa-dev] [PATCH 3/3] mesa/main: Check for 0 size draws after validation.

2013-06-18 Thread Brian Paul
On 05/25/2013 05:33 AM, Fabian Bieler wrote: When validating draw parameters move check for 0 draw count last (drawing with count 0 is not an error), so that other parameters (e.g.: the primitive type) are validated and the correct errors (if applicable) are generated. From the OpenGL 3.3 spec

[Mesa-dev] [PATCH 1/2] R600: Add support for i32 loads from the constant address space on Cayman

2013-06-18 Thread Tom Stellard
From: Tom Stellard --- lib/Target/R600/R600Instructions.td | 9 + test/CodeGen/R600/load.ll | 1 + 2 files changed, 10 insertions(+) diff --git a/lib/Target/R600/R600Instructions.td b/lib/Target/R600/R600Instructions.td index 83d735f..803f597 100644 --- a/lib/Target/R600/R600

[Mesa-dev] [PATCH 2/2] R600/SI: Report unaligned memory accesses as legal for > 32-bit types

2013-06-18 Thread Tom Stellard
From: Tom Stellard In reality, some unaligned memory accesses are legal for 32-bit types and smaller too, but it all depends on the address space. Allowing unaligned loads/stores for > 32-bit types is mainly to prevent the legalizer from splitting one load into multiple loads of smaller types.

[Mesa-dev] [PATCH 00/14] Big-endian support in gallivm and llvmpipe

2013-06-18 Thread Adam Jackson
New in this series: - Includes gallium format name documentation - Defines packed formats as aliases into the existing enum - Changes packed format names to be lsb-to-msb Note that the existing hardware drivers will be "broken" by this series (on big-endian machines), but that they probably alrea

[Mesa-dev] [PATCH 01/14] gallivm: Remove all notion of byte-swapping

2013-06-18 Thread Adam Jackson
Signed-off-by: Adam Jackson --- src/gallium/auxiliary/gallivm/lp_bld_conv.c| 76 -- src/gallium/auxiliary/gallivm/lp_bld_conv.h| 11 src/gallium/auxiliary/gallivm/lp_bld_format_aos.c | 9 --- .../auxiliary/gallivm/lp_bld_format_aos_array.c| 56 --

[Mesa-dev] [PATCH 02/14] gallium: Document format name conventions

2013-06-18 Thread Adam Jackson
v2: - Fix a channel name thinko (Michel Dänzer) - Elaborate on SCALED versus INT - Add links to DirectX and FOURCC docs Signed-off-by: Adam Jackson --- src/gallium/docs/format.rst | 54 + 1 file changed, 54 insertions(+) create mode 100644 src/gallium

[Mesa-dev] [PATCH 03/14] gallium: Introduce 32-bit packed format names

2013-06-18 Thread Adam Jackson
From: Richard Sandiford These are for interacting with buffers natively described in terms of bit shifts, like X11 visuals: uint32_t xyzw = (x << 0) | (y << 8) | (z << 16) | (w << 24); Define these in terms of (endian-dependent) aliases to the array-style format names. Reviewed-by: Ada

[Mesa-dev] [PATCH 04/14] gallium: Document packed formats

2013-06-18 Thread Adam Jackson
Signed-off-by: Adam Jackson --- src/gallium/docs/format.rst | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/gallium/docs/format.rst b/src/gallium/docs/format.rst index 2514656..e270d93 100644 --- a/src/gallium/docs/format.rst +++ b/src/gallium/docs/format.rst @@ -6

[Mesa-dev] [PATCH 05/14] tests: Convert to packed formats

2013-06-18 Thread Adam Jackson
From: Richard Sandiford Reviewed-by: Adam Jackson Signed-off-by: Richard Sandiford --- src/gallium/tests/graw/clear.c | 4 ++-- src/gallium/tests/graw/fs-test.c | 4 ++-- src/gallium/tests/graw/graw_util.h | 6 +++--- src/gallium/tests/graw/quad-sample.c | 4 ++-- src/galli

[Mesa-dev] [PATCH 06/14] gbm: Convert to packed formats

2013-06-18 Thread Adam Jackson
From: Richard Sandiford Reviewed-by: Adam Jackson Signed-off-by: Richard Sandiford --- src/gallium/state_trackers/gbm/gbm_drm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/state_trackers/gbm/gbm_drm.c b/src/gallium/state_trackers/gbm/gbm_drm.c index

[Mesa-dev] [PATCH 07/14] st/xlib: Convert to packed formats

2013-06-18 Thread Adam Jackson
From: Richard Sandiford Reviewed-by: Adam Jackson Signed-off-by: Richard Sandiford --- src/gallium/state_trackers/glx/xlib/xm_api.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/state_trackers/glx/xl

[Mesa-dev] [PATCH 08/14] st/dri: Convert to packed formats

2013-06-18 Thread Adam Jackson
Reviewed-by: Adam Jackson Signed-off-by: Richard Sandiford --- src/gallium/state_trackers/dri/common/dri_screen.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/state_trackers/dri/common/dri_screen.c b/src/gallium/state_trackers/dri/common/dri_screen.c i

[Mesa-dev] [PATCH 10/14] graw-xlib: Convert to packed formats

2013-06-18 Thread Adam Jackson
From: Richard Sandiford Reviewed-by: Adam Jackson Signed-off-by: Richard Sandiford --- src/gallium/targets/graw-xlib/graw_xlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/targets/graw-xlib/graw_xlib.c b/src/gallium/targets/graw-xlib/graw_xlib.c index

[Mesa-dev] [PATCH 11/14] util: Convert color pack to packed formats

2013-06-18 Thread Adam Jackson
From: Richard Sandiford This fixes them on big-endian. Reviewed-by: Adam Jackson Signed-off-by: Richard Sandiford --- src/gallium/auxiliary/util/u_pack_color.h | 36 +++ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/gallium/auxiliary/util/u_pa

[Mesa-dev] [PATCH 12/14] llvmpipe: Fix convert_to_blend_type on big-endian

2013-06-18 Thread Adam Jackson
From: Richard Sandiford Reviewed-by: Adam Jackson Signed-off-by: Richard Sandiford --- src/gallium/drivers/llvmpipe/lp_state_fs.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe

[Mesa-dev] [PATCH 13/14] gallivm: Fix big-endian machines

2013-06-18 Thread Adam Jackson
From: Richard Sandiford This adds a bit-shift count to the format table, and adds the concept of vector or bitwise alignment on gathers. Reviewed-by: Adam Jackson Signed-off-by: Richard Sandiford --- src/gallium/auxiliary/gallivm/lp_bld_format_aos.c | 22 +++ src/gallium/auxiliary/gallivm

[Mesa-dev] [PATCH 14/14] gallivm: Fix lp_build_rgba8_to_fi32_soa for big endian

2013-06-18 Thread Adam Jackson
From: Richard Sandiford Reviewed-by: Adam Jackson Signed-off-by: Richard Sandiford --- src/gallium/auxiliary/gallivm/lp_bld_format_soa.c | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_format_soa.

Re: [Mesa-dev] [PATCH 04/14] gallium: Document packed formats

2013-06-18 Thread Michel Dänzer
On Die, 2013-06-18 at 13:28 -0400, Adam Jackson wrote: > Signed-off-by: Adam Jackson > --- > src/gallium/docs/format.rst | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/src/gallium/docs/format.rst b/src/gallium/docs/format.rst > index 2514656..e270d93 100644 > --

Re: [Mesa-dev] [PATCH 1/4] glsl: Add simple vector type accessor helpers.

2013-06-18 Thread Kenneth Graunke
On 06/18/2013 06:47 AM, Ian Romanick wrote: On 06/18/2013 04:22 AM, Kenneth Graunke wrote: This patch introduces new functions to quickly grab a pointer to a vector type. For example: glsl_type::bvec(4) returns glsl_type::bvec4_type glsl_type::ivec(3) returns glsl_type::ivec3_t

Re: [Mesa-dev] [PATCH 4/6] mesa: Use shared code for converting shader targets to short strings.

2013-06-18 Thread Eric Anholt
Kenneth Graunke writes: > On 06/17/2013 04:10 PM, Eric Anholt wrote: >> We were duplicating this code all over the place, and they all would need >> updating for the next set of shader targets. >> --- >> src/glsl/glsl_parser_extras.cpp| 35 >> ++ >> src

[Mesa-dev] [Bug 65898] Low(er) FPS in Half-Life 2 on Arch Linux

2013-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65898 --- Comment #2 from Eric Anholt --- If you're interested in investigating on your own, there is information at http://dri.freedesktop.org/wiki/IntelPerformanceTuning/ for how we go about investigating things. There is also a TODO list of likely

Re: [Mesa-dev] [PATCH 4/6] mesa: Use shared code for converting shader targets to short strings.

2013-06-18 Thread Kenneth Graunke
On 06/18/2013 12:12 PM, Eric Anholt wrote: Kenneth Graunke writes: On 06/17/2013 04:10 PM, Eric Anholt wrote: We were duplicating this code all over the place, and they all would need updating for the next set of shader targets. --- src/glsl/glsl_parser_extras.cpp| 35

Re: [Mesa-dev] [PATCH] gen7: fix GPU hang on WebGL texture-size test

2013-06-18 Thread Eric Anholt
Paul Berry writes: > On 18 June 2013 01:09, Jordan Justen wrote: > >> When rendering to a texture with BaseLevel set, the miptree may be laid >> out such that BaseLevel is in level 0 of the miptree (to avoid wasting >> memory on unused levels between 0 and BaseLevel-1). In that case, we >> have

[Mesa-dev] [Bug 65898] Low(er) FPS in Half-Life 2 on Arch Linux

2013-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65898 --- Comment #3 from Chris Forbes --- > motion blur enabled If that's correct, you probably want to get rid of it. -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-de

[Mesa-dev] [PATCH 1/2] gallium: fix PIPE_QUERY_TIMESTAMP_DISJOINT

2013-06-18 Thread sroland
From: Roland Scheidegger The semantics didn't really make sense, not really matching neither d3d9 (though the docs are all broken there) nor d3d10. So make it match d3d10 semantics, which actually gives meaning to the "disjoint" part. Drivers are fixed up in a very primitive way, I have no idea w

[Mesa-dev] [PATCH 2/2] softpipe: handle all queries, and change for the new disjoint semantics

2013-06-18 Thread sroland
From: Roland Scheidegger The driver can do render_condition but wasn't handling the occlusion and so_overflow predicates (though the latter might not work yet due to gs support). --- src/gallium/drivers/softpipe/sp_query.c | 39 ++- 1 file changed, 28 insertions(+),

[Mesa-dev] [Bug 65910] Killing weston-launch causes segv in desktop-shell

2013-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65910 Kristian Høgsberg changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 65910] Killing weston-launch causes segv in desktop-shell

2013-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65910 Kristian Høgsberg changed: What|Removed |Added Component|Other |EGL --- Comment #4 from Kristian Høg

[Mesa-dev] [Bug 65910] Killing weston-launch causes segv in desktop-shell

2013-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65910 Joe Konno changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #5 from Joe Konno ---

[Mesa-dev] [PATCH] R600/SI: Add support for v4i32 and v4f32 kernel args

2013-06-18 Thread Tom Stellard
From: Tom Stellard --- lib/Target/R600/AMDGPUCallingConv.td| 9 + test/CodeGen/R600/128bit-kernel-args.ll | 16 ++-- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/lib/Target/R600/AMDGPUCallingConv.td b/lib/Target/R600/AMDGPUCallingConv.td index 84e4f3

Re: [Mesa-dev] [PATCH] R600/SI: Add support for v4i32 and v4f32 kernel args

2013-06-18 Thread Aaron Watry
Tested on Pitcairn by: Aaron Watry Follow-up question: Would it be as easy as it looks to add v2i32 right away? On Tue, Jun 18, 2013 at 6:21 PM, Tom Stellard wrote: > From: Tom Stellard > > --- > lib/Target/R600/AMDGPUCallingConv.td| 9 + > test/CodeGen/R600/128bit-kernel-args.ll

[Mesa-dev] [PATCH] llvmpipe: handle more queries

2013-06-18 Thread sroland
From: Roland Scheidegger Handle PIPE_QUERY_GPU_FINISHED and PIPE_QUERY_TIMESTAMP_DISJOINT, and also fill out the ps_invocations and c_primitives from the PIPE_QUERY_PIPELINE_STATISTICS (the others in there should already be handled). Note that ps_invocations isn't pixel exact, just 16 pixel exact