Re: [Mesa-dev] [PATCH] R600/SI: Add pattern for fp_to_uint

2013-07-30 Thread Michel Dänzer
On Die, 2013-07-30 at 03:45 +0200, Marek Olšák wrote: This fixes the F2U opcode for the Mesa driver. Signed-off-by: Marek Olšák marek.ol...@amd.com Reviewed-by: Michel Dänzer michel.daen...@amd.com Do you have LLVM SVN write access? -- Earthling Michel Dänzer |

Re: [Mesa-dev] [PATCH 2/4] glsl: Switch from the deprecated YYLEX_PARAM to %lex-param.

2013-07-30 Thread Matt Turner
On Mon, Jul 29, 2013 at 8:44 PM, Nikita Malyavin nikitamalya...@gmail.com wrote: Kenneth, maybe it's better to mark _mesa_glsl_lex as inline? The compiler will figure it out. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] [PATCH] R600/SI: Add pattern for fp_to_uint

2013-07-30 Thread Marek Olšák
No, I don't. This is a git patch. Marek On Tue, Jul 30, 2013 at 7:53 AM, Michel Dänzer mic...@daenzer.net wrote: On Die, 2013-07-30 at 03:45 +0200, Marek Olšák wrote: This fixes the F2U opcode for the Mesa driver. Signed-off-by: Marek Olšák marek.ol...@amd.com Reviewed-by: Michel Dänzer

[Mesa-dev] [Bug 58734] Add support for GL_EXT_bindable_uniform - Dungeon Defenders fails to launch crash

2013-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58734 ruthubuntu ruthubu...@gmx.cn changed: What|Removed |Added CC||ruthubu...@gmx.cn -- You

[Mesa-dev] [Bug 67516] glTexStorage*() functions don't work properly with proxy textures

2013-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67516 --- Comment #4 from Brian Paul bri...@vmware.com --- The patches look good to me. Reviewed-by: Brian Paul bri...@vmware.com Do you need me to commit them for you? -- You are receiving this mail because: You are the assignee for the bug.

[Mesa-dev] [Bug 67516] glTexStorage*() functions don't work properly with proxy textures

2013-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67516 --- Comment #5 from Mikko Juola mik...@gmail.com --- Yeah, I think so. This is the first time I've ever submitted any patches to mesa. -- You are receiving this mail because: You are the assignee for the bug.

Re: [Mesa-dev] [PATCH] R600/SI: Add pattern for fp_to_uint

2013-07-30 Thread Tom Stellard
On Tue, Jul 30, 2013 at 03:45:13AM +0200, Marek Olšák wrote: This fixes the F2U opcode for the Mesa driver. Signed-off-by: Marek Olšák marek.ol...@amd.com Hi Marek, You will need to include a lit test with this patch. lit tests are located in test/CodeGen/R600. You can reuse the existing

Re: [Mesa-dev] [PATCH 1/2] clover: Added missing address space checking of kernel parameters

2013-07-30 Thread Tom Stellard
On Wed, Jul 24, 2013 at 09:29:49AM -0400, Jonathan Charest wrote: Here is an updated patch with no line wrapping and respecting 80-column limit (for my changes). Hi, I've pushed a modified version of this patch that uses global arguments for constant buffers so it doesn't break r600g, and

[Mesa-dev] [Bug 58734] Add support for GL_EXT_bindable_uniform - Dungeon Defenders fails to launch crash

2013-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58734 Kenneth Graunke kenn...@whitecape.org changed: What|Removed |Added Status|NEW |RESOLVED

Re: [Mesa-dev] [PATCH] R600/SI: Add pattern for fp_to_uint

2013-07-30 Thread Michel Dänzer
On Die, 2013-07-30 at 07:47 -0700, Tom Stellard wrote: You will need to include a lit test with this patch. Ah yes, this occurred to me after my review. :) Also, if you try to run piglit with a debug version of LLVM, it will take forever. I always install a release version of llvm for

Re: [Mesa-dev] [PATCH 08/34] mesa/st: Add VARYING_SLOT_TEX[1-7] to st_translate_geometry_program().

2013-07-30 Thread Christoph Bumiller
On 29.07.2013 08:03, Paul Berry wrote: From: Bryan Cain bryanca...@gmail.com v2 (Paul Berry stereotype...@gmail.com: Split out to separate patch (previously this was part of glsl: add builtins for geometry shaders.) --- src/mesa/state_tracker/st_program.c | 7 +++ 1 file changed, 7

Re: [Mesa-dev] [PATCH] R600/SI: Add pattern for fp_to_uint

2013-07-30 Thread Tom Stellard
On Tue, Jul 30, 2013 at 05:54:58PM +0200, Michel Dänzer wrote: On Die, 2013-07-30 at 07:47 -0700, Tom Stellard wrote: You will need to include a lit test with this patch. Ah yes, this occurred to me after my review. :) Also, if you try to run piglit with a debug version of LLVM, it

[Mesa-dev] [PATCH 1/3] gallium: clarify shift behavior with shift count = 32

2013-07-30 Thread sroland
From: Roland Scheidegger srol...@vmware.com Previously, nothing was said what happens with shift counts exceeding bit width of the values to shift. In theory 3 behaviors are possible: 1) undefined (classic c definition) 2) just shift out all bits (so result is zero, or -1 potentially for ashr) 3)

[Mesa-dev] [PATCH 3/3] gallivm: obey clarified shift behavior

2013-07-30 Thread sroland
From: Roland Scheidegger srol...@vmware.com llvm shifts are undefined for shift counts exceeding (or matching) bit width, so need to apply a mask. NOTE: there's internal callers using this which guarantee the shift count is smaller than the type width. However, all of these use constant shift

[Mesa-dev] [PATCH 2/3] tgsi: obey clarified shift behavior

2013-07-30 Thread sroland
From: Roland Scheidegger srol...@vmware.com c shifts are undefined for shift counts exceeding (or matching) bit width, so need to apply a mask (on x86 it actually would usually probably work as shifts do masking on int domain shifts - unless some auto-vectorizer would come along at last as simd

Re: [Mesa-dev] [PATCH 1/3] gallium: clarify shift behavior with shift count = 32

2013-07-30 Thread Roland Scheidegger
Am 30.07.2013 18:13, schrieb srol...@vmware.com: From: Roland Scheidegger srol...@vmware.com Previously, nothing was said what happens with shift counts exceeding bit width of the values to shift. In theory 3 behaviors are possible: 1) undefined (classic c definition) 2) just shift out all

[Mesa-dev] [PATCH 1/2] mesa: Update comments to match newer specs.

2013-07-30 Thread Matt Turner
Old GL 1.x specs used 'b' but newer specs use 'p'. The line immediately above the second hunk also uses 'p'. --- src/mesa/main/mtypes.h | 2 +- src/mesa/main/texobj.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index

Re: [Mesa-dev] [PATCH 0/5] glsl: Clean up linker error checking.

2013-07-30 Thread Ian Romanick
The series is Reviewed-by: Ian Romanick ian.d.roman...@intel.com On 07/27/2013 03:59 PM, Paul Berry wrote: I recently discovered a bug in my geometry shader branch wherein we were responding to certain kinds of link errors by calling linker_error(), but the program was still linking

[Mesa-dev] [Bug 63435] [Regression since 9.0] Flickering in EGL OpenGL full-screen window with swap interval 1

2013-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63435 Ian Romanick i...@freedesktop.org changed: What|Removed |Added Status|NEW |NEEDINFO

Re: [Mesa-dev] [PATCH] mesa: Reject VertexAttribPointer() with GL_BGRA and !normalized.

2013-07-30 Thread Ian Romanick
On 07/23/2013 03:50 PM, Matt Turner wrote: On Mon, Jul 15, 2013 at 6:37 AM, Fredrik Höglund fred...@kde.org wrote: On Monday 15 July 2013, Kenneth Graunke wrote: Fixes Piglit's ARB_vertex_attrib_bgra/api-errors test. Signed-off-by: Kenneth Graunke kenn...@whitecape.org ---

[Mesa-dev] [Bug 67516] glTexStorage*() functions don't work properly with proxy textures

2013-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67516 --- Comment #6 from Mikko Juola mik...@gmail.com --- Created attachment 83319 -- https://bugs.freedesktop.org/attachment.cgi?id=83319action=edit patch 1/1 I discovered another proxy texture related bug with multisampling textures.

Re: [Mesa-dev] [PATCH 09/34] glsl: add ir_emitvertex and ir_endprim instruction types

2013-07-30 Thread Kenneth Graunke
On 07/28/2013 11:03 PM, Paul Berry wrote: From: Bryan Cain bryanca...@gmail.com These correspond to the EmitVertex and EndPrimitive functions in GLSL. v2 (Paul Berry stereotype...@gmail.com): Add stub implementations of new pure visitor functions to i965's vec4_visitor and fs_visitor classes.

Re: [Mesa-dev] [PATCH 10/34] glsl: add builtins for geometry shaders.

2013-07-30 Thread Kenneth Graunke
On 07/28/2013 11:03 PM, Paul Berry wrote: From: Bryan Cain bryanca...@gmail.com v2 (Paul Berry stereotype...@gmail.com): Account for rework of builtin_variables.cpp. Use INTERP_QUALIFIER_FLAT for gl_PrimitiveID so that it will obey provoking vertex conventions. Convert to GLSL 1.50 style

Re: [Mesa-dev] [PATCH 1/3] mesa: handle 2D texture arrays in get_tex_rgba_compressed()

2013-07-30 Thread Carl Worth
Brian Paul bri...@vmware.com writes: If we call glGetTexImage() for a compressed 2D texture array we need to loop over all the slices. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66850 NOTE: This is a candidate for the 9.x branches. Cc: mesa-sta...@lists.freedesktop.org Thanks.

Re: [Mesa-dev] [Mesa-stable] [PATCH] glsl: Handle empty if statement encountered during loop analysis.

2013-07-30 Thread Carl Worth
Paul Berry stereotype...@gmail.com writes: Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64330 CC: mesa-sta...@lists.freedesktop.org Thanks. I've now picked this over to a 9.1 branch which I plan to push out soon. -Carl -- carl.d.wo...@intel.com pgpr06gKPpBHA.pgp Description: PGP

Re: [Mesa-dev] [PATCH] i965/vs: Fix flaky texture swizzling

2013-07-30 Thread Carl Worth
Chris Forbes chr...@ijw.co.nz writes: NOTE: This is a candidate for stable branches. Thanks. I've now picked this to a 9.1 branch which I plan to push out soon. -Carl -- carl.d.wo...@intel.com pgp6AduBOvuys.pgp Description: PGP signature ___

Re: [Mesa-dev] [PATCH] glsl: Classify layout like other identifiers.

2013-07-30 Thread Carl Worth
Kenneth Graunke kenn...@whitecape.org writes: Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64087 .. Cc: mesa-sta...@lists.freedesktop.org Picked for 9.1. Thanks. -Carl -- carl.d.wo...@intel.com pgpn3imSF9FUf.pgp Description: PGP signature

[Mesa-dev] Should we add new error cases to stable releases?

2013-07-30 Thread Carl Worth
Hi Ken, In the last stable-release cycle you argued for not cherry picking commit fcaa48d9cc8937e0ceb59dfd22ef5b6e6fd1a273 on the grounds that we shouldn't change mesa to be strictly more strict in a stable release. That is, adding a new error case to the compiler cannot actually cause a valid

Re: [Mesa-dev] Request for update of commit proposed for stable branch

2013-07-30 Thread Marek Olšák
Thank you. Sorry for not replying earlier. Marek On Tue, Jul 30, 2013 at 12:54 AM, Carl Worth cwo...@cworth.org wrote: Carl Worth cwo...@cworth.org writes: I looked closer at the patch and it seems that it's fairly easy to backport to the 9.1 branch as seen below. And looking at the

[Mesa-dev] [PATCH] tgsi: add ucmp to the list of opcodes

2013-07-30 Thread Zack Rusin
we forgot to add ucmp to the list of opcodes, so it was never generated for ureg. Signed-off-by: Zack Rusin za...@vmware.com --- src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h

Re: [Mesa-dev] [PATCH] tgsi: add ucmp to the list of opcodes

2013-07-30 Thread Roland Scheidegger
Am 30.07.2013 22:12, schrieb Zack Rusin: we forgot to add ucmp to the list of opcodes, so it was never generated for ureg. Signed-off-by: Zack Rusin za...@vmware.com --- src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h |2 ++ 1 file changed, 2 insertions(+) diff --git

[Mesa-dev] [PATCH] gallivm: obey clarified shift behavior

2013-07-30 Thread sroland
From: Roland Scheidegger srol...@vmware.com llvm shifts are undefined for shift counts exceeding (or matching) bit width, so need to apply a mask for the tgsi shift instructions. v2: only use mask for the tgsi shift instructions, not for the build shift helpers. None of the internal callers need

Re: [Mesa-dev] Should we add new error cases to stable releases?

2013-07-30 Thread Carl Worth
Matt Turner matts...@gmail.com writes: I think that this patch /should/ go in, since it was a fix for a new extension. 9.2 will be the first version of Mesa to ship with support for ARB_shading_language_420pack, so the branch should contain bug fixes for the extension. Thanks. And yes,

Re: [Mesa-dev] [PATCH V3 2/5] i965 Gen4/5: Generalize SF interpolation setup for GLSL1.3

2013-07-30 Thread Paul Berry
On 14 July 2013 02:39, Chris Forbes chr...@ijw.co.nz wrote: Previously the SF only handled the builtin color varying specially. This patch generalizes that support to cover user-defined varyings, driven by the interpolation mode array set up alongside the VUE map. Based on the following

Re: [Mesa-dev] [Mesa-stable] Should we add new error cases to stable releases?

2013-07-30 Thread Ian Romanick
On 07/30/2013 12:13 PM, Carl Worth wrote: Hi Ken, In the last stable-release cycle you argued for not cherry picking commit fcaa48d9cc8937e0ceb59dfd22ef5b6e6fd1a273 on the grounds that we shouldn't change mesa to be strictly more strict in a stable release. That is, adding a new error case to

Re: [Mesa-dev] [PATCH V3 2/5] i965 Gen4/5: Generalize SF interpolation setup for GLSL1.3

2013-07-30 Thread Chris Forbes
On Wed, Jul 31, 2013 at 8:53 AM, Paul Berry stereotype...@gmail.com wrote: Can you point me to some VS code that does this? I thought that if the VS wrote only to gl_BackColor, then the VUE map would only contain a slot for gl_BackColor. The VS now does this: diff --git

Re: [Mesa-dev] [PATCH 13/15] mesa, glsl, st/dri: add a new driconf option force_glsl_version for Unigine

2013-07-30 Thread Marek Olšák
Hi Kenneth, Sorry I haven't had time to test Heaven 4.0 and I'm currently using the radeonsi driver, which only supports GL 2.1, GLSL 1.30, and it isn't in good shape to run Heaven at the moment. Besides that, Heaven 4.0 throws an error (X Error of failed request: GLXBadFBConfig), while Heaven

Re: [Mesa-dev] [Mesa-stable] Request for more information for stable-branch patches

2013-07-30 Thread Carl Worth
Ian Romanick i...@freedesktop.org writes: Foo. This is an issue that Tom pointed out before we started doing the mesa-stable list, and it seems that it does need solving. Right. I had disregarded the concern because I hadn't realized that there was a large stabilization phase for a major

Re: [Mesa-dev] [PATCH V3 2/5] i965 Gen4/5: Generalize SF interpolation setup for GLSL1.3

2013-07-30 Thread Chris Forbes
It seems a shame to lose this optimization. Can we move the call to count_flatshaded_attributes() up to the declaration of nr, and then we can keep this? This function isn't even called if there is no flat-shading to do. ___ mesa-dev mailing list

Re: [Mesa-dev] [PATCH V3 2/5] i965 Gen4/5: Generalize SF interpolation setup for GLSL1.3

2013-07-30 Thread Paul Berry
On 30 July 2013 14:06, Chris Forbes chr...@ijw.co.nz wrote: On Wed, Jul 31, 2013 at 8:53 AM, Paul Berry stereotype...@gmail.com wrote: Can you point me to some VS code that does this? I thought that if the VS wrote only to gl_BackColor, then the VUE map would only contain a slot for

Re: [Mesa-dev] [PATCH V3 2/5] i965 Gen4/5: Generalize SF interpolation setup for GLSL1.3

2013-07-30 Thread Paul Berry
On 30 July 2013 14:24, Chris Forbes chr...@ijw.co.nz wrote: It seems a shame to lose this optimization. Can we move the call to count_flatshaded_attributes() up to the declaration of nr, and then we can keep this? This function isn't even called if there is no flat-shading to do. Ok, I

Re: [Mesa-dev] [PATCH V3 3/5] i965 Gen4/5: clip: correctly handle flat varyings

2013-07-30 Thread Paul Berry
On 14 July 2013 02:39, Chris Forbes chr...@ijw.co.nz wrote: Previously we only gave special treatment to the builtin color varyings. This patch adds support for arbitrary flat-shaded varyings, which is required for GLSL 1.30. Based on Olivier Galibert's patch from last year:

Re: [Mesa-dev] [PATCH V3 4/5] i965 Gen4/5: clip: Add support for noperspective varyings

2013-07-30 Thread Paul Berry
On 14 July 2013 02:39, Chris Forbes chr...@ijw.co.nz wrote: Adds support for interpolating noperspective varyings linearly in screen space when clipping. Based on Olivier Galibert's patch from last year: http://lists.freedesktop.org/archives/mesa-dev/2012-July/024341.html At this point all

Re: [Mesa-dev] [PATCH V3 5/5] i965 Gen4/5: clip: Don't mangle flat varyings

2013-07-30 Thread Paul Berry
On 14 July 2013 02:39, Chris Forbes chr...@ijw.co.nz wrote: This patch ensures that integers will pass through unscathed. Doing (useless) computations on them is risky, especially when their bit patterns correspond to values like inf or nan. [V1-2]: Signed-off-by: Olivier Galibert galibert

Re: [Mesa-dev] [PATCH V3 5/5] i965 Gen4/5: clip: Don't mangle flat varyings

2013-07-30 Thread Chris Forbes
Oops, yes. On Wed, Jul 31, 2013 at 9:45 AM, Paul Berry stereotype...@gmail.com wrote: On 14 July 2013 02:39, Chris Forbes chr...@ijw.co.nz wrote: This patch ensures that integers will pass through unscathed. Doing (useless) computations on them is risky, especially when their bit patterns

Re: [Mesa-dev] [PATCH V4 1/5] i965 Gen4/5: Compute interpolation status for every varying in one place.

2013-07-30 Thread Paul Berry
On 23 July 2013 01:16, Chris Forbes chr...@ijw.co.nz wrote: The program keys are updated accordingly, but the values are not used yet. [V1-2]: Signed-off-by: Olivier Galibert galibert at pobox.com V3: Updated for vue_map changes, intel - brw merge, etc. (Chris Forbes) V4: Compute

Re: [Mesa-dev] [PATCH V3 0/5] Interpolation fixes for Gen4/5

2013-07-30 Thread Paul Berry
On 22 July 2013 23:04, Kenneth Graunke kenn...@whitecape.org wrote: On 07/14/2013 02:39 AM, Chris Forbes wrote: This series adds support for GLSL 1.30 / EXT_gpu_shader4's 'flat' and 'noperspective' varying interpolation qualifiers on Gen4/5. Based on Olivier Galibert's series from July

Re: [Mesa-dev] [PATCH 13/15] mesa, glsl, st/dri: add a new driconf option force_glsl_version for Unigine

2013-07-30 Thread Kenneth Graunke
On 07/30/2013 02:11 PM, Marek Olšák wrote: Hi Kenneth, Sorry I haven't had time to test Heaven 4.0 and I'm currently using the radeonsi driver, which only supports GL 2.1, GLSL 1.30, and it isn't in good shape to run Heaven at the moment. Besides that, Heaven 4.0 throws an error (X Error of

Re: [Mesa-dev] Should we add new error cases to stable releases?

2013-07-30 Thread Kenneth Graunke
On 07/30/2013 12:13 PM, Carl Worth wrote: Hi Ken, In the last stable-release cycle you argued for not cherry picking commit fcaa48d9cc8937e0ceb59dfd22ef5b6e6fd1a273 on the grounds that we shouldn't change mesa to be strictly more strict in a stable release. That is, adding a new error case to

Re: [Mesa-dev] [PATCH V4 1/5] i965 Gen4/5: Compute interpolation status for every varying in one place.

2013-07-30 Thread Chris Forbes
I like that. It also provides a sensible type to pass to the new `is there any flat shading?` helper. On Wed, Jul 31, 2013 at 9:52 AM, Paul Berry stereotype...@gmail.com wrote: On 23 July 2013 01:16, Chris Forbes chr...@ijw.co.nz wrote: The program keys are updated accordingly, but the values

Re: [Mesa-dev] [PATCH 20/34] mesa: Validate the drawing primitive against the geometry shader input primitive type.

2013-07-30 Thread Kenneth Graunke
On 07/28/2013 11:03 PM, Paul Berry wrote: From: Fabian Bieler fabianbie...@fastmail.fm Reviewed-by: Paul Berry stereotype...@gmail.com --- src/mesa/main/api_validate.c | 68 1 file changed, 68 insertions(+) diff --git

Re: [Mesa-dev] [PATCH 05/34] main: Allow for the possibility of GL 3.2 without ARB_geometry_shader4.

2013-07-30 Thread Paul Berry
On 29 July 2013 11:17, Kenneth Graunke kenn...@whitecape.org wrote: On 07/28/2013 11:03 PM, Paul Berry wrote: + + /** +* True if the implementation supports GLSL 1.50 style geometry shaders. +* This boolean is distinct from gl_extensions::ARB_geometry_**shader4 so +* that

Re: [Mesa-dev] [PATCH 05/34] main: Allow for the possibility of GL 3.2 without ARB_geometry_shader4.

2013-07-30 Thread Paul Berry
On 29 July 2013 11:17, Kenneth Graunke kenn...@whitecape.org wrote: On 07/28/2013 11:03 PM, Paul Berry wrote: +/** + * Checks if the context supports geometry shaders. + */ +static inline GLboolean +_mesa_has_geometry_shaders(const struct gl_context *ctx) +{ + return

Re: [Mesa-dev] [PATCH 06/34] draw/gs: fix allocation of buffer for GS output vertices

2013-07-30 Thread Paul Berry
On 29 July 2013 11:09, Zack Rusin za...@vmware.com wrote: That looks wrong to me. We already account for the other fields in the vertex_size. This patch came from Bryan Cain's original geometry shader patch series--I admit I'm not familiar enough with Gallium code to know how to fix it.

Re: [Mesa-dev] [PATCH 09/34] glsl: add ir_emitvertex and ir_endprim instruction types

2013-07-30 Thread Paul Berry
On 30 July 2013 11:08, Kenneth Graunke kenn...@whitecape.org wrote: On 07/28/2013 11:03 PM, Paul Berry wrote: From: Bryan Cain bryanca...@gmail.com These correspond to the EmitVertex and EndPrimitive functions in GLSL. v2 (Paul Berry stereotype...@gmail.com): Add stub implementations of

Re: [Mesa-dev] [PATCH 06/34] draw/gs: fix allocation of buffer for GS output vertices

2013-07-30 Thread Bryan Cain
On Tue, Jul 30, 2013 at 8:46 PM, Paul Berry stereotype...@gmail.com wrote: On 29 July 2013 11:09, Zack Rusin za...@vmware.com wrote: That looks wrong to me. We already account for the other fields in the vertex_size. This patch came from Bryan Cain's original geometry shader patch series--I

Re: [Mesa-dev] [PATCH 10/34] glsl: add builtins for geometry shaders.

2013-07-30 Thread Paul Berry
On 30 July 2013 11:13, Kenneth Graunke kenn...@whitecape.org wrote: On 07/28/2013 11:03 PM, Paul Berry wrote: From: Bryan Cain bryanca...@gmail.com v2 (Paul Berry stereotype...@gmail.com): Account for rework of builtin_variables.cpp. Use INTERP_QUALIFIER_FLAT for gl_PrimitiveID so that it

Re: [Mesa-dev] [PATCH 20/34] mesa: Validate the drawing primitive against the geometry shader input primitive type.

2013-07-30 Thread Paul Berry
On 30 July 2013 15:41, Kenneth Graunke kenn...@whitecape.org wrote: On 07/28/2013 11:03 PM, Paul Berry wrote: From: Fabian Bieler fabianbie...@fastmail.fm Reviewed-by: Paul Berry stereotype...@gmail.com --- src/mesa/main/api_validate.c | 68 ++**

Re: [Mesa-dev] [PATCH] gallivm: obey clarified shift behavior

2013-07-30 Thread Zack Rusin
From: Roland Scheidegger srol...@vmware.com llvm shifts are undefined for shift counts exceeding (or matching) bit width, so need to apply a mask for the tgsi shift instructions. v2: only use mask for the tgsi shift instructions, not for the build shift helpers. None of the internal

Re: [Mesa-dev] [PATCH 05/34] main: Allow for the possibility of GL 3.2 without ARB_geometry_shader4.

2013-07-30 Thread Kenneth Graunke
On 07/30/2013 07:30 PM, Paul Berry wrote: On 29 July 2013 11:17, Kenneth Graunke kenn...@whitecape.org mailto:kenn...@whitecape.org wrote: On 07/28/2013 11:03 PM, Paul Berry wrote: +/** + * Checks if the context supports geometry shaders. + */ +static inline

Re: [Mesa-dev] [PATCH 11/34] glsl: support compilation of geometry shaders

2013-07-30 Thread Paul Berry
On 30 July 2013 15:16, Kenneth Graunke kenn...@whitecape.org wrote: On 07/28/2013 11:03 PM, Paul Berry wrote: + /* The 'varying in' and 'varying out' qualifiers can only be used with + * ARB_geometry_shader4 and EXT_geometry_shader4, which we don't support + * yet. +