[Mesa-dev] [PATCH] clover: Remove dead file from Makefile.sources.

2013-11-11 Thread Matt Turner
--- src/gallium/state_trackers/clover/Makefile.sources | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/state_trackers/clover/Makefile.sources b/src/gallium/state_trackers/clover/Makefile.sources index 520f52f..42b3345 100644 --- a/src/gallium/state_trackers/clover/Makefile.sources

Re: [Mesa-dev] [PATCH] meta: enable vertex attributes in the context of the newly created array object

2013-11-11 Thread Petr Sebor
Not having push access rights, I hope this fix gets merged soon. Hopefully a stable release candidate as well. Thanks, Petr On 12.11.2013 00:32, Brian Paul wrote: On 11/11/2013 04:19 PM, Petr Sebor wrote: Otherwise, the function would enable generic vertex attributes 0 and 1 of the array

Re: [Mesa-dev] [PATCH] clover: Remove dead file from Makefile.sources.

2013-11-11 Thread Tom Stellard
On Mon, Nov 11, 2013 at 03:54:48PM -0800, Matt Turner wrote: --- Reviewed-by: Tom Stellard thomas.stell...@amd.com src/gallium/state_trackers/clover/Makefile.sources | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/state_trackers/clover/Makefile.sources

Re: [Mesa-dev] [PATCH] clover: Remove dead file from Makefile.sources.

2013-11-11 Thread Emil Velikov
On 11/11/13 23:54, Matt Turner wrote: Just stumbled on this a bit earlier. Seems line make dist has some benefits. :) Reviewed-by: Emil Velikov emil.l.veli...@gmail.com --- src/gallium/state_trackers/clover/Makefile.sources | 1 - 1 file changed, 1 deletion(-) diff --git

[Mesa-dev] [PATCH] dri: Remove redundant createNewContext function from __DRIimageDriverExtension

2013-11-11 Thread Kristian Høgsberg
createContextAttribs is a superset of what createNewContext provides. Also remove the function typedef, since createNewContext is deprecated and no longer used in multiple interfaces. Signed-off-by: Kristian Høgsberg k...@bitplanet.net --- include/GL/internal/dri_interface.h| 12

[Mesa-dev] [PATCH demos v2 0/3] Customizable texture upload benchmark

2013-11-11 Thread Courtney Goeltzenleuchter
This patch series updates teximage to support additional test modes and commandline interface. I had started with adding a new test but it was similar to teximage and, as suggested, I'm submitting this patch that simply replaces teximage with this new test. Can run interactively, similar to

[Mesa-dev] [PATCH demos v2 3/3] perf: Add script to run collection of texture formats

2013-11-11 Thread Courtney Goeltzenleuchter
bench_teximage.sh runs all the same formats that teximage ran. Also passes the command line arguments of the script to the benchmark to allow tester to set --csvstyle to full or data for output more easily parsed by scripts and such. Signed-off-by: Courtney Goeltzenleuchter court...@lunarg.com

[Mesa-dev] [PATCH demos v2 1/3] Perf: Add command line capabilities to perf framework

2013-11-11 Thread Courtney Goeltzenleuchter
These were entirely interactive. Adding ability to pass in command line arguments allows future tests to include automated test capabilities. Signed-off-by: Courtney Goeltzenleuchter court...@lunarg.com --- src/perf/copytex.c | 2 +- src/perf/drawoverhead.c | 2 +-

[Mesa-dev] [PATCH demos v2 2/3] perf: Update teximage to measure more formats

2013-11-11 Thread Courtney Goeltzenleuchter
Needed test to measure texture upload speed under a variety of modes (mipmap, source format, internal format, size, etc.) This new test has an interactive run mode like the other Mesa Perf tests but also includes command line options to make it automatable. Fix up code formatting. Integrate review

Re: [Mesa-dev] [PATCH 14/37] r300: add symlink to ralloc.c and register_allocate.c

2013-11-11 Thread Emil Velikov
On 11/11/13 23:03, Tom Stellard wrote: On Sat, Nov 02, 2013 at 07:00:44PM +, Emil Velikov wrote: Make automake's subdir-objects work. Update includes. Signed-off-by: Emil Velikov emil.l.veli...@gmail.com --- src/gallium/drivers/r300/Makefile.am | 6 +++---

Re: [Mesa-dev] [PATCH 15/37] r300: move the final sources list to Makefile.sources

2013-11-11 Thread Emil Velikov
On 11/11/13 23:00, Tom Stellard wrote: On Sat, Nov 02, 2013 at 07:00:45PM +, Emil Velikov wrote: Signed-off-by: Emil Velikov emil.l.veli...@gmail.com Can you make sure make check still works with this patch, if it does, then: make check for in-tree builds works like a charm. But if I

[Mesa-dev] [PATCH] EGL: fix build without libdrm

2013-11-11 Thread Samuel Thibault
This fixes building EGL without libdrm support. Signed-off-by: Samuel Thibault samuel.thiba...@ens-lyon.org diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index a64f4e8..e703f28 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@

Re: [Mesa-dev] [PATCH] i965: Make the driver compile until a proper libdrm can be released.

2013-11-11 Thread Meng, Mengmeng
Hi Eric, Mesa complied error on 10.0 and it was fixed with this patch. Could you push this patch to Mesa 10.0? Errors(git-035cce8): brw_context.c: In function 'brwCreateContext': brw_context.c:721:9: error: implicit declaration of function 'drm_intel_get_reset_stats'

Re: [Mesa-dev] [PATCH] nicer-no-wrap-patch

2013-11-11 Thread Rogovin, Kevin
Hi all, I will later submit a patch taking into account comments, however one comment I will address *now*. Eric Anholt [e...@anholt.net] writes: Kevin Rogovin kevin.rogo...@intel.com writes: This patch adds a function interface for enabling no wrap on batch commands, adds to it assert

[Mesa-dev] [PATCH] nicer-no-wrap-patch

2013-11-11 Thread Kevin Rogovin
feedback integrated space-pace --- src/mesa/drivers/dri/i965/brw_context.h | 85 +++ src/mesa/drivers/dri/i965/brw_draw.c | 4 +- src/mesa/drivers/dri/i965/brw_state_batch.c | 15 + src/mesa/drivers/dri/i965/intel_batchbuffer.h | 6 ++ 4 files

[Mesa-dev] [PATCH] nicer-no-wrap-patch

2013-11-11 Thread Kevin Rogovin
Track bytes written during no flush phases for debug builds --- src/mesa/drivers/dri/i965/brw_context.h | 85 +++ src/mesa/drivers/dri/i965/brw_draw.c | 4 +- src/mesa/drivers/dri/i965/brw_state_batch.c | 15 +

[Mesa-dev] [PATCH] nicer-no-wrap-patch

2013-11-11 Thread Kevin Rogovin
feedback integrated space-pace --- src/mesa/drivers/dri/i965/brw_context.h | 85 +++ src/mesa/drivers/dri/i965/brw_draw.c | 4 +- src/mesa/drivers/dri/i965/brw_state_batch.c | 15 + src/mesa/drivers/dri/i965/intel_batchbuffer.h | 6 ++ 4 files

Re: [Mesa-dev] [PATCH] nicer-no-wrap-patch

2013-11-11 Thread Rogovin, Kevin
Hello, A subsequent patch has been sent out, and to put my head firmly into a paper bag, what should have been a two dry runs were not dry runs and got sent out; worse, it was sent three times... Sighs. My sincere apologies. Command lines are dangerous. As a side note, I do not know how the

[Mesa-dev] [PATCH V2 1/3] allow builtin functions to require parameters to be shader inputs

2013-11-11 Thread Chris Forbes
The new interpolateAt* builtins have strange restrictions on the interpolant parameter. - It must be a shader input, or an element of a shader input array. - It must not include a swizzle. V2: Don't abuse ir_var_mode_shader_in for this; make a new flag. Signed-off-by: Chris Forbes

[Mesa-dev] [PATCH V2 2/3] glsl: add new expression types for interpolateAt*

2013-11-11 Thread Chris Forbes
Will be used to implement interpolateAtCentroid(), interpolateAtOffset() and interpolateAtSample() from ARB_gpu_shader5 Will be used to implement interpolateAtCentroid() from ARB_gpu_shader5. Signed-off-by: Chris Forbes chr...@ijw.co.nz --- src/glsl/ir.cpp| 6 ++

[Mesa-dev] [PATCH V2 0/3] ARB_gpu_shader5 interpolateAt* plumbing

2013-11-11 Thread Chris Forbes
This series adds the driver-independent bits for the following new builtin functions in ARB_gpu_shader5: - interpolateAtCentroid - interpolateAtOffset - interpolateAtSample Passes all the compiler piglits for these builtins. Big changes from the RFC series from the other day: - Don't abuse

[Mesa-dev] [PATCH V2 3/3] glsl: add new interpolateAt* builtin functions

2013-11-11 Thread Chris Forbes
V2: - Don't assume everyone wants interpolateAtSample() lowered to interpolateAtOffset. It turns out this isn't what we want most of the time for i965. Lowering can be added later in an ir pass which drivers opt into, rather than bolting it straight into the builtin

Re: [Mesa-dev] [PATCH V2 2/3] glsl: add new expression types for interpolateAt*

2013-11-11 Thread Chris Forbes
Sorry, that commit message ended up a mess. On Tue, Nov 12, 2013 at 8:45 PM, Chris Forbes chr...@ijw.co.nz wrote: Will be used to implement interpolateAtCentroid(), interpolateAtOffset() and interpolateAtSample() from ARB_gpu_shader5 Will be used to implement interpolateAtCentroid() from

<    1   2