[Mesa-dev] [PATCH v3] i965: Implement GL_PRIMITIVES_GENERATED with non-zero streams.

2014-06-26 Thread Iago Toral Quiroga
So far we have been using CL_INVOCATION_COUNT to resolve this query but this is no good with streams, as only stream 0 reaches the clipping stage. Instead we will use SO_PRIM_STORAGE_NEEDED which can keep track of the primitives sent to each individual stream. Since SO_PRIM_STORAGE_NEEDED is

[Mesa-dev] i965: possible hardware bug affecting multi-stream support

2014-06-26 Thread Iago Toral
Hello, while testing various scenarios for multi-stream support in geometry shaders I came across one that I think might be a hardware bug, or at the very least, a hardware limitation that creates a problem to implement correct behavior according to ARB_transform_feedback3. The conflictive

Re: [Mesa-dev] [PATCH] softpipe: use last_level from sampler view, not from the resource

2014-06-26 Thread Brian Paul
On 06/25/2014 06:38 PM, srol...@vmware.com wrote: From: Roland Scheidegger srol...@vmware.com The last_level from the sampler view may be limited by the state tracker to a value lower than what the base texture provides. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=80541. ---

Re: [Mesa-dev] [PATCH 2/5] clover: Fix not setting build log if the build succeeds v2

2014-06-26 Thread Francisco Jerez
Tom Stellard thomas.stell...@amd.com writes: From: Matt Arsenault arse...@gmail.com If there were only warnings, they would not be added to the log. Also fixes valgrind use after free errors. This last comment is somewhat misleading now, as this doesn't fix any valgrind errors anymore.

Re: [Mesa-dev] [PATCH 3/5] clover: Report default values for half and double fp configs v2

2014-06-26 Thread Francisco Jerez
Tom Stellard thomas.stell...@amd.com writes: From: Matt Arsenault arse...@gmail.com v2: -Fix indentation --- src/gallium/state_trackers/clover/api/device.cpp | 11 +-- src/gallium/state_trackers/clover/core/device.cpp | 24 +++

Re: [Mesa-dev] [PATCH 5/5] clover: Enable cl_khr_fp64 for devices that support doubles v2

2014-06-26 Thread Francisco Jerez
Tom Stellard thomas.stell...@amd.com writes: v2: - Report correct values for CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE and CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE. - Only define cl_khr_fp64 if the extension is supported. - Remove trailing space from extension string. - Rename device

[Mesa-dev] [Bug 80541] [softpipe] piglit levelclamp regression

2014-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80541 Roland Scheidegger srol...@vmware.com changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [Bug 80561] New: Incorrect implementation of some VDPAU APIs.

2014-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80561 Priority: medium Bug ID: 80561 Assignee: mesa-dev@lists.freedesktop.org Summary: Incorrect implementation of some VDPAU APIs. Severity: normal Classification: Unclassified

[Mesa-dev] [PATCH] st/omx: keep the name, (name|role)_specific strings dynamically allocated

2014-06-26 Thread Emil Velikov
... as it's caller (the external program omxregister-bellagio) is the one who frees all of the allocated memory. Cc: Pedretti Fabio pedretti.fa...@gmail.com Reported-by: Pedretti Fabio pedretti.fa...@gmail.com Signed-off-by: Emil Velikov emil.l.veli...@gmail.com ---

Re: [Mesa-dev] [PATCH] mesa: expose ARB_seamless_cubemap_per_texture when supported

2014-06-26 Thread Ilia Mirkin
On Sun, Jun 22, 2014 at 1:49 PM, Ilia Mirkin imir...@alum.mit.edu wrote: All of the bits appear to already be in place to support this in the sampler (which the original AMD version didn't allow). Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- I'm probably missing some reason why this

Re: [Mesa-dev] [PATCH] mesa: expose ARB_seamless_cubemap_per_texture when supported

2014-06-26 Thread Kenneth Graunke
On Thursday, June 26, 2014 12:53:11 PM Ilia Mirkin wrote: On Sun, Jun 22, 2014 at 1:49 PM, Ilia Mirkin imir...@alum.mit.edu wrote: All of the bits appear to already be in place to support this in the sampler (which the original AMD version didn't allow). Signed-off-by: Ilia Mirkin

[Mesa-dev] RFC: egl/gallium: implemlent EGL_KHR_create_context.

2014-06-26 Thread Knut Andre Tidemann
Here is my go at implementing the EGL_KHR_create_context extension for the gallium state tracker. I'm new to Mesa development, so excuse me if I have forgotten something. This brings the EGL_KHR_create_context extension to the gallium egl state tracker. It is requried to create Core profile

[Mesa-dev] [PATCH] egl/gallium: implemlent EGL_KHR_create_context.

2014-06-26 Thread Knut Andre Tidemann
--- src/gallium/state_trackers/egl/common/egl_g3d.c | 1 + src/gallium/state_trackers/egl/common/egl_g3d_api.c | 8 2 files changed, 9 insertions(+) diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.c b/src/gallium/state_trackers/egl/common/egl_g3d.c index d3f5e92..22b5e4a

Re: [Mesa-dev] [PATCH] egl/gallium: implemlent EGL_KHR_create_context.

2014-06-26 Thread Ilia Mirkin
On Thu, Jun 26, 2014 at 1:08 PM, Knut Andre Tidemann knut.tidem...@gmail.com wrote: --- src/gallium/state_trackers/egl/common/egl_g3d.c | 1 + src/gallium/state_trackers/egl/common/egl_g3d_api.c | 8 2 files changed, 9 insertions(+) diff --git

Re: [Mesa-dev] [PATCH] egl/gallium: implemlent EGL_KHR_create_context.

2014-06-26 Thread Knut Andre Tidemann
On 06/26/2014 07:25 PM, Ilia Mirkin wrote: On Thu, Jun 26, 2014 at 1:08 PM, Knut Andre Tidemann knut.tidem...@gmail.com wrote: --- src/gallium/state_trackers/egl/common/egl_g3d.c | 1 + src/gallium/state_trackers/egl/common/egl_g3d_api.c | 8 2 files changed, 9 insertions(+)

Re: [Mesa-dev] [PATCH] egl/gallium: implemlent EGL_KHR_create_context.

2014-06-26 Thread Ilia Mirkin
On Thu, Jun 26, 2014 at 1:31 PM, Knut Andre Tidemann knut.tidem...@gmail.com wrote: On 06/26/2014 07:25 PM, Ilia Mirkin wrote: On Thu, Jun 26, 2014 at 1:08 PM, Knut Andre Tidemann knut.tidem...@gmail.com wrote: --- src/gallium/state_trackers/egl/common/egl_g3d.c | 1 +

Re: [Mesa-dev] [PATCH] egl/gallium: implemlent EGL_KHR_create_context.

2014-06-26 Thread Knut Andre Tidemann
On 06/26/2014 07:32 PM, Ilia Mirkin wrote: On Thu, Jun 26, 2014 at 1:31 PM, Knut Andre Tidemann knut.tidem...@gmail.com wrote: On 06/26/2014 07:25 PM, Ilia Mirkin wrote: On Thu, Jun 26, 2014 at 1:08 PM, Knut Andre Tidemann knut.tidem...@gmail.com wrote: ---

Re: [Mesa-dev] [PATCH] egl/gallium: implemlent EGL_KHR_create_context.

2014-06-26 Thread Kenneth Graunke
On Thursday, June 26, 2014 07:31:20 PM Knut Andre Tidemann wrote: On 06/26/2014 07:25 PM, Ilia Mirkin wrote: On Thu, Jun 26, 2014 at 1:08 PM, Knut Andre Tidemann knut.tidem...@gmail.com wrote: --- src/gallium/state_trackers/egl/common/egl_g3d.c | 1 +

Re: [Mesa-dev] [PATCH] i965: Make glGetTex to PBO path use blorp to handle swizzled formats

2014-06-26 Thread Courtney Goeltzenleuchter
On Wed, Jun 25, 2014 at 12:05 PM, Jon Ashburn j...@lunarg.com wrote: Existing texture read into PBO was using GPU Blit engine in which src and dest formats must match. With commit 61e264f4fcdba, internally stored texture formats were no longer swizzled (BGRA instead of RGBA). This caused

Re: [Mesa-dev] [PATCH v2] Remove unneeded stall calls from batches on Baytrail. According to the bspec and running piglit these are not needed.

2014-06-26 Thread Kenneth Graunke
On Wednesday, June 25, 2014 02:42:24 PM Gregory Hunt wrote: From: Greg Hunt greg.h...@mobica.com These cause a small slowdown when we are sending a large number of small batches to the GPU. Removing these improves performance by upto 5% on some CPU bound SynMark tests (Batch[4-7], DrvState1,

[Mesa-dev] [PATCH] egl/gallium: implemlent EGL_KHR_create_context v2

2014-06-26 Thread Knut Andre Tidemann
v2: fix style and wrong major version comparison. --- src/gallium/state_trackers/egl/common/egl_g3d.c | 1 + src/gallium/state_trackers/egl/common/egl_g3d_api.c | 8 2 files changed, 9 insertions(+) diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.c

Re: [Mesa-dev] i965: possible hardware bug affecting multi-stream support

2014-06-26 Thread Chris Forbes
As an alternative -- we know if we have this scenario at link time -- could we perhaps just not do anything in EmitStreamVertex if there are no varyings captured to that stream? On Thu, Jun 26, 2014 at 10:26 PM, Iago Toral ito...@igalia.com wrote: Hello, while testing various scenarios for

[Mesa-dev] [PATCH v3] glsl/glcpp: Fix glcpp to properly lex entire preprocessing numbers

2014-06-26 Thread Carl Worth
The preprocessor defines a notions of a preprocessing number that starts with either a digit or a decimal point, and continues with zero or more of digits, decimal points, identifier characters, or the sign symbols, ('-' and '+'). Prior to this change, preprocessing numbers were lexed as some

[Mesa-dev] glsl/glcpp: A bunch of pre-processor cleanups

2014-06-26 Thread Carl Worth
Here's my latest series of patches to improve conformance of glcpp, (the glsl preprocessor in mesa). Most of these changes are fixes that only a test-suite author could love. Most fix nit-picky tests that do things that no sance application would actually do. They're all reasonable things to do,

[Mesa-dev] [PATCH 02/23] glsl/glcpp: Add support for comments between #define and macro identifier

2014-06-26 Thread Carl Worth
The recent adddition of an error for #define followed by a non-identifier was a bit to aggressive since it used a regular expression in the lexer to flag any character that's not legal as the first character of an identifier. But we need to allow comments to appear here, (since we aren't removing

[Mesa-dev] [PATCH 06/23] glsl/glcpp: Abstract a bit of common code for returning string tokens

2014-06-26 Thread Carl Worth
Now that we have a common macro for returning tokens, it makes sense to perform some of the common work there, (such as copying string values). --- src/glsl/glcpp/glcpp-lex.l | 41 ++--- 1 file changed, 18 insertions(+), 23 deletions(-) diff --git

[Mesa-dev] [PATCH 13/23] glsl/glcpp: Correctly parse directives with intervening comments

2014-06-26 Thread Carl Worth
It's legal (though highly bizarre) for a pre-processor directive to look like this: # /* why? */ define FOO bar This behavior comes about since the specification defines separate logical phases in a precise order, and comment-removal occurs in a phase before the identification of

[Mesa-dev] [PATCH 04/23] glsl/glcpp: Add testing for EOF sans newline (and fix for DEFINE, COMMENT)

2014-06-26 Thread Carl Worth
The glcpp implementation has long had code to support a file that ends without a final newline. But we didn't have a make check test for this. Additionally, the EOF action was restricted only to the INITIAL state so it would fail to get invoked if the EOF was encountered in the COMMENT or the

[Mesa-dev] [PATCH 07/23] glsl/glcpp: Stop using a lexer start condition (SKIP) for token skipping.

2014-06-26 Thread Carl Worth
Here, skipping refers to the lexer not emitting any tokens for portions of the file within an #if condition (or similar) that evaluates to false. Previously, the lexer had a special SKIP start condition used to control this skipping. This start condition was not handled like a normal start

[Mesa-dev] [PATCH 12/23] glsl/glcpp: Rename HASH token to HASH_TOKEN

2014-06-26 Thread Carl Worth
This is in preparation for the planned addition of a new HASH start condition to the lexer. Both start conditions and token types are, of course, in the same default C namespace, so a start condition and a token type with the same name will collide. (And unfortunately, they are both apparently

[Mesa-dev] [PATCH 01/23] glsl/glcpp: Emit proper error for #define with a non-identifier

2014-06-26 Thread Carl Worth
Previously, if the preprocessor encountered a #define with a non-identifier, such as: #define 123 456 The lexer had no explicit rules to match non-identifiers in the DEFINE start state. Because of this, flex's default rule was being invoked, (printing characters to stdout), and all text

[Mesa-dev] [PATCH 03/23] glsl/glcpp: Remove some un-needed calls to NEWLINE_CATCHUP

2014-06-26 Thread Carl Worth
The NEWLINE_CATCHUP code is only intended to be invoked after we lex an actual newline character ('\n'). The two extra calls here were apparently added accidentally because the pattern happened to contain a (negated) '\n'. I don't think either case could have caused any actual bug. (In the first

[Mesa-dev] [PATCH 10/23] glsl/glcpp: Add a -d/--debug option to the standalone glcpp program

2014-06-26 Thread Carl Worth
The verbose debug output from the parser is quite useful when debugging, and having this available as a command-line option is much more convenient than manually forcing this into the code when needed, (which is what I had been doing for too long previously). --- src/glsl/glcpp/glcpp-parse.y | 2

[Mesa-dev] [PATCH 14/23] glsl: Add an internal-error catch-all rule

2014-06-26 Thread Carl Worth
This is to avoid the default, silent flex rule which simply prints the character to stdout. --- src/glsl/glsl_lexer.ll | 13 + 1 file changed, 13 insertions(+) diff --git a/src/glsl/glsl_lexer.ll b/src/glsl/glsl_lexer.ll index db7b1d1..1cadf1f 100644 --- a/src/glsl/glsl_lexer.ll +++

[Mesa-dev] [PATCH 08/23] glsl/glcpp: Minor tweak to wording of error message

2014-06-26 Thread Carl Worth
It makes more sense to print the directive name with the preceding '#'. --- src/glsl/glcpp/glcpp-parse.y| 2 +- src/glsl/glcpp/tests/077-else-without-if.c.expected | 2 +- src/glsl/glcpp/tests/078-elif-without-if.c.expected | 2 +- 3 files changed, 3 insertions(+), 3

[Mesa-dev] [PATCH 05/23] glsl/glcpp: Drop extra, final newline from most output

2014-06-26 Thread Carl Worth
The glcpp parser is line-based, so it needs to see a NEWLINE token at the end of each line. This causes a trick for files that end without a final newline. Previously, the lexer for glcpp punted in this case by unconditionally returning a NEWLINE token at end-of-file, (causing most files to have

[Mesa-dev] [PATCH 20/23] glsl/glcpp: Test that macro parameters substitute immediately after periods

2014-06-26 Thread Carl Worth
At one point while rewriting the lexing rule for pre-processing numbers, I made it a bit too aggressive and within a replacement list sucked up a parameter name that appeared immediately after a period. This caused the parameter name to be unreplaced when the macro was expanded. It was in some

[Mesa-dev] [PATCH 21/23] glsl/glcpp: Add test for a multi-line comment within an #if 0 block

2014-06-26 Thread Carl Worth
This test is written to exercise a bug which I recently wrote, (but fortunately caught and fixed before ever committing it). For the curious: The bug happened when the NEWLINE_CATCHUP code didn't actually return the NEWLINE token (due to the skipping). This resulted in the lexer continuing

[Mesa-dev] [PATCH 19/23] glsl/glcpp: Add (non)-support for ++ and -- operators

2014-06-26 Thread Carl Worth
These operators aren't defined for preprocessor expressions, so we never implemented them. This led them to be misinterpreted as strings of unary '+' or '-' operators. In fact, what is actually desired is to generate an error if these operators appear in any preprocessor condition. So this

[Mesa-dev] [PATCH 15/23] glsl: Properly lex extra tokens when handling # directives.

2014-06-26 Thread Carl Worth
From: Kenneth Graunke kenn...@whitecape.org Without this, in the PP state, we would hit Flex's default rule, which prints tokens to stdout, rather than returning them as tokens. (Or, after the previous commit, we would hit the new catch-all rule and generate an internal compiler error.) With

[Mesa-dev] [PATCH 18/23] glsl/glcpp: Emit error for duplicate parameter name in function-like macro

2014-06-26 Thread Carl Worth
This will emit an error for something like: #define FOO(x,x) ... Obviously, it's not a legal thing to do, and it's easy to check. Add a make check test for this as well. This fixes the following Khronos GLES3 CTS tests: invalid_function_definitions.unique_param_name_vertex

[Mesa-dev] [PATCH 23/23] glsl/glcpp: Treat carriage return as equivalent to line feed.

2014-06-26 Thread Carl Worth
Previously, the '\r' character was not explicitly matched by any rule. With the recent addition of the catch-all rule for unrecognized characters, this means glcpp would generate an internal-compiler error for any occurrence of '\r' in a shader source string. Prior to the internal error, glcpp

[Mesa-dev] [PATCH 09/23] glsl/glcpp: Fix off-by-one error in column in first-line error messages

2014-06-26 Thread Carl Worth
For the first line we were initializing the column to 1, but for all subsequent lines we were initializing the column to 0. The column number is advanced for each token read before any error message is printed. So the 0 value is the correct initialization, (so that the first column is reported as

[Mesa-dev] [PATCH 22/23] glsl/glcpp: Add a catch-all rule for unexpected characters.

2014-06-26 Thread Carl Worth
In some of the recent glcpp bug-fixing, we found that glcpp was emitting unrecognized characters from the input source file to stdout, and dropping them from the source passed onto the compiler proper. This was obviously confusing, and totally undesired. The bogus behavior comes from an implicit

[Mesa-dev] [PATCH 11/23] glsl/glcpp: Don't use start-condition stack when switching to/from DEFINE

2014-06-26 Thread Carl Worth
This commit does not cause any behavioral change for any valid program. Prior to entering the DEFINE start condition, the only valid start condition is INITIAL, so whether pushing/popping DEFINE onto the stack or explicit returning to INITIAL is equivalent. The reason for this change is that we

[Mesa-dev] [PATCH 16/23] glsl/glcpp: Drop the HASH_ prefix from token names like HASH_IF

2014-06-26 Thread Carl Worth
Previously, we had a single token for #if but now that we have two separate tokens, it looks much better to see: HASH_TOKEN IF than: HASH_TOKEN HASH_IF (Note, that HASH_TOKEN instead of HASH, we also use DEFINE_TOKEN instead of DEFINE to avoid a conflict with the DEFINE start

[Mesa-dev] [PATCH 17/23] glsl/glcpp: Add an explantory comment for loc != NULL check

2014-06-26 Thread Carl Worth
Just reading the code, it looked like a bug that _define_object_macro had this check, but _define_function_macro did not. Upon further reading, that's because the check is to allow for our builtins to be defined, (and there are no builtin function-like macros). Add my new understanding as a

[Mesa-dev] ATI_envmap_bumpmap

2014-06-26 Thread Jason Ekstrand
Right now, the Intel driver is the only driver in mesa that implements this extension. Is anyone using this? Is it ok if we purge it? I'm doing some work on the texture format code and DUDV8 is an ugly special case. Thanks, --Jason Ekstrand ___

Re: [Mesa-dev] ATI_envmap_bumpmap

2014-06-26 Thread Ian Romanick
On 06/26/2014 05:30 PM, Jason Ekstrand wrote: Right now, the Intel driver is the only driver in mesa that implements Also as far as we can tell... it's the only driver that implements it. git-blame says that VMware added it a long time ago... before there was any support for SNORM textures.

[Mesa-dev] [PATCH] dri/xmlconfig: remove GL types.

2014-06-26 Thread Dave Airlie
This just drops all the GL types from the xmlconfig and use std C types from stdint and stdbool. Signed-off-by: Dave Airlie airl...@redhat.com --- src/mesa/drivers/dri/common/xmlconfig.c | 176 src/mesa/drivers/dri/common/xmlconfig.h | 20 ++-- 2 files changed,

[Mesa-dev] [PATCH] dri: remove GL types from config queries

2014-06-26 Thread Dave Airlie
This in theory changes ABI for the boolean-bool I think, but nothing in the tree uses configQueryb AFAICS. Signed-off-by: Dave Airlie airl...@redhat.com --- include/GL/internal/dri_interface.h| 7 --- src/mesa/drivers/dri/common/dri_util.c | 6 +++--- 2 files changed, 7 insertions(+), 6

[Mesa-dev] [PATCH 5/8] mesa/st: add vertex stream support

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- src/mesa/state_tracker/st_cb_queryobj.c| 2 +- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 10 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_queryobj.c

[Mesa-dev] [PATCH 7/8] nvc0/ir: fix emitting vertex stream

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp

[Mesa-dev] [PATCH 4/8] gallium: add a cap for max vertex streams

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- src/gallium/docs/source/screen.rst | 2 ++ src/gallium/drivers/freedreno/freedreno_screen.c | 1 + src/gallium/drivers/i915/i915_screen.c | 1 + src/gallium/drivers/ilo/ilo_screen.c | 1 +

[Mesa-dev] [PATCH 3/8] gallium: add a stream argument to create_query

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- src/gallium/auxiliary/hud/hud_driver_query.c | 6 +++--- src/gallium/drivers/freedreno/freedreno_query.c | 2 +- src/gallium/drivers/galahad/glhd_context.c | 6 -- src/gallium/drivers/i915/i915_query.c|

[Mesa-dev] [PATCH 2/8] gallium: add support for stream in so info

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- src/gallium/drivers/trace/tr_dump_state.c | 1 + src/gallium/include/pipe/p_state.h | 1 + src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/src/gallium/drivers/trace/tr_dump_state.c

[Mesa-dev] [PATCH 8/8] nvc0: expose 4 vertex streams, use stream ids in xfb

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- src/gallium/drivers/nouveau/nvc0/nvc0_program.c | 1 + src/gallium/drivers/nouveau/nvc0/nvc0_program.h | 1 + src/gallium/drivers/nouveau/nvc0/nvc0_query.c| 1 + src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 +-

[Mesa-dev] [PATCH 1/8] gallium: add vertex stream argument to EMIT/ENDPRIM

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- src/gallium/auxiliary/tgsi/tgsi_info.c | 4 ++-- src/gallium/docs/source/tgsi.rst | 8 src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git

[Mesa-dev] [PATCH 6/8] nvc0/ir: remove restarts for non-0 vertex streams

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- .../nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 26 +++--- .../nouveau/codegen/nv50_ir_lowering_nvc0.h| 1 + 2 files changed, 24 insertions(+), 3 deletions(-) diff --git

[Mesa-dev] [PATCH] dispatch: Do not generate extraneous parentheses.

2014-06-26 Thread Vinson Lee
This patch fixes 592 clang parentheses-equality warnings on Fedora 20. Signed-off-by: Vinson Lee v...@freedesktop.org --- tests/util/piglit-dispatch-gen.c.mako | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/tests/util/piglit-dispatch-gen.c.mako