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
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
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
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
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
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
https://bugs.freedesktop.org/show_bug.cgi?id=48535
Alex Deucher changed:
What|Removed |Added
AssignedTo|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
---
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
---
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
- 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
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
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
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
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
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
---
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
---
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
---
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
---
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(-
---
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
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
---
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
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
---
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
---
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
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
---
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
---
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
---
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
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_
---
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
---
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/
---
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
---
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
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
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)
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
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
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
57 matches
Mail list logo