Re: [Mesa-dev] [PATCH 7/8] i965/fs: Rewrite discards to use a flag subreg to track discarded pixels.

2012-12-10 Thread Eric Anholt
Kenneth Graunke writes: > On 12/07/2012 02:08 PM, Eric Anholt wrote: >> diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp >> b/src/mesa/drivers/dri/i965/brw_fs.cpp >> index dbf48f8..b4e8d68 100644 >> --- a/src/mesa/drivers/dri/i965/brw_fs.cpp >> +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp >> @@ -

Re: [Mesa-dev] [PATCH] i965: Make try_rewrite_rhs_to_dst compare VGRF size to regs written.

2012-12-10 Thread Eric Anholt
Kenneth Graunke writes: > Amnesia: The Dark Descent hits this case: a texturing instruction > (4 components) gets rewritten to the gl_FragData output register > (which was 4*3 = 12 components), causing the register allocator to > hit the "we rely on split_virtual_grfs" assertion. > > This makes it

Re: [Mesa-dev] [PATCH 01/13] Add ES 3 handling to get.c and get_hash_generator.py

2012-12-10 Thread Matt Turner
On Mon, Dec 10, 2012 at 4:06 PM, Jordan Justen wrote: > On Mon, Dec 10, 2012 at 2:28 PM, Matt Turner wrote: >> @@ -966,6 +973,15 @@ find_value(const char *func, GLenum pname, void **p, >> union value *v) >> int api; >> >> api = ctx->API; >> + /* We index into the table_set[] list of pe

Re: [Mesa-dev] [PATCH 01/13] Add ES 3 handling to get.c and get_hash_generator.py

2012-12-10 Thread Jordan Justen
On Mon, Dec 10, 2012 at 2:28 PM, Matt Turner wrote: > @@ -966,6 +973,15 @@ find_value(const char *func, GLenum pname, void **p, > union value *v) > int api; > > api = ctx->API; > + /* We index into the table_set[] list of per-API hash tables using the > API's > +* value in the gl_a

Re: [Mesa-dev] [PATCH] st/dri: add a way to force MSAA on with an environment variable

2012-12-10 Thread Eric Anholt
Marek Olšák writes: > There are 2 ways. I prefer the former: > GALLIUM_MSAA=n > __GL_FSAA_MODE=n > > Tested with ETQW, which doesn't support MSAA on Linux. This is > the only way to get MSAA there. This sounds like something that would be nice to add as a driconf knob. pgp5iJ4JAKn1p.pgp De

Re: [Mesa-dev] [PATCH] mesa syncobj: don't store a pointer to the set_entry

2012-12-10 Thread Ian Romanick
On 12/09/2012 09:47 AM, Stefan Dösinger wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2012-12-08 22:24, schrieb Jordan Justen: This likely will fix https://bugs.freedesktop.org/show_bug.cgi?id=58012 (Regression since 56e95d3c) The crashes are gone on r300g and r600g. This is most li

Re: [Mesa-dev] [PATCH 2/2] mesa: don't advertise ARB_texture_buffer_object in legacy contexts

2012-12-10 Thread Ian Romanick
On 12/10/2012 02:21 PM, Brian Paul wrote: On 12/10/2012 12:32 PM, Marek Olšák wrote: On Mon, Dec 10, 2012 at 5:25 PM, Brian Paul wrote: On 12/08/2012 03:02 PM, Marek Olšák wrote: --- src/mesa/drivers/dri/intel/intel_extensions.c |5 + src/mesa/main/bufferobj.c

Re: [Mesa-dev] [PATCH] llvmpipe: fix txq for 1d/2d arrays. (v2)

2012-12-10 Thread Roland Scheidegger
Am 10.12.2012 22:36, schrieb Dave Airlie: > From: Dave Airlie > > Noticed would fail, we were doing two things wrong > > a) 1d arrays require the layers in height > b) minifying the layers field. > > v2: don't change height code, fixup completely inside txq > as suggested by Roland. > > Signed

Re: [Mesa-dev] [PATCH 1/6] st/mesa: remove a weird msaa hack

2012-12-10 Thread Roland Scheidegger
Am 10.12.2012 21:22, schrieb Marek Olšák: > On Mon, Dec 10, 2012 at 5:28 PM, Brian Paul wrote: >> On 12/08/2012 07:40 AM, Marek Olšák wrote: >>> >>> It doesn't work and it's not clear how it's supposed to work. >>> --- >>> src/mesa/state_tracker/st_atom_rasterizer.c |3 +-- >>> src/mesa/sta

[Mesa-dev] [PATCH 00/13] glGet fixes

2012-12-10 Thread Matt Turner
The original glGet* fixes in the gles3 branch incorrectly allowed querying data not available in ES 2 on ES 2. This was because I misunderstood that the get.c extension checking code checks whether the -driver- supports an extension rather than whether the extension is supported and available under

[Mesa-dev] [PATCH 13/13] mesa: Support more glGet enums for ES3

2012-12-10 Thread Matt Turner
From: Chad Versace For glGetIntegerv, add support for the following in an OpenGL ES 3.0 context: GL_MAJOR_VERSION GL_MINOR_VERSION GL_NUM_EXTENSIONS See Table 6.29 of the OpenGL ES 3.0 spec. Fixes error GL_INVALID_ENUM in piglit egl-create-context-verify-gl-flavor, testcase for Open

[Mesa-dev] [PATCH 12/13] mesa: Support querying GL_MAX_ELEMENT_INDEX in ES 3

2012-12-10 Thread Matt Turner
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 |1 + src/mes

[Mesa-dev] [PATCH 11/13] mesa: De-duplicate ES2 queries

2012-12-10 Thread Matt Turner
>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_hash_params.py | 16 ++-- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_h

[Mesa-dev] [PATCH 10/13] mesa: Allow glGet* queries on EXT_texture_lod_bias data in ES 3

2012-12-10 Thread Matt Turner
Fixes the remaining 4 texture_lod_bias failures in es3conform. --- src/mesa/main/get_hash_params.py | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index 055a073..650fb38 100644 --- a/src/mesa/mai

[Mesa-dev] [PATCH 09/13] mesa: Allow glGet* queries on EXT_framebuffer_blit data in ES 3

2012-12-10 Thread Matt Turner
Fixes 2 framebuffer_blit es3conform tests. --- src/mesa/main/get_hash_params.py |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index 9edeb9b..055a073 100644 --- a/src/mesa/main/get_hash_params.py +

[Mesa-dev] [PATCH 08/13] mesa: Allow glGet* queries on ARB_fragment/vertex_shader data in ES 3

2012-12-10 Thread Matt Turner
Fixes uniform_buffer_object_implementation_dependent_limits in es3conform. --- src/mesa/main/get_hash_params.py | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index 692c17a..9edeb9b 100644 --- a/

[Mesa-dev] [PATCH 07/13] mesa: Allow glGet* queries on ARB_framebuffer_object data in ES 3

2012-12-10 Thread Matt Turner
--- src/mesa/main/get_hash_params.py |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index ffdf96a..692c17a 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -321

[Mesa-dev] [PATCH 06/13] mesa: Allow glGet* queries on ARB_transform_feedback2 data in ES 3

2012-12-10 Thread Matt Turner
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 |8 +++- src/mesa/main/get_hash_params.py | 10 +- 2 files changed, 12 insertions(+), 6 de

[Mesa-dev] [PATCH 05/13] mesa: Allow glGet* queries on EXT_transform_feedback data in ES 3

2012-12-10 Thread Matt Turner
--- src/mesa/main/get_hash_params.py | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index 80789a1..d9fa693 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py

[Mesa-dev] [PATCH 04/13] mesa: Allow glGet* queries on ARB_sync data in ES 3

2012-12-10 Thread Matt Turner
Fixes the sync_coverage_max_server_wait_timeout test in es3conform. --- src/mesa/main/get_hash_params.py |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index f567cac..80789a1 100644 --- a/src/mesa/ma

[Mesa-dev] [PATCH 03/13] mesa: Allow glGet* queries of EXT_pbo data in ES 3

2012-12-10 Thread Matt Turner
Fixes pixel_buffer_object_default_binding and gets other tests in es3conform closer to passing. --- src/mesa/main/get_hash_params.py |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index a49b603..f5

[Mesa-dev] [PATCH 02/13] mesa: Allow glGet* queries of select ARB_ubo data in ES 3

2012-12-10 Thread Matt Turner
Fixes 5 uniform_buffer_object tests in es3conform. --- src/mesa/main/get_hash_params.py | 23 ++- 1 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index ac9c79c..a49b603 100644 --- a/src/mesa/m

[Mesa-dev] [PATCH 01/13] Add ES 3 handling to get.c and get_hash_generator.py

2012-12-10 Thread Matt Turner
--- src/mesa/main/get.c | 16 src/mesa/main/get_hash_generator.py |8 +++- src/mesa/main/mtypes.h |1 + 3 files changed, 24 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index cd239a6..146612c 10064

Re: [Mesa-dev] [PATCH 2/2] mesa: don't advertise ARB_texture_buffer_object in legacy contexts

2012-12-10 Thread Brian Paul
On 12/10/2012 12:32 PM, Marek Olšák wrote: On Mon, Dec 10, 2012 at 5:25 PM, Brian Paul wrote: On 12/08/2012 03:02 PM, Marek Olšák wrote: --- src/mesa/drivers/dri/intel/intel_extensions.c |5 + src/mesa/main/bufferobj.c |4 ++-- src/mesa/main/extensions.c

Re: [Mesa-dev] [PATCH] st/dri: add a way to force MSAA on with an environment variable

2012-12-10 Thread Brian Paul
On 12/10/2012 01:58 PM, Marek Olšák wrote: There are 2 ways. I prefer the former: GALLIUM_MSAA=n __GL_FSAA_MODE=n Tested with ETQW, which doesn't support MSAA on Linux. This is the only way to get MSAA there. --- src/gallium/state_trackers/dri/common/dri_screen.c | 43 +

[Mesa-dev] [PATCH] i965: Make try_rewrite_rhs_to_dst compare VGRF size to regs written.

2012-12-10 Thread Kenneth Graunke
try_rewrite_rhs_to_dst is a quick optimization to avoid generating new temporaries (and MOVs from those temporaries to the dest) for every expression tree we visit. By generating better code in simple cases, we reduce the burden on later optimization passes like register coalescing. Previously, w

Re: [Mesa-dev] [PATCH] glsl: Track UBO block names in the symbol table.

2012-12-10 Thread Ian Romanick
On 12/08/2012 09:49 PM, Kenneth Graunke wrote: On 12/08/2012 12:45 PM, Ian Romanick wrote: From: Kenneth Graunke The GLSL 1.40 spec says: "Uniform block names and variable names declared within uniform blocks are scoped at the program level." Track the block name in the symbol tabl

[Mesa-dev] [PATCH] llvmpipe: fix txq for 1d/2d arrays. (v2)

2012-12-10 Thread Dave Airlie
From: Dave Airlie Noticed would fail, we were doing two things wrong a) 1d arrays require the layers in height b) minifying the layers field. v2: don't change height code, fixup completely inside txq as suggested by Roland. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/gallivm/lp_bld_

[Mesa-dev] [Bug 58100] New: Mesa generates BadMatch error when making context current with no drawable

2012-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58100 Priority: medium Bug ID: 58100 Assignee: mesa-dev@lists.freedesktop.org Summary: Mesa generates BadMatch error when making context current with no drawable Severity: normal

[Mesa-dev] [PATCH] st/dri: add a way to force MSAA on with an environment variable

2012-12-10 Thread Marek Olšák
There are 2 ways. I prefer the former: GALLIUM_MSAA=n __GL_FSAA_MODE=n Tested with ETQW, which doesn't support MSAA on Linux. This is the only way to get MSAA there. --- src/gallium/state_trackers/dri/common/dri_screen.c | 43 ++-- 1 file changed, 39 insertions(+), 4 deletio

[Mesa-dev] [PATCH 4/4] r600g: suballocate memory for fetch shaders from a large buffer

2012-12-10 Thread Marek Olšák
Fetch shaders are usually destroyed at the context destruction by the state tracker, so we can put them all in a large buffer without wasting memory. This reduces the number of relocations sent to the kernel a little bit. --- src/gallium/drivers/r600/evergreen_state.c |6 +++--- src/gallium

[Mesa-dev] [PATCH 3/4] r600g: suballocate memory for the STRMOUT_BUFFER_FILLED_SIZE register

2012-12-10 Thread Marek Olšák
Instead of having a 4-byte buffer for each streamout target, we suballocate each dword from a 4K buffer. This further reduces the overall number of relocations. --- src/gallium/drivers/r600/r600.h |4 +++- src/gallium/drivers/r600/r600_hw_context.c |8 src/gallium/

[Mesa-dev] [PATCH 2/4] gallium/util: add a simple allocator for suballocating from a large buffer

2012-12-10 Thread Marek Olšák
--- src/gallium/auxiliary/Makefile.sources |1 + src/gallium/auxiliary/util/u_suballoc.c | 132 +++ src/gallium/auxiliary/util/u_suballoc.h | 48 +++ 3 files changed, 181 insertions(+) create mode 100644 src/gallium/auxiliary/util/u_suballoc.c create m

[Mesa-dev] [PATCH 1/4] r600g: use u_upload_mgr for allocating staging transfer buffers

2012-12-10 Thread Marek Olšák
u_upload_mgr suballocates memory from a large buffer and maps the allocated range (unsychronized), which is perfect for short-lived staging buffers. This reduces the number of relocations sent to the kernel. --- src/gallium/drivers/r600/r600_buffer.c | 30 +++--- 1 file

Re: [Mesa-dev] [PATCH 1/6] st/mesa: remove a weird msaa hack

2012-12-10 Thread Marek Olšák
On Mon, Dec 10, 2012 at 5:28 PM, Brian Paul wrote: > On 12/08/2012 07:40 AM, Marek Olšák wrote: >> >> It doesn't work and it's not clear how it's supposed to work. >> --- >> src/mesa/state_tracker/st_atom_rasterizer.c |3 +-- >> src/mesa/state_tracker/st_context.c | 17 ---

[Mesa-dev] [PATCH] gallivm: fix texel fetch for array textures

2012-12-10 Thread sroland
From: Roland Scheidegger Since we don't call lp_build_sample_common() in the texel fetch path we missed the layer fixup code. If someone would have tried to do texelFetch with array textures it would have crashed for sure. Not really tested (no overlap of texelFetch and array texture tests in pig

Re: [Mesa-dev] [PATCH 2/2] llvmpipe: fix txq for 1d/2d arrays.

2012-12-10 Thread Dave Airlie
On Tue, Dec 11, 2012 at 5:52 AM, Jose Fonseca wrote: > > > - Original Message - >> Am 08.12.2012 07:02, schrieb Dave Airlie: >> > From: Dave Airlie >> > >> > Noticed would fail, we were doing two things wrong >> > >> > a) 1d arrays require the layers in height >> > b) minifying the layers

[Mesa-dev] [PATCH 2/2] llvmpipe: don't use user constant buffers

2012-12-10 Thread Brian Paul
This fixes some use-after-free issues. I haven't measured any real performance difference with a handful of Mesa demos. --- src/gallium/drivers/llvmpipe/lp_screen.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/d

[Mesa-dev] [PATCH 1/2] llvmpipe: support pipe_resource-based constant buffers

2012-12-10 Thread Brian Paul
Before this we only supported user-based constant buffers. First, we basically plumb pipe_constant_buffer objects through llvmpipe rather than pipe_resource objects. Second, update llvmpipe_set_constant_buffer() and try_update_scene_state() so they understand both resource- and user-based constan

Re: [Mesa-dev] [PATCH 2/2] llvmpipe: fix txq for 1d/2d arrays.

2012-12-10 Thread Jose Fonseca
- Original Message - > Am 08.12.2012 07:02, schrieb Dave Airlie: > > From: Dave Airlie > > > > Noticed would fail, we were doing two things wrong > > > > a) 1d arrays require the layers in height > > b) minifying the layers field. > > > > Signed-off-by: Dave Airlie > > --- > > src/g

Re: [Mesa-dev] [PATCH 2/2] mesa: don't advertise ARB_texture_buffer_object in legacy contexts

2012-12-10 Thread Marek Olšák
On Mon, Dec 10, 2012 at 5:25 PM, Brian Paul wrote: > On 12/08/2012 03:02 PM, Marek Olšák wrote: >> >> --- >> src/mesa/drivers/dri/intel/intel_extensions.c |5 + >> src/mesa/main/bufferobj.c |4 ++-- >> src/mesa/main/extensions.c|2 +- >>

Re: [Mesa-dev] [PATCH 2/2] llvmpipe: fix txq for 1d/2d arrays.

2012-12-10 Thread Roland Scheidegger
Am 08.12.2012 07:02, schrieb Dave Airlie: > From: Dave Airlie > > Noticed would fail, we were doing two things wrong > > a) 1d arrays require the layers in height > b) minifying the layers field. > > Signed-off-by: Dave Airlie > --- > src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c | 22 +++

[Mesa-dev] [PATCH] llvmpipe: remove unneeded draw_flush() calls

2012-12-10 Thread Brian Paul
These are redundant since we're calling draw_bind_fragment_shader() and draw_set_mapped_constant_buffer() which have flush calls also. --- src/gallium/drivers/llvmpipe/lp_state_fs.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs

[Mesa-dev] R: Re: R: Re: [PATCH] silence unused code warnings

2012-12-10 Thread Fabio Pedretti
>Da: bri...@vmware.com >On 12/07/2012 02:59 PM, Fabio Pedretti wrote: >>> Comments below. >> >> Thanks, updated patches follow. > >These look OK to me. Do you need me to commit them for you? Yes, thanks. ___ mesa-dev mailing list mesa-dev@lists.freedesk

Re: [Mesa-dev] [PATCH 12/12] mesa: minor indentation fixes in texcompress_etc.c

2012-12-10 Thread Jose Fonseca
I only skimmed through, but series looks like a nice cleanup to me. Jose - Original Message - > From: Brian Paul > > --- > src/mesa/main/texcompress_etc.c | 34 > +- > 1 files changed, 17 insertions(+), 17 deletions(-) > > diff --git a/src/mesa/main/

Re: [Mesa-dev] R: Re: [PATCH] silence unused code warnings

2012-12-10 Thread Brian Paul
On 12/07/2012 02:59 PM, Fabio Pedretti wrote: Comments below. Thanks, updated patches follow. These look OK to me. Do you need me to commit them for you? -Brian ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org

Re: [Mesa-dev] [PATCH 6/6] gallium: remove pipe_surface::usage

2012-12-10 Thread Brian Paul
On 12/08/2012 07:40 AM, Marek Olšák wrote: Not really used by anybody. --- src/gallium/auxiliary/postprocess/pp_init.c |4 ++-- src/gallium/auxiliary/postprocess/pp_program.c|1 - src/gallium/auxiliary/postprocess/pp_run.c|1 - src/galliu

Re: [Mesa-dev] [PATCH 5/6] svga: stop using pipe_surface::usage

2012-12-10 Thread Brian Paul
On 12/08/2012 07:40 AM, Marek Olšák wrote: There are only 2 possible usages: render target and depth stencil. Both can be derived from the surface format, so the flag is redundant. And it's going away... Reviewed-by: Brian Paul ___ mesa-dev mailing

Re: [Mesa-dev] [PATCH 4/6] gallium/util: move util_try_blit_via_copy_region to u_surface.c

2012-12-10 Thread Brian Paul
On 12/08/2012 07:40 AM, Marek Olšák wrote: --- src/gallium/auxiliary/util/u_blitter.c | 146 - src/gallium/auxiliary/util/u_blitter.h | 11 --- src/gallium/auxiliary/util/u_surface.c | 160 src/gallium/auxiliary/util/u_surface.

Re: [Mesa-dev] [PATCH 3/6] gallium/cso: don't use the pipe_error return type where it's not needed

2012-12-10 Thread Brian Paul
On 12/08/2012 07:40 AM, Marek Olšák wrote: --- src/gallium/auxiliary/cso_cache/cso_context.c | 37 - src/gallium/auxiliary/cso_cache/cso_context.h | 28 --- 2 files changed, 24 insertions(+), 41 deletions(-) Reviewed-by: Brian Paul __

Re: [Mesa-dev] [PATCH 2/6] gallium: manage render condition in cso_context and fix postprocessing w/ it

2012-12-10 Thread Brian Paul
On 12/08/2012 07:40 AM, Marek Olšák wrote: --- src/gallium/auxiliary/cso_cache/cso_context.c | 26 + src/gallium/auxiliary/cso_cache/cso_context.h |5 + src/gallium/auxiliary/postprocess/pp_run.c|3 +++ src/gallium/auxiliary/util/u_blit.c |

Re: [Mesa-dev] [PATCH 1/6] st/mesa: remove a weird msaa hack

2012-12-10 Thread Brian Paul
On 12/08/2012 07:40 AM, Marek Olšák wrote: It doesn't work and it's not clear how it's supposed to work. --- src/mesa/state_tracker/st_atom_rasterizer.c |3 +-- src/mesa/state_tracker/st_context.c | 17 - src/mesa/state_tracker/st_context.h |4

Re: [Mesa-dev] [PATCH 2/2] mesa: don't advertise ARB_texture_buffer_object in legacy contexts

2012-12-10 Thread Brian Paul
On 12/08/2012 03:02 PM, Marek Olšák wrote: --- src/mesa/drivers/dri/intel/intel_extensions.c |5 + src/mesa/main/bufferobj.c |4 ++-- src/mesa/main/extensions.c|2 +- src/mesa/main/get.c |9 - src/

Re: [Mesa-dev] Build fails at hash_table.c

2012-12-10 Thread Kevin H. Hobbs
On 12/10/2012 09:33 AM, Marek Olšák wrote: > Type "git clean -fdX" before building Mesa. Sometimes I hate git. "make clean git reset --hard git clean -fd git pull origin" isn't enough because if the file was in .gitignore and not cleaned by "make clean", then git clean ignored it. I used to

Re: [Mesa-dev] [PATCH 1/4] AMDGPU: remove nonsense setPrefLoopAlignment

2012-12-10 Thread Michel Dänzer
The series is Tested-by: Michel Dänzer Fixes many piglit tests with no regressions, and full glamor 2D acceleration seems to work well now. :) (I'll push a change to enable it to xf86-video-ati Git once this series has landed) Nice work! -- Earthling Michel Dänzer |

Re: [Mesa-dev] set.c vs. hash_table.c

2012-12-10 Thread Brian Paul
On 12/09/2012 07:41 PM, Eric Anholt wrote: Brian Paul writes: Hi Jordan, set.c and hash_table.c look a LOT alike. Could the functions in set.c be implemented in terms of the hash_table.c functions? It seems little silly to have so much duplicated code. The idea of the set code is to save

Re: [Mesa-dev] Build fails at hash_table.c

2012-12-10 Thread Brian Paul
You'd think that 'make clean' would clear up stuff like this but it doesn't. I've had better luck with 'make distclean'. -Brian On 12/10/2012 07:33 AM, Marek Olšák wrote: Type "git clean -fdX" before building Mesa. And welcome to Mesa's build system, which never really works as expected.

Re: [Mesa-dev] [PATCH 1/3] radeon/llvm: Split Word0 and Word1 in Export instruction

2012-12-10 Thread Tom Stellard
On Sat, Dec 08, 2012 at 06:10:17PM +0100, Vincent Lejeune wrote: > --- > .../AMDGPU/MCTargetDesc/R600MCCodeEmitter.cpp | 4 +- > lib/Target/AMDGPU/R600ISelLowering.cpp | 6 +- > lib/Target/AMDGPU/R600Instructions.td | 99 > -- > 3 files changed,

Re: [Mesa-dev] [PATCH 4/4] AMDGPU: New control flow for SI

2012-12-10 Thread Tom Stellard
On Sun, Dec 09, 2012 at 06:02:59PM +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 s

Re: [Mesa-dev] Build fails at hash_table.c

2012-12-10 Thread Marek Olšák
Type "git clean -fdX" before building Mesa. And welcome to Mesa's build system, which never really works as expected. Marek On Mon, Dec 10, 2012 at 2:50 PM, Kevin H. Hobbs wrote: > gmake[5]: Entering directory `/home/kevin/mesa/src/glsl/builtin_compiler' > gmake[5]: *** No rule to make target >

[Mesa-dev] Build fails at hash_table.c

2012-12-10 Thread Kevin H. Hobbs
gmake[5]: Entering directory `/home/kevin/mesa/src/glsl/builtin_compiler' gmake[5]: *** No rule to make target `../../../src/mesa/program/hash_table.c', needed by `hash_table.o'. Stop. My mesa build has been failing here for the past few days. The script that does the build is attached but the c