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

2014-06-26 Thread Chris Forbes
You're right, that's a bad idea and doesn't work. On Fri, Jun 27, 2014 at 6:09 PM, Iago Toral wrote: > If by not doing anything you mean not processing or removing the > ir_emit_vertex instructions for that stream this would have two problems > at least: > > 1) We won't get correct results for GL

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

2014-06-26 Thread Iago Toral
If by not doing anything you mean not processing or removing the ir_emit_vertex instructions for that stream this would have two problems at least: 1) We won't get correct results for GL_PRIMITIVES_GENERATED in that stream (it will always be 0). This may be a minor problem. 2) If that stream is s

[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 --- 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 b/tests/util/piglit-dispatc

[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 --- .../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 a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp

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

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- 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 b/src/gallium/drivers/trac

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

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- 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 + src/gallium/drivers/llvmpipe/lp_screen.c

[Mesa-dev] [PATCH 0/8] gallium: add support for multiple vertex streams

2014-06-26 Thread Ilia Mirkin
This patch series is enough for xfb-streams to pass on a GK107 card. Haven't done much more testing than that. The mesa/st bits apply on top of Iago's v2 23-patch series, all the other patches should be independent of that. Ilia Mirkin (8): gallium: add vertex stream argument to EMIT/ENDPRIM

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

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- 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| 3 ++- src/gallium/d

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

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- 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 a/src/gallium/auxiliary/tgsi/tgsi_info.c

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

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- 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 b/src/mesa/state_tracker/st_cb_queryobj.c index 1a

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

2014-06-26 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- 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 b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp index

[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 --- 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 +- src/gallium/drivers/nouve

[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 --- include/GL/internal/dri_interface.h| 7 --- src/mesa/drivers/dri/common/dri_util.c | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff

[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 --- src/mesa/drivers/dri/common/xmlconfig.c | 176 src/mesa/drivers/dri/common/xmlconfig.h | 20 ++-- 2 files changed, 98 insertions(+), 9

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] 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 ___ mesa-de

[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

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

[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 start condit

[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 commen

[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 c

[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 wou

[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 pig

[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 commit

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

2014-06-26 Thread Carl Worth
From: Kenneth Graunke Without this, in the 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 this commit in place, we ge

[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 deleti

[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 a

[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 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 implemen

[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 start state. Because of this, flex's default rule was being invoked, (printing characters to stdout), and all text was bei

[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 c

[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 +++ b

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

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 action was restricted only to the state so it would fail to get invoked if the EOF was encountered in the or the case. Neither of t

[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 directi

[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 removin

[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 a/src/glsl/gl

[Mesa-dev] [PATCH 07/23] glsl/glcpp: Stop using a lexer start condition () 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 start condition used to control this skipping. This start condition was not handled like a normal start condition

[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, b

[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 co

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 wrote: > Hello, > > while testing various scenarios for multi-stream suppo

[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 b/src/gallium/state_tra

Re: [Mesa-dev] [PATCH] meta: Use AMD_vertex_shader_layer instead of a GS for layered clears.

2014-06-26 Thread Jordan Justen
Reviewed-by: Jordan Justen On Sun, Jun 22, 2014 at 10:27 PM, Kenneth Graunke wrote: > On i965, enabling and disabling the GS is not free: you have to do a > full pipeline stall, reconfigure the URB and push constant space, and > emit a bunch of state. Most clears aren't layered, so the GS isn't

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 > > 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, HdrBloom, Multith

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 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 > existing > ac

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 > > wrote: > >> --- > >> src/gallium/state_trackers/egl/common/egl_g3d.c | 1 + > >> src/gallium/state_trackers/egl/common/

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 wrote: On 06/26/2014 07:25 PM, Ilia Mirkin wrote: On Thu, Jun 26, 2014 at 1:08 PM, Knut Andre Tidemann wrote: --- src/gallium/state_trackers/egl/common/egl_g3d.c | 1 + src/gallium/s

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 wrote: > > On 06/26/2014 07:25 PM, Ilia Mirkin wrote: >> >> On Thu, Jun 26, 2014 at 1:08 PM, Knut Andre Tidemann >> wrote: >>> >>> --- >>> src/gallium/state_trackers/egl/common/egl_g3d.c | 1 + >>> src/gallium/state_trackers/egl/common/e

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 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 a/src/gallium

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 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 a/src/gallium/state_trackers/egl/common/egl_g3d.c >

[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

[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 conte

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 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 > > --- > > > > I'

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 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 > --- > > I'm probably missing some reason why this wasn't already enabled, but sendin

[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 Reported-by: Pedretti Fabio Signed-off-by: Emil Velikov --- src/gallium/state_trackers/omx/vid_dec.c | 41 ++-- src/gallium/state_trac

[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 OS

[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 changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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 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 query function fro

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 writes: > From: Matt Arsenault > > v2: > -Fix indentation > --- > src/gallium/state_trackers/clover/api/device.cpp | 11 +-- > src/gallium/state_trackers/clover/core/device.cpp | 24 > +++ > src/gallium/state_trackers/clover/core/device.hpp | 3 +++

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 writes: > From: Matt Arsenault > > 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. Without it, this patch is: Reviewed-by

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 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. --- src/gallium/drivers/softpipe

[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 scenar