Re: [Mesa-dev] 3D DRI running on i5 GMA HD/vxWorks 6.8 (demo video attached)

2012-04-11 Thread Kenneth Graunke
On 04/11/2012 12:41 AM, Srinivasulu Reddy Malapati -ERS, HCL Tech wrote: Hi Josh , I am also trying integration of Mesa on VxWorks with Wokbench 3.2. I have selected “VxWorks Application Project” Type to start with and I am getting a lot of errors . Can you please suggest me on how to proceed in

Re: [Mesa-dev] [PATCH] glsl: If an "if" has no "then" or "else" code left, remove it.

2012-04-11 Thread Kenneth Graunke
On 04/11/2012 08:49 PM, Matt Turner wrote: On Wed, Apr 11, 2012 at 9:33 PM, Eric Anholt wrote: Cuts 8/1068 instructions from glyphy's fragment shaders on i965. --- src/glsl/opt_if_simplification.cpp |8 1 file changed, 8 insertions(+) diff --git a/src/glsl/opt_if_simplification

Re: [Mesa-dev] 3D DRI running on i5 GMA HD/vxWorks 6.8 (demo video attached)

2012-04-11 Thread Srinivasulu Reddy Malapati -ERS, HCL Tech
Hi Josh , I am also trying integration of Mesa on VxWorks with Wokbench 3.2. I have selected "VxWorks Application Project" Type to start with and I am getting a lot of errors . Can you please suggest me on how to proceed in that and it will be a great help for me. Thanking you in Advance Sri

[Mesa-dev] [PATCH] ir_to_mesa: Fix uninitialized member in add_uniform_to_shader.

2012-04-11 Thread Vinson Lee
Fix uninitialized scalar field defect reported by Coverity. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Vinson Lee --- src/mesa/program/ir_to_mesa.cpp |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to

Re: [Mesa-dev] [PATCH] glsl: If an "if" has no "then" or "else" code left, remove it.

2012-04-11 Thread Matt Turner
On Wed, Apr 11, 2012 at 9:33 PM, Eric Anholt wrote: > Cuts 8/1068 instructions from glyphy's fragment shaders on i965. > --- >  src/glsl/opt_if_simplification.cpp |    8 >  1 file changed, 8 insertions(+) > > diff --git a/src/glsl/opt_if_simplification.cpp > b/src/glsl/opt_if_simplificat

Re: [Mesa-dev] [PATCH] glsl: If an "if" has no "then" or "else" code left, remove it.

2012-04-11 Thread Kenneth Graunke
On 04/11/2012 06:33 PM, Eric Anholt wrote: Cuts 8/1068 instructions from glyphy's fragment shaders on i965. --- src/glsl/opt_if_simplification.cpp |8 1 file changed, 8 insertions(+) diff --git a/src/glsl/opt_if_simplification.cpp b/src/glsl/opt_if_simplification.cpp index 940dd

[Mesa-dev] [Bug 48535] Spurious GL_INVALID_OPERATION error generated by glColor()

2012-04-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48535 Alex Deucher changed: What|Removed |Added AssignedTo|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.

Re: [Mesa-dev] [PATCH 05/21] u_vbuf: override set_index_buffer

2012-04-11 Thread Brian Paul
On Wed, Apr 11, 2012 at 9:38 AM, Marek Olšák wrote: > This makes u_vbuf_mgr call the driver instead of the other way around. > --- >  src/gallium/auxiliary/util/u_vbuf.c          |   35 ++--- >  src/gallium/auxiliary/util/u_vbuf.h          |    6 >  src/gallium/drivers/r30

Re: [Mesa-dev] [PATCH 04/21] st/mesa: use cso_set_index_buffer and cso_draw_vbo

2012-04-11 Thread Brian Paul
On Wed, Apr 11, 2012 at 9:38 AM, Marek Olšák wrote: > --- >  src/mesa/state_tracker/st_draw.c |   16 +--- >  1 files changed, 9 insertions(+), 7 deletions(-) Reviewed-by: Brian Paul ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] [PATCH 03/21] gallium/util: use cso_draw_arrays in util_draw_vertex_buffer

2012-04-11 Thread Brian Paul
On Wed, Apr 11, 2012 at 9:38 AM, Marek Olšák wrote: > --- >  src/gallium/auxiliary/util/u_draw_quad.c |    9 - >  1 files changed, 4 insertions(+), 5 deletions(-) Reviewed-by: Brian Paul ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

[Mesa-dev] [PATCH] glsl: If an "if" has no "then" or "else" code left, remove it.

2012-04-11 Thread Eric Anholt
Cuts 8/1068 instructions from glyphy's fragment shaders on i965. --- src/glsl/opt_if_simplification.cpp |8 1 file changed, 8 insertions(+) diff --git a/src/glsl/opt_if_simplification.cpp b/src/glsl/opt_if_simplification.cpp index 940dd08..7e88208 100644 --- a/src/glsl/opt_if_simpli

Re: [Mesa-dev] [PATCH 02/21] cso: add set_index_buffer and draw_vbo passthrough functions

2012-04-11 Thread Brian Paul
On Wed, Apr 11, 2012 at 9:38 AM, Marek Olšák wrote: > --- >  src/gallium/auxiliary/cso_cache/cso_context.c |   18 ++ >  src/gallium/auxiliary/cso_cache/cso_context.h |   25 > + >  2 files changed, 43 insertions(+), 0 deletions(-) > > diff --git a/src/galliu

Re: [Mesa-dev] [PATCH 01/21] cso: unreference saved vertex buffers when restoring

2012-04-11 Thread Brian Paul
On Wed, Apr 11, 2012 at 9:38 AM, Marek Olšák wrote: > --- >  src/gallium/auxiliary/cso_cache/cso_context.c |    8 >  1 files changed, 8 insertions(+), 0 deletions(-) Reviewed-by: Brian Paul ___ mesa-dev mailing list mesa-dev@lists.freedesktop.

Re: [Mesa-dev] [PATCH 5/5] i965/fs: Avoid generating extra AND instructions on bool logic ops.

2012-04-11 Thread Kenneth Graunke
On 03/26/2012 01:59 PM, Eric Anholt wrote: By making a bool fs_reg only have a defined low bit (matching CMP output), instead of being a full 0 or 1 value, we reduce the ANDs generated in logic chains like: Ohh. I finally figured out what's going on here. Prior to this patch, in the i965

[Mesa-dev] [PATCH 4/4] st/dri: pass config options to the state tracker

2012-04-11 Thread Vadim Girlin
Signed-off-by: Vadim Girlin --- .../state_trackers/dri/common/dri_context.c|8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/gallium/state_trackers/dri/common/dri_context.c b/src/gallium/state_trackers/dri/common/dri_context.c index 9e59023..0403826 100

[Mesa-dev] [PATCH 3/4] st/mesa: accept and handle configuration options from st/dri

2012-04-11 Thread Vadim Girlin
Currently there is a single option - force_glsl_extensions_warn. Signed-off-by: Vadim Girlin --- src/gallium/include/state_tracker/st_api.h | 14 ++ src/mesa/state_tracker/st_context.c| 10 +++--- src/mesa/state_tracker/st_context.h|5 - src/mesa/state

[Mesa-dev] [PATCH 2/4] st/dri: add force_glsl_extensions_warn option to dri options

2012-04-11 Thread Vadim Girlin
Signed-off-by: Vadim Girlin --- src/gallium/state_trackers/dri/common/dri_screen.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/gallium/state_trackers/dri/common/dri_screen.c b/src/gallium/state_trackers/dri/common/dri_screen.c index 24efbde..3c6d24b 1

[Mesa-dev] [PATCH 1/4] st/dri: use driver name for driconf section lookup

2012-04-11 Thread Vadim Girlin
The name is taken from the driver_descriptor, so it will be the same as expected by driconf utility. Signed-off-by: Vadim Girlin --- .../state_trackers/dri/common/dri_context.c|3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/gallium/state_trackers/dri/common

[Mesa-dev] [PATCH 0/4] v2: force_glsl_extensions_warn option for gallium drivers

2012-04-11 Thread Vadim Girlin
v2: Updated with the proposed changes: - using the driver name from the driver_descriptor - using new "struct st_config_options" to pass the options st/dri: use driver name for driconf section lookup st/dri: add force_glsl_extensions_warn option to dri options st/mesa: accept and handle

Re: [Mesa-dev] [PATCH 4/5] i965/fs: Try to avoid generating extra MOVs to do saturates.

2012-04-11 Thread Kenneth Graunke
On 03/26/2012 01:59 PM, Eric Anholt wrote: This change (before the previous two) produced a .23% +/- .11% performance improvement in Unigine Tropics at 1024x768 on IVB. Total instructions: 269270 -> 262649 614/2148 programs affected (28.6%) 179386 -> 172765 instructions in affected programs (3

Re: [Mesa-dev] [PATCH 3/5] glsl: Extend the array splitting optimization pass to matrices.

2012-04-11 Thread Kenneth Graunke
On 03/26/2012 01:59 PM, Eric Anholt wrote: This should fit in well with our lower_mat_op_to_vec code: now, in addition to having expressions on each column of a matrix, we also split the columns to separate variables so they can be tracked individually by the copy propagation, dead code, and othe

Re: [Mesa-dev] [PATCH 2/5] glsl: Add an array splitting pass.

2012-04-11 Thread Kenneth Graunke
On 03/26/2012 01:59 PM, Eric Anholt wrote: I've had this code laying around almost done for a long time. The idea is like opt_structure_splitting, that we've got a bunch of transforms at the GLSL IR level that only understand scalars and vectors, which just skip complicated dereferences. While

[Mesa-dev] [PATCH 2/5] i965: Add basic block generator.

2012-04-11 Thread Eric Anholt
This takes the fs_inst list generated by the visitor, and generates a list of basic blocks with edges between them. This is a building block for data-flow analysis. --- src/mesa/drivers/dri/i965/Makefile.sources |1 + src/mesa/drivers/dri/i965/brw_fs.h |4 + src/mesa/drivers/dri/i

[Mesa-dev] [PATCH 4/5] i965: Move the old live interval analysis code next to the new live vars code.

2012-04-11 Thread Eric Anholt
I'm about to replace the insides of this using the new analysis. --- src/mesa/drivers/dri/i965/brw_fs.cpp | 122 src/mesa/drivers/dri/i965/brw_fs_livevariables.cpp | 122 2 files changed, 122 insertions(+), 122 deletions(-) diff --git a/sr

[Mesa-dev] [PATCH 5/5] i965: Convert live interval computation to using live variable analysis.

2012-04-11 Thread Eric Anholt
Our previous live interval analysis just said that anything in a loop was live for the whole loop. If you had to spill a reg in a loop, then we would consider the unspilled value live across the loop too, so you never made progress by spilling. Eventually it would consider everything in the loop

[Mesa-dev] [PATCH 3/5] i965: Add support for live variable analysis using dataflow analysis.

2012-04-11 Thread Eric Anholt
--- src/mesa/drivers/dri/i965/Makefile.sources |1 + src/mesa/drivers/dri/i965/brw_fs_livevariables.cpp | 158 src/mesa/drivers/dri/i965/brw_fs_livevariables.h | 86 +++ 3 files changed, 245 insertions(+) create mode 100644 src/mesa/drivers/dri/i965/b

[Mesa-dev] [PATCH 1/5] i965/fs: Suppress printing the whole loop in BRW_OPCODE_DO annotation.

2012-04-11 Thread Eric Anholt
--- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp |2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index 0052428..836d501 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp +++ b/src/mesa/dri

Re: [Mesa-dev] [PATCH 0/8] [RFC] improve driconf support for gallium

2012-04-11 Thread Jose Fonseca
- Original Message - > On Mit, 2012-04-11 at 08:43 +0200, Michel Dänzer wrote: > > On Die, 2012-04-10 at 22:04 +0400, Vadim Girlin wrote: > > > On Tue, 2012-04-10 at 09:56 +0200, Michel Dänzer wrote: > > > > On Mon, 2012-04-09 at 19:32 +0400, Vadim Girlin wrote: > > > > > These patches al

Re: [Mesa-dev] [PATCH 1/5] glsl: Don't apply optimization passes to builtins.

2012-04-11 Thread Kenneth Graunke
On 03/26/2012 01:59 PM, Eric Anholt wrote: The builtins we have are generally optimized, having been hand-written. This avoids generating bad code when an optimization pass prints debug output. *laughs*. You'd think, but...we actually only run the compiler on the *prototypes*, not any actual

Re: [Mesa-dev] [PATCH 00/21] Gallium: making user vertex buffers optional and other goodness

2012-04-11 Thread Christoph Bumiller
On 11.04.2012 17:38, Marek Olšák wrote: > Hi everyone, > > This series adds these optional features to st/mesa: > - uploading user vertex buffers > - translating unsupported vertex formats into floats > - vertex data with unaligned buffer_offset, src_offset, or stride is > transformed such that it

[Mesa-dev] [PATCH] wayland-drm: Implement wl_buffer.damage in old versions of Wayland

2012-04-11 Thread Neil Roberts
Commit 272bc48976 removed the damage implementation for the wl_buffer_interface because that has been removed from git master of Wayland. However this breaks building with the 0.85 branch of Wayland because it would end up initialising the struct incorrectly. For the time being it's quite convenie

[Mesa-dev] [PATCH 21/21] st/mesa: always expose ARB_ES2_compatibility

2012-04-11 Thread Marek Olšák
u_vbuf translates GL_FIXED too if needed. --- src/mesa/state_tracker/st_extensions.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 817fe3e..63b1b91 100644 --- a/src/mesa/state_track

[Mesa-dev] [PATCH 20/21] st/mesa: always expose ARB_half_float_vertex

2012-04-11 Thread Marek Olšák
u_vbuf kicks in and translates it to float if it's unsupported. --- src/mesa/state_tracker/st_extensions.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index afea0ea..817fe3e 100644 ---

[Mesa-dev] [PATCH 19/21] gallium: make user vertex buffers optional

2012-04-11 Thread Marek Olšák
This couldn't be split because it would break bisecting. Summary: * r300g,r600g: stop using u_vbuf * r300g,r600g: also report that the FIXED vertex type is unsupported * u_vbuf: refactor for use in the state tracker * cso: wire up u_vbuf with cso_context * st/mesa: conditionally install u_vbuf ---

[Mesa-dev] [PATCH 18/21] i915g: report that all vertex formats are supported

2012-04-11 Thread Marek Olšák
So that u_vbuf isn't enabled. --- src/gallium/drivers/i915/i915_screen.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index b147e61..1546ee8 100644 --- a/src/gallium/drivers/i915/i915_sc

[Mesa-dev] [PATCH 17/21] r600g: don't share u_upload_mgr with u_vbuf, create its own

2012-04-11 Thread Marek Olšák
--- src/gallium/drivers/r600/r600_pipe.c | 10 ++ src/gallium/drivers/r600/r600_pipe.h |1 + src/gallium/drivers/r600/r600_state_common.c |6 +++--- src/gallium/drivers/r600/r600_translate.c|2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --g

[Mesa-dev] [PATCH 16/21] r300g: don't share u_upload_mgr with u_vbuf, create its own

2012-04-11 Thread Marek Olšák
--- src/gallium/drivers/r300/r300_context.c |5 + src/gallium/drivers/r300/r300_context.h |1 + src/gallium/drivers/r300/r300_render_translate.c |6 +++--- src/gallium/drivers/r300/r300_screen_buffer.c|2 +- 4 files changed, 10 insertions(+), 4 deletions(-

[Mesa-dev] [PATCH 15/21] u_vbuf: pull u_vbuf_draw_max_vertex_count into r300g

2012-04-11 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_vbuf.c| 50 --- src/gallium/auxiliary/util/u_vbuf.h|1 - src/gallium/drivers/r300/r300_render.c | 51 +++- 3 files changed, 50 insertions(+), 52 deletions(-) diff --git a/src/gallium/auxiliary

[Mesa-dev] [PATCH 14/21] u_vbuf: make use of the new CAPs to determine what to do

2012-04-11 Thread Marek Olšák
This adds the ability to initialize u_vbuf_caps before creating u_vbuf itself. It will be useful for determining if u_vbuf should be used or not. Also adapt r300g and r600g. --- src/gallium/auxiliary/util/u_vbuf.c | 51 +- src/gallium/auxiliary/util/u_vbuf.h

[Mesa-dev] [PATCH 13/21] gallium drivers: report that user vertex buffers are supported

2012-04-11 Thread Marek Olšák
--- src/gallium/drivers/i915/i915_screen.c |1 + src/gallium/drivers/llvmpipe/lp_screen.c |2 ++ src/gallium/drivers/nv50/nv50_screen.c |2 ++ src/gallium/drivers/nvc0/nvc0_screen.c |2 ++ src/gallium/drivers/nvfx/nvfx_screen.c |2 ++ src/gallium/drivers/softpipe/sp_scr

[Mesa-dev] [PATCH 12/21] gallium: add CAPs for vertex fetcher

2012-04-11 Thread Marek Olšák
Supported vertex formats can be queried using is_format_supported(.., PIPE_BIND_VERTEX_BUFFER, ..). --- src/gallium/include/pipe/p_defines.h |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h in

[Mesa-dev] [PATCH 11/21] u_vbuf: remove u_vbuf_resource

2012-04-11 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_vbuf.h | 13 --- src/gallium/drivers/r300/r300_context.h |2 +- src/gallium/drivers/r300/r300_emit.c |6 +- src/gallium/drivers/r300/r300_fs.c|2 +- src/gallium/drivers/r300/r300_render.c| 14 ++-- src/ga

[Mesa-dev] [PATCH 10/21] u_vbuf: use user_ptr from pipe_resource

2012-04-11 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_vbuf.c | 22 +++--- src/gallium/auxiliary/util/u_vbuf.h |1 + 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/gallium/auxiliary/util/u_vbuf.c b/src/gallium/auxiliary/util/u_vbuf.c index b63de48..2482c8a 100644 --- a/src/g

[Mesa-dev] [PATCH 09/21] gallium: add user_ptr in pipe_resource

2012-04-11 Thread Marek Olšák
I need to access the pointer in st/mesa when I only have pipe_resource. --- src/gallium/drivers/i915/i915_resource_buffer.c |1 + src/gallium/drivers/llvmpipe/lp_texture.c |1 + src/gallium/drivers/nouveau/nouveau_buffer.c|1 + src/gallium/drivers/nvfx/nvfx_buffer.c

[Mesa-dev] [PATCH 08/21] u_vbuf: override draw_vbo

2012-04-11 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_vbuf.c | 52 -- src/gallium/auxiliary/util/u_vbuf.h |5 -- src/gallium/drivers/r300/r300_render.c |6 +-- src/gallium/drivers/r600/r600_state_common.c |2 - 4 files changed, 33 insertions(+), 32 deletion

[Mesa-dev] [PATCH 07/21] u_vbuf: override create/bind/destroy_vertex_elements_state

2012-04-11 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_vbuf.c | 83 + src/gallium/auxiliary/util/u_vbuf.h | 21 ++- src/gallium/drivers/r300/r300_blit.c |3 +- src/gallium/drivers/r300/r300_context.h |2 - src/gallium/drivers/r300/r300_state.c

[Mesa-dev] [PATCH 06/21] u_vbuf: override set_vertex_buffers

2012-04-11 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_vbuf.c | 81 +++--- src/gallium/auxiliary/util/u_vbuf.h | 18 +- src/gallium/drivers/r300/r300_blit.c |4 +- src/gallium/drivers/r300/r300_context.c |4 +- src/gallium/drivers/r300/r300_context.h

[Mesa-dev] [PATCH 05/21] u_vbuf: override set_index_buffer

2012-04-11 Thread Marek Olšák
This makes u_vbuf_mgr call the driver instead of the other way around. --- src/gallium/auxiliary/util/u_vbuf.c | 35 ++--- src/gallium/auxiliary/util/u_vbuf.h |6 src/gallium/drivers/r300/r300_context.h |2 +- src/gallium/drivers/r300/r300_

[Mesa-dev] [PATCH 04/21] st/mesa: use cso_set_index_buffer and cso_draw_vbo

2012-04-11 Thread Marek Olšák
--- src/mesa/state_tracker/st_draw.c | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index 0a35ab2..edab76b 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw

[Mesa-dev] [PATCH 03/21] gallium/util: use cso_draw_arrays in util_draw_vertex_buffer

2012-04-11 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_draw_quad.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/gallium/auxiliary/util/u_draw_quad.c b/src/gallium/auxiliary/util/u_draw_quad.c index 8ed3b3c..590fa0c 100644 --- a/src/gallium/auxiliary/util/u_draw_quad.c +++ b/src/

[Mesa-dev] [PATCH 02/21] cso: add set_index_buffer and draw_vbo passthrough functions

2012-04-11 Thread Marek Olšák
--- src/gallium/auxiliary/cso_cache/cso_context.c | 18 ++ src/gallium/auxiliary/cso_cache/cso_context.h | 25 + 2 files changed, 43 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_ca

[Mesa-dev] [PATCH 01/21] cso: unreference saved vertex buffers when restoring

2012-04-11 Thread Marek Olšák
--- src/gallium/auxiliary/cso_cache/cso_context.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c index 60a6e02..43b8343 100644 --- a/src/gallium/auxiliary/cso_cache/cso_c

[Mesa-dev] [PATCH 00/21] Gallium: making user vertex buffers optional and other goodness

2012-04-11 Thread Marek Olšák
Hi everyone, This series adds these optional features to st/mesa: - uploading user vertex buffers - translating unsupported vertex formats into floats - vertex data with unaligned buffer_offset, src_offset, or stride is transformed such that it's aligned These vertex formats are automatically tr

[Mesa-dev] [Bug 48545] New: LLVMpipe glReadPixels Firefox hits the slow path (WebGL rendering)

2012-04-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48545 Bug #: 48545 Summary: LLVMpipe glReadPixels Firefox hits the slow path (WebGL rendering) Classification: Unclassified Product: Mesa Version: 8.0 Platform: x86 (IA32)

[Mesa-dev] [PATCH] glsl parser: Select typelist as early as possible.

2012-04-11 Thread Olivier Galibert
Type selection must be extended w.r.t version and extension lines as soon as it is possible, and in any case before the lookahead is done to check the nature of the next line. Otherwise code such as: #version 400 dmat2 function inverse(dmat2 m) { ... } fails because "dmat2" has already been

[Mesa-dev] [PATCH 1/2] glsl: Support GL_ARB_shading_language_include internally.

2012-04-11 Thread Olivier Galibert
No hookup with GL yet. Planned to be used to simplify profiles. Signed-off-by: Olivier Galibert --- src/glsl/ast.h | 12 ++- src/glsl/glcpp/glcpp-lex.l | 135 -- src/glsl/glcpp/glcpp-parse.y| 75 +- src/glsl/glcpp/glcpp.c

[Mesa-dev] toto

2012-04-11 Thread Olivier Galibert
Type selection must be extended w.r.t version and extension lines as soon as it is possible, and in any case before the lookahead is done to check the nature of the next line. Otherwise code such as: #version 400 dmat2 function inverse(dmat2 m) { ... } fails because "dmat2" has already been