[Mesa-dev] [PATCH] shaderapi: Fix AttachShader error

2013-02-11 Thread Tapani Pälli
From: bma bo...@windriver.com Detect a duplicate Shader type as and error instead of silently allowing it, restrict to ES2 API. v2: Tapani Pälli tapani.pa...@intel.com - make the check run time instead of compile time Signed-off-by: bma bo...@windriver.com Signed-off-by: Tapani Pälli

[Mesa-dev] [PATCH] gles2: a stub implementation for GL_EXT_discard_framebuffer

2013-02-11 Thread Tapani Pälli
This patch implements a stub for GL_EXT_discard_framebuffer with required checks listed by the extension specification. This extension is required by GLBenchmark 2.5 when compiled with OpenGL ES 2.0 as the rendering backend. Signed-off-by: Tapani Pälli tapani.pa...@intel.com ---

Re: [Mesa-dev] [Mesa-announce] Mesa 9.1-rc1

2013-02-11 Thread Andreas Boll
2013/2/11 Ian Romanick i...@freedesktop.org: Mesa 9.1 release candidate 1 is now ready. The tag in the GIT repository for Mesa 9.1-RC1 is 'mesa-9.1-rc1'. Mesa 9.1-RC1 is available for download at ftp://freedesktop.org/pub/mesa/9.1/ md5sums: 629a1058f1415c2b0318a912e765c6bb

[Mesa-dev] [PATCH] docs: document removal of makedepend build dependency

2013-02-11 Thread Andreas Boll
Build dependency removed with 424f2008814ed9047628c40ccd4258a8a9fd8299 --- docs/relnotes-9.1.html |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/docs/relnotes-9.1.html b/docs/relnotes-9.1.html index 350ae27..75e82ba 100644 --- a/docs/relnotes-9.1.html +++

Re: [Mesa-dev] Gallium pixel formats on big-endian

2013-02-11 Thread Jose Fonseca
- Original Message - On Mon, 2013-02-04 at 20:17 +0100, Michel Dänzer wrote: [...] how about something like this: Define the packing to be in the host byte order. However, do not define array formats as packed values (which makes little sense e.g. for *32*32*32*32 anyway)

Re: [Mesa-dev] [PATCH] R600/SI: Use MULADD_IEEE/V_MAD_F32 instruction for mad pattern

2013-02-11 Thread Michel Dänzer
On Son, 2013-02-10 at 19:38 +0100, Vincent Lejeune wrote: diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td index a09f243..7e50e86 100644 --- a/lib/Target/R600/SIInstructions.td +++ b/lib/Target/R600/SIInstructions.td @@ -1423,8 +1423,8 @@ def : Pat

Re: [Mesa-dev] [PATCH] R600/SI: Use MULADD_IEEE/V_MAD_F32 instruction for mad pattern

2013-02-11 Thread Christian König
Am 11.02.2013 15:35, schrieb Michel Dänzer: On Son, 2013-02-10 at 19:38 +0100, Vincent Lejeune wrote: diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td index a09f243..7e50e86 100644 --- a/lib/Target/R600/SIInstructions.td +++ b/lib/Target/R600/SIInstructions.td

Re: [Mesa-dev] Gallium pixel formats on big-endian

2013-02-11 Thread Adam Jackson
On Mon, 2013-02-11 at 05:27 -0800, Jose Fonseca wrote: Actually, on second thought this means it's probably better to keep the current naming scheme for array formats. Maybe the component names and sizes could be packed together to indicate packed formats, e.g. PIPE_FORMAT_B5G6R5_UNORM

Re: [Mesa-dev] [PATCH] R600/SI: Use MULADD_IEEE/V_MAD_F32 instruction for mad pattern

2013-02-11 Thread Tom Stellard
On Mon, Feb 11, 2013 at 03:47:47PM +0100, Christian König wrote: Am 11.02.2013 15:35, schrieb Michel Dänzer: On Son, 2013-02-10 at 19:38 +0100, Vincent Lejeune wrote: diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td index a09f243..7e50e86 100644 ---

Re: [Mesa-dev] [PATCH] R600/SI: Use MULADD_IEEE/V_MAD_F32 instruction for mad pattern

2013-02-11 Thread Tom Stellard
On Mon, Feb 11, 2013 at 03:35:44PM +0100, Michel Dänzer wrote: On Son, 2013-02-10 at 19:38 +0100, Vincent Lejeune wrote: diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td index a09f243..7e50e86 100644 --- a/lib/Target/R600/SIInstructions.td +++

Re: [Mesa-dev] [PATCH] R600/SI: Use MULADD_IEEE/V_MAD_F32 instruction for mad pattern

2013-02-11 Thread Michel Dänzer
On Mon, 2013-02-11 at 16:12 +0100, Tom Stellard wrote: On Mon, Feb 11, 2013 at 03:35:44PM +0100, Michel Dänzer wrote: On Son, 2013-02-10 at 19:38 +0100, Vincent Lejeune wrote: diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td index

Re: [Mesa-dev] [PATCH 1/2] gallium: add red-alpha texture formats and a couple of util functions

2013-02-11 Thread Brian Paul
On 02/10/2013 05:15 PM, Marek Olšák wrote: This is for glGetTexImage and it will be used for samplers only (which some drivers already implement by reading util_format_description). v2: incorporate Brian's suggestion --- src/gallium/auxiliary/util/u_format.csv | 12

Re: [Mesa-dev] [PATCH] docs: document removal of makedepend build dependency

2013-02-11 Thread Matt Turner
On Mon, Feb 11, 2013 at 1:55 AM, Andreas Boll andreas.boll@gmail.com wrote: Build dependency removed with 424f2008814ed9047628c40ccd4258a8a9fd8299 --- docs/relnotes-9.1.html |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/docs/relnotes-9.1.html

Re: [Mesa-dev] [PATCH] shaderapi: Fix AttachShader error

2013-02-11 Thread Matt Turner
On Mon, Feb 11, 2013 at 12:03 AM, Tapani Pälli tapani.pa...@intel.com wrote: From: bma bo...@windriver.com Detect a duplicate Shader type as and error instead of silently allowing it, restrict to ES2 API. v2: Tapani Pälli tapani.pa...@intel.com - make the check run time instead of

[Mesa-dev] [PATCH] R600: Fix regression with shadow array sampler on pre-SI GPUs.

2013-02-11 Thread Michel Dänzer
From: Michel Dänzer michel.daen...@amd.com 'R600/SI: Use proper instructions for array/shadow samplers.' removed two cases from TEX_SHADOW. Vincent Lejeune reported on IRC that this broke some shadow array piglit tests with the r600g driver. Reinstating the removed cases should fix this, and

[Mesa-dev] [PATCH 1/2] R600/SI: Turn BUILD_VECTOR into Reg_Sequence

2013-02-11 Thread Vincent Lejeune
--- lib/Target/R600/AMDILISelDAGToDAG.cpp | 24 1 file changed, 24 insertions(+) diff --git a/lib/Target/R600/AMDILISelDAGToDAG.cpp b/lib/Target/R600/AMDILISelDAGToDAG.cpp index b125ba8..2f34fe3 100644 --- a/lib/Target/R600/AMDILISelDAGToDAG.cpp +++

[Mesa-dev] [PATCH 2/2] R600: initial scheduler code

2013-02-11 Thread Vincent Lejeune
From: Vadim Girlin vadimgir...@gmail.com This is a skeleton for a pre-RA MachineInstr scheduler strategy. Currently it only tries to expose more parallelism for ALU instructions (this also makes the distribution of GPR channels more uniform and increases the chances of ALU instructions to be

Re: [Mesa-dev] [PATCH] R600: Fix regression with shadow array sampler on pre-SI GPUs.

2013-02-11 Thread Vincent Lejeune
- Mail original - De : Michel Dänzer mic...@daenzer.net À : Vincent Lejeune v...@ovi.com Cc : mesa-dev@lists.freedesktop.org Envoyé le : Lundi 11 février 2013 17h53 Objet : [PATCH] R600: Fix regression with shadow array sampler on pre-SI GPUs. From: Michel Dänzer

[Mesa-dev] [PATCH] gallium: fix tgsi SAMPLE_L opcode to use separate source for explicit lod

2013-02-11 Thread sroland
From: Roland Scheidegger srol...@vmware.com It looks like using coord.w as explicit lod value is a mistake, most likely because some dx10 docs had it specified that way. Seems this was changed though: http://msdn.microsoft.com/en-us/library/windows/desktop/hh447229%28v=vs.85%29.aspx - let's just

[Mesa-dev] [Bug 60686] New: New account request

2013-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60686 Priority: medium Bug ID: 60686 Assignee: mesa-dev@lists.freedesktop.org Summary: New account request Severity: normal Classification: Unclassified OS: All

[Mesa-dev] [Bug 60686] New account request

2013-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60686 --- Comment #1 from Adhemerval Zanella Netto azane...@linux.vnet.ibm.com --- Created attachment 74649 -- https://bugs.freedesktop.org/attachment.cgi?id=74649action=edit SSH RSA -- You are receiving this mail because: You are the assignee for

Re: [Mesa-dev] [PATCH V3 02/19] mesa: add texobj support for ARB_texture_multisample

2013-02-11 Thread Eric Anholt
Chris Forbes chr...@ijw.co.nz writes: Adds the new texture targets, and per-image state for GL_TEXTURE_SAMPLES and GL_TEXTURE_FIXED_SAMPLE_LOCATIONS. V2: - Allow multisample texture targets in glInvalidateTexSubImage too. This was already partly there, but I missed it the first time

Re: [Mesa-dev] [PATCH 5/5] i965: Add missing dirty bits to INTEL_DEBUG=state arrays.

2013-02-11 Thread Eric Anholt
Kenneth Graunke kenn...@whitecape.org writes: These are more recent additions, and no one remembered to update the INTEL_DEBUG=state code. Patches 3-5 are Reviewed-by: Eric Anholt e...@anholt.net pgpF6Zmy3RJPQ.pgp Description: PGP signature ___

Re: [Mesa-dev] [PATCH] i965: Use derived state for Haswell's 3DSTATE_VF packet.

2013-02-11 Thread Eric Anholt
Kenneth Graunke kenn...@whitecape.org writes: Otherwise, we fail to correctly handle GL_PRIMITIVE_RESTART_FIXED_INDEX. Fixes gles3conform's primitive_restart_mode test. Reviewed-by: Eric Anholt e...@anholt.net pgpey9spdyzJe.pgp Description: PGP signature

Re: [Mesa-dev] [PATCH 2/5] i965: Use _NEW_POLYGON in brw_wm_state, not _NEW_POLYGONSTIPPLE.

2013-02-11 Thread Eric Anholt
Kenneth Graunke kenn...@whitecape.org writes: _NEW_POLYGONSTIPPLE covers the polygon stipple /pattern/, but the enable flag is covered by _NEW_POLYGON. NOTE: This is a candidate for stable branches. Given that this doesn't fix a rendering issue, I'll only give it a r-b if the stable branch

[Mesa-dev] [PATCH] R600: Add support for 128-bit parameters

2013-02-11 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com NOTE: This is a candidate for the Mesa stable branch. --- lib/Target/R600/MCTargetDesc/R600MCCodeEmitter.cpp | 1 + lib/Target/R600/R600Instructions.td| 4 test/CodeGen/R600/128bit-kernel-args.ll| 18 ++

Re: [Mesa-dev] [PATCH] shaderapi: Fix AttachShader error

2013-02-11 Thread Chad Versace
On 02/11/2013 12:03 AM, Tapani Pälli wrote: From: bma bo...@windriver.com Detect a duplicate Shader type as and error instead of silently allowing it, restrict to ES2 API. v2: Tapani Pälli tapani.pa...@intel.com - make the check run time instead of compile time Signed-off-by: bma

[Mesa-dev] [PATCH] R600: Clean up datalayout strings so they better match hardware capabilities

2013-02-11 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com --- lib/Target/R600/AMDILDevice.cpp | 20 ++-- lib/Target/R600/AMDILSIDevice.cpp | 15 +-- 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/lib/Target/R600/AMDILDevice.cpp b/lib/Target/R600/AMDILDevice.cpp

Re: [Mesa-dev] [PATCH] glsl: Fix unsupported version error for GLSL ES 3.00, future proof for 3.30.

2013-02-11 Thread Ian Romanick
On 02/05/2013 04:50 PM, Paul Berry wrote: When the user specifies an unsupported GLSL version, _mesa_glsl_parse_state::process_version_directive() nicely gives them an error message telling them which GLSL versions are supported. Previous to this patch, the logic for determining whether a given

Re: [Mesa-dev] [PATCH] gles2: a stub implementation for GL_EXT_discard_framebuffer

2013-02-11 Thread Brian Paul
On 02/11/2013 03:38 PM, Eric Anholt wrote: Tapani Pällitapani.pa...@intel.com writes: This patch implements a stub for GL_EXT_discard_framebuffer with required checks listed by the extension specification. This extension is required by GLBenchmark 2.5 when compiled with OpenGL ES 2.0 as the

Re: [Mesa-dev] [PATCH] gles2: a stub implementation for GL_EXT_discard_framebuffer

2013-02-11 Thread Chad Versace
On 02/11/2013 12:19 AM, Tapani Pälli wrote: This patch implements a stub for GL_EXT_discard_framebuffer with required checks listed by the extension specification. This extension is required by GLBenchmark 2.5 when compiled with OpenGL ES 2.0 as the rendering backend. Signed-off-by: Tapani

[Mesa-dev] [Bug 60686] New account request

2013-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60686 --- Comment #2 from Ian Romanick i...@freedesktop.org --- The usual way to get commit access to open source projects is to submit patches to the mailing list first. Once you have a track record you can apply for commit access. -- You are

[Mesa-dev] [Bug 60686] New account request

2013-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60686 --- Comment #3 from Roland Scheidegger srol...@vmware.com --- (In reply to comment #2) The usual way to get commit access to open source projects is to submit patches to the mailing list first. Once you have a track record you can apply for

[Mesa-dev] [PATCH 2/2] r600g: fix lockup when hyperz alpha test are enabled together. v2

2013-02-11 Thread j . glisse
From: Jerome Glisse jgli...@redhat.com Seems that alpha test being enabled confuse the GPU on the order in which it should perform the Z testing. So force the order programmed throught db shader control. v2: Only force z order when alpha test is enabled Signed-off-by: Jerome Glisse

[Mesa-dev] [PATCH] util: fix incorrect Z bit masking in util_clear_depth_stencil()

2013-02-11 Thread Brian Paul
For PIPE_FORMAT_Z24_UNORM_S8_UINT, the Z bits are in the 24 least significant bits. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=60527 and http://bugs.freedesktop.org/show_bug.cgi?id=60524 and http://bugs.freedesktop.org/show_bug.cgi?id=60047 Note: This is a candidate for the stable

Re: [Mesa-dev] [PATCH 2/2] r600g: fix lockup when hyperz alpha test are enabled together. v2

2013-02-11 Thread Jerome Glisse
On Mon, Feb 11, 2013 at 6:45 PM, j.gli...@gmail.com wrote: From: Jerome Glisse jgli...@redhat.com Seems that alpha test being enabled confuse the GPU on the order in which it should perform the Z testing. So force the order programmed throught db shader control. v2: Only force z order when

Re: [Mesa-dev] [PATCH v2] glsl: Fix handling of array dereferences of vectors in opt_dead_code_local

2013-02-11 Thread Eric Anholt
Ian Romanick i...@freedesktop.org writes: From: Ian Romanick ian.d.roman...@intel.com Three parts to the fix: 1. If the array dereference is a constant index, figure out the real write mask. 2. If the array dereference not is a constant index, assume the assignment may generate any

Re: [Mesa-dev] [PATCH] CopyTexImage: Don't check sRGB vs LINEAR for desktop GL

2013-02-11 Thread Anuj Phogat
On Mon, Feb 11, 2013 at 3:39 PM, Jordan Justen jordan.l.jus...@intel.com wrote: In OpenGL 4.3, new language was added that would require this check. But, if this check results in broken applications then perhaps it will be reversed. For now, remove this check and re-evaluate when desktop GL

[Mesa-dev] [Bug 60706] New: [llvmpipe] piglit fbo-blending-formats GL_EXT_texture_snorm regression with llvm-3.3svn

2013-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60706 Priority: medium Bug ID: 60706 Keywords: regression CC: srol...@vmware.com Assignee: mesa-dev@lists.freedesktop.org Summary: [llvmpipe] piglit fbo-blending-formats

[Mesa-dev] [Bug 60706] [llvmpipe] piglit fbo-blending-formats GL_EXT_texture_snorm regression with llvm-3.3svn

2013-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60706 --- Comment #2 from Roland Scheidegger srol...@vmware.com --- This actually still passes here and on a quick look the math looks right to me too. Is this llvm-3.3 specific? -- You are receiving this mail because: You are the assignee for the

Re: [Mesa-dev] [PATCH V3 11/19] mesa: support multisample textures in framebuffer completeness check

2013-02-11 Thread Eric Anholt
Chris Forbes chr...@ijw.co.nz writes: - sample count must be the same on all attachments - fixedsamplepositions must be the same on all attachments (renderbuffers have fixedsamplepositions=true implicitly; only multisample textures can choose to have it false) V2: - fix wrapping to 80

Re: [Mesa-dev] [PATCH V3 08/19] mesa: implement sample mask

2013-02-11 Thread Eric Anholt
Chris Forbes chr...@ijw.co.nz writes: V2: - fix multiline comment style - stop using ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH since that doesn't exist anymore. V3: - check for the extension being enabled - tidier flagging of _NEW_MULTISAMPLE - fix weird indentation in get.c

Re: [Mesa-dev] [PATCH V3 11/19] mesa: support multisample textures in framebuffer completeness check

2013-02-11 Thread Chris Forbes
Yikes, apparently I missed one. Thanks for spotting that. -- Chris On Tue, Feb 12, 2013 at 3:35 PM, Eric Anholt e...@anholt.net wrote: Chris Forbes chr...@ijw.co.nz writes: - sample count must be the same on all attachments - fixedsamplepositions must be the same on all attachments

[Mesa-dev] [Bug 60706] [llvmpipe] piglit fbo-blending-formats GL_EXT_texture_snorm regression with llvm-3.3svn

2013-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60706 Vinson Lee v...@freedesktop.org changed: What|Removed |Added See Also|

[Mesa-dev] [PATCH v2] shaderapi: Fix AttachShader error

2013-02-11 Thread Tapani Pälli
From: bma bo...@windriver.com Detect a duplicate Shader type as and error instead of silently allowing it, restrict to ES2 API. v2: Tapani Pälli tapani.pa...@intel.com - make the check run time instead of compile time Signed-off-by: bma bo...@windriver.com Signed-off-by: Tapani Pälli

[Mesa-dev] [PATCH] glsl: Initialize ir_texture member variable.

2013-02-11 Thread Vinson Lee
Fixes uninitialized pointer field defect reported by Coverity. Signed-off-by: Vinson Lee v...@freedesktop.org --- src/glsl/ir.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glsl/ir.h b/src/glsl/ir.h index efd80da..1e09988 100644 --- a/src/glsl/ir.h +++

Re: [Mesa-dev] [PATCH] gallium: fix tgsi SAMPLE_L opcode to use separate source for explicit lod

2013-02-11 Thread Michel Dänzer
On Mon, 2013-02-11 at 20:47 +0100, srol...@vmware.com wrote: From: Roland Scheidegger srol...@vmware.com It looks like using coord.w as explicit lod value is a mistake, most likely because some dx10 docs had it specified that way. Seems this was changed though:

Re: [Mesa-dev] [PATCH] glsl: Initialize ir_texture member variable.

2013-02-11 Thread Kenneth Graunke
On 02/11/2013 10:46 PM, Vinson Lee wrote: Fixes uninitialized pointer field defect reported by Coverity. Signed-off-by: Vinson Lee v...@freedesktop.org --- src/glsl/ir.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glsl/ir.h b/src/glsl/ir.h index

Re: [Mesa-dev] [PATCH 2/2] r600g: fix lockup when hyperz alpha test are enabled together. v2

2013-02-11 Thread Michel Dänzer
On Mon, 2013-02-11 at 18:45 -0500, j.gli...@gmail.com wrote: From: Jerome Glisse jgli...@redhat.com Seems that alpha test being enabled confuse the GPU on the order in which it should perform the Z testing. So force the order programmed throught db shader control. v2: Only force z order

Re: [Mesa-dev] [PATCH] mesa: Use PROGRAM_ERROR_STRING_ARB instead of the _NV name

2013-02-11 Thread Kenneth Graunke
On 02/11/2013 11:26 PM, Matt Turner wrote: Since NV_fragment_program is now gone. No functional change, since the values are identical. --- src/mesa/main/getstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index