[Mesa-dev] [PATCH] [mesa-dev][fe] Float fbconfigs frontend patch [1/3] Correct handling of RENDER_TYPE property.

2013-01-04 Thread Tomasz lis
From: Tomasz Lis The change is to correctly handle the value of renderType in both fbconfig and context. Uses of renderType are commented, where needed, to avoid confusion between the two types. The fact that float configs can be only used for pbuffers is correctly addressed. Signed-off-by: Toma

[Mesa-dev] [PATCH] [mesa-dev][fe] Float fbconfigs frontend patch [2/3] Float configs extension strings.

2013-01-04 Thread Tomasz lis
From: Tomasz Lis The patch defines fbconfig_float in tables of extensions and enables reporting the extension availability. Signed-off-by: Tomasz Lis --- .../state_trackers/wgl/stw_ext_pixelformat.c | 10 +- src/glx/glxextensions.c|4 src/gl

[Mesa-dev] [PATCH] [mesa-dev][fe] Float fbconfigs frontend patch [3/3] Introduced new flags in __DRI_ATTRIB_RENDER_TYPE.

2013-01-04 Thread Tomasz lis
From: Tomasz Lis The patch marks __DRI_ATTRIB_FLOAT_MODE as deprecated and introduces nrw flags to __DRI_ATTRIB_RENDER_TYPE which are to define float modes. Both signed float (fbconfig_float) and unsigned (packed_float) is introduced as a flag. The old attribute should be set for both float modes

[Mesa-dev] [Bug 58326] [llvmpipe] piglit glean depthStencil regression

2013-01-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58326 --- Comment #1 from Brian Paul --- Vinson, can you retest? Seems OK here with current Mesa. -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-de

Re: [Mesa-dev] [PATCH] r600g: rework check_and_set_bank_swizzle

2013-01-04 Thread Christian König
On 31.12.2012 22:55, Vadim Girlin wrote: On 12/31/2012 05:34 AM, Vadim Girlin wrote: Optimize it for better performance. Signed-off-by: Vadim Girlin --- I did some benchmarking for this patch together with the patch that introduces ISA tables, using the texCombine test (IIRC it builds hundre

Re: [Mesa-dev] [PATCH 1/2] st/glx: allow GLX_DONT_CARE for glXChooseFBConfig() attribute values

2013-01-04 Thread Chad Versace
On 01/03/2013 04:35 PM, Brian Paul wrote: > Fixes piglit glx-dont-care-mask test. > > Note: This is a candidate for the stable branches. > --- > src/gallium/state_trackers/glx/xlib/glx_api.c | 11 +++ > 1 files changed, 11 insertions(+), 0 deletions(-) > > diff --git a/src/gallium/stat

[Mesa-dev] llvmpipe process shutdown bug on windows

2013-01-04 Thread Rob Schneider
When using LLVMPIPE on Windows 7 OS, i noticed that it is very simple to run into a situation where the process hangs at application exit. Precondition: Activate multithreading using condition variables in os_thread.h by replacing #if 0 && defined (

[Mesa-dev] [Bug 59013] GLES2: definition of glShaderSource is not compliant with the specification

2013-01-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59013 Ian Romanick changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [RFC PATCH 07/26] mesa: support getting current binding for multisample textures

2013-01-04 Thread Paul Berry
On 29 December 2012 04:35, Chris Forbes wrote: > Signed-off-by: Chris Forbes > --- > src/mesa/main/get.c | 9 + > src/mesa/main/get_hash_params.py | 5 + > 2 files changed, 14 insertions(+) > > diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c > index 273a79f..4c22

Re: [Mesa-dev] [RFC PATCH 10/26] mesa: add new max sample count state

2013-01-04 Thread Paul Berry
On 2 January 2013 10:01, Brian Paul wrote: > On 12/29/2012 05:35 AM, Chris Forbes wrote: > >> - GL_MAX_COLOR_TEXTURE_SAMPLES >> - GL_MAX_DEPTH_TEXTURE_SAMPLES >> - GL_MAX_INTEGER_SAMPLES >> >> Signed-off-by: Chris Forbes >> --- >> src/mesa/main/get_hash_params.**py | 5 - >> src/mesa/main/

Re: [Mesa-dev] [RFC PATCH 12/26] mesa: implement GetMultisamplefv

2013-01-04 Thread Paul Berry
On 29 December 2012 04:35, Chris Forbes wrote: > Actual sample locations deferred to a driverfunc since only the driver > really knows where they will be. > > V2: pass the draw buffer to the driverfunc; don't fallback to pixel > center if driverfunc is missing. > > Signed-off-by: Chris Forbes >

Re: [Mesa-dev] [RFC PATCH 13/26] mesa: implement sample mask

2013-01-04 Thread Paul Berry
On 29 December 2012 04:35, Chris Forbes wrote: > Signed-off-by: Chris Forbes > --- > src/mesa/main/enable.c | 15 +++ > src/mesa/main/get.c | 9 + > src/mesa/main/get_hash_params.py | 2 ++ > src/mesa/main/mtypes.h | 6 +- > src/mesa/m

Re: [Mesa-dev] [RFC PATCH 15/26] i965: expose sample locations

2013-01-04 Thread Paul Berry
On 29 December 2012 04:35, Chris Forbes wrote: > Moves the definition of the sample locations out of > gen6_emit_3dstate_multisample, and unpacks them in > gen6_get_sample_postiion. > > Signed-off-by: Chris Forbes > --- > src/mesa/drivers/dri/i965/brw_context.c| 3 + > src/mesa/dr

Re: [Mesa-dev] [PATCH 03/11] mesa: Fix the naming of _mesa_ProgramParameteriARB

2013-01-04 Thread Ian Romanick
On 12/20/2012 04:47 PM, Eric Anholt wrote: Ian Romanick writes: From: Ian Romanick After recent changes in the XML, the dispatch generators will expect this function to be named _mesa_ProgramParameteri. Isn't the build broken between this commit~1 and whatever produced that change? (was i

Re: [Mesa-dev] [PATCH 04/11] mesa: Add stub implementations of glGetProgramBinary and glProgramBinary

2013-01-04 Thread Ian Romanick
On 12/20/2012 05:05 PM, Eric Anholt wrote: Ian Romanick writes: From: Ian Romanick It looks to me like we really do have to support getting a binary with this extension/gles3: "Any program binary retrieved using GetProgramBinary and submitted us- ing ProgramBinary under the same configurat

Re: [Mesa-dev] [RFC PATCH 21/26] i965: add support for multisample textures

2013-01-04 Thread Paul Berry
On 29 December 2012 04:35, Chris Forbes wrote: > This is a bit nasty -- I've just (ab)used the existing multisample > renderbuffer path. > > Also put the actual sample count from the mt back into the > renderbuffer so core mesa can see what the driver actually gave it. > > Signed-off-by: Chris Fo

Re: [Mesa-dev] [RFC PATCH 01/26] glapi: add ARB_texture_multisample

2013-01-04 Thread Ian Romanick
On 12/29/2012 04:35 AM, Chris Forbes wrote: Signed-off-by: Chris Forbes --- src/mapi/glapi/gen/ARB_texture_multisample.xml | 69 ++ src/mapi/glapi/gen/gl_API.xml | 3 ++ 2 files changed, 72 insertions(+) create mode 100644 src/mapi/glapi/gen/ARB_te

Re: [Mesa-dev] [RFC PATCH 02/26] dispatch_sanity: enable checks for ARB_texture_multisample

2013-01-04 Thread Ian Romanick
On 12/29/2012 04:35 AM, Chris Forbes wrote: Signed-off-by: Chris Forbes I believe somewhere in this series the build breaks. Can you verify? I think you may need to do some reordering and squashing. I think patch 3 should go first, for example. --- src/mesa/main/tests/dispatch_sanity

[Mesa-dev] r600g/radeonsi LLVM dependencies for future Mesa releases

2013-01-04 Thread Tom Stellard
Hi, I have been getting a lot of questions lately about which LLVM tree to use for r600g and radeonsi, so I would like to give a summary of the current situation: ++ Plans for the next Mesa release 9.1 (it might also be called 10.0): The r600g and radeonsi drivers for this release will be compat

Re: [Mesa-dev] [RFC PATCH 03/26] mesa: add stubs for new entrypoints for ARB_texture_multisample

2013-01-04 Thread Ian Romanick
On 12/29/2012 04:35 AM, Chris Forbes wrote: Signed-off-by: Chris Forbes --- src/mesa/main/multisample.c | 15 +++ src/mesa/main/multisample.h | 5 + src/mesa/main/teximage.c| 20 src/mesa/main/teximage.h| 15 +++ 4 files changed, 55

Re: [Mesa-dev] [RFC PATCH 08/26] glsl: add support for ARB_texture_multisample

2013-01-04 Thread Ian Romanick
On 12/29/2012 04:35 AM, Chris Forbes wrote: V2: emit `sample` parameter properly for multisample texelFetch() Signed-off-by: Chris Forbes Other than the trivial nit below, this patch is Reviewed-by: Ian Romanick --- src/glsl/builtin_types.h| 19 ++

Re: [Mesa-dev] [RFC PATCH 21/26] i965: add support for multisample textures

2013-01-04 Thread Paul Berry
On 29 December 2012 04:35, Chris Forbes wrote: > This is a bit nasty -- I've just (ab)used the existing multisample > renderbuffer path. > > Also put the actual sample count from the mt back into the > renderbuffer so core mesa can see what the driver actually gave it. > > Signed-off-by: Chris Fo

Re: [Mesa-dev] [RFC PATCH 13/26] mesa: implement sample mask

2013-01-04 Thread Ian Romanick
On 12/29/2012 04:35 AM, Chris Forbes wrote: Signed-off-by: Chris Forbes --- src/mesa/main/enable.c | 15 +++ src/mesa/main/get.c | 9 + src/mesa/main/get_hash_params.py | 2 ++ src/mesa/main/mtypes.h | 6 +- src/mesa/main/multisam

Re: [Mesa-dev] [RFC PATCH 22/26] i965: gen6: set multisample mode in surface_state

2013-01-04 Thread Paul Berry
On 29 December 2012 04:35, Chris Forbes wrote: > - Set the multisample mode > - Set the surface dimensions correctly, in pixels. > > Signed-off-by: Chris Forbes > Surface_state is used for texturing as well as for render targets. Can you clarify in the commit message that this patch applies ju

Re: [Mesa-dev] [RFC PATCH 23/26] i965: fix renderbuffer wrapper setup for multisample textures

2013-01-04 Thread Paul Berry
On 29 December 2012 04:35, Chris Forbes wrote: > Previously we were putting the 2x2 (or 4x2) fake dimensions of the > surface into the renderbuffer wrapper. This is different from how > other parts of the driver expect multisample renderbuffers to be set up, > and produced stalls and memory stomp

Re: [Mesa-dev] [RFC PATCH 24/26] i965/vs: emit sample index for txf

2013-01-04 Thread Paul Berry
On 29 December 2012 04:35, Chris Forbes wrote: > When fetching texels from a multisample surface, the sample index is > provided as an extra argument after the lod, and the actual lod needs > to be hardwired to 0. > > The frontend gives us the sample index in the lod parameter, so fix this > up.

Re: [Mesa-dev] [RFC PATCH 24/26] i965/vs: emit sample index for txf

2013-01-04 Thread Ian Romanick
On 01/04/2013 01:52 PM, Paul Berry wrote: On 29 December 2012 04:35, Chris Forbes mailto:chr...@ijw.co.nz>> wrote: When fetching texels from a multisample surface, the sample index is provided as an extra argument after the lod, and the actual lod needs to be hardwired to 0. The

Re: [Mesa-dev] [RFC PATCH 0/26] Implement ARB_texture_multisample

2013-01-04 Thread Paul Berry
On 29 December 2012 04:35, Chris Forbes wrote: > This series adds support for ARB_texture_multisample in core mesa > and the i965 driver, and initially enables it for Gen6. > > There's a few rough edges still: > - sample counts aren't quantized correctly > > - various small Gen7-specific things a

[Mesa-dev] [PATCH 1/3] r600g/radeon/winsys: indentation cleanup

2013-01-04 Thread j . glisse
From: Jerome Glisse Signed-off-by: Jerome Glisse --- src/gallium/drivers/r600/r600_pipe.c | 18 +- src/gallium/drivers/r600/r600_pipe.h | 2 +- src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 3 +-- src/gallium/winsys/radeon/drm/radeon_drm_cs.h | 2 +- 4 fil

[Mesa-dev] [PATCH 2/3] radeon/winsys: move radeon family/class identification to winsys

2013-01-04 Thread j . glisse
From: Jerome Glisse Upcoming async dma support rely on winsys knowing about GPU families. Signed-off-by: Jerome Glisse --- src/gallium/drivers/r300/r300_chipset.c | 57 +-- src/gallium/drivers/r300/r300_chipset.h | 27 -- src/gallium/drivers/r300/r300_emit.c

[Mesa-dev] [PATCH 3/3] radeon/winsys: add async dma infrastructure

2013-01-04 Thread j . glisse
From: Jerome Glisse The design is to take advantage of the fact that kernel will emit semaphore when buffer is referenced by different ring. So the only thing we need to enforce synchronization btw dma and gfx/compute ring is to make sure that we never reference same bo at the same time on the dm

Re: [Mesa-dev] [PATCH 1/3] r600g/radeon/winsys: indentation cleanup

2013-01-04 Thread Jerome Glisse
On Fri, Jan 4, 2013 at 5:19 PM, wrote: > From: Jerome Glisse > > Signed-off-by: Jerome Glisse For the serie piglit says no regression on r7xx/evergreen. I need to test r3xx/r5xx and SI. Cheers, Jerome > --- > src/gallium/drivers/r600/r600_pipe.c | 18 +- > src/galli

Re: [Mesa-dev] [PATCH V3 3/6] meta: Add functionality to do _mesa_meta_BlitFrameBuffer() using glsl

2013-01-04 Thread Ian Romanick
On 01/01/2013 11:04 PM, Anuj Phogat wrote: This patch rewrites _mesa_meta_BlitFrameBuffer() function to add support for blitting with GLSL/GLSL ES shaders. These changes were required to support glBlitFrameBuffer() in gles3. This patch, along with other patches in this series, make 16 failing fra

[Mesa-dev] [Bug 58545] [llvmpipe] src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c:75:analyse_src: Assertion `src->Index < (sizeof(ctx->imm)/sizeof((ctx->imm)[0]))' failed.

2013-01-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58545 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 58972] [softpipe] util/u_tile.c:795:pipe_put_tile_z: Assertion `0' failed.

2013-01-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58972 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 58665] Software rasterizer RGB swap

2013-01-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58665 --- Comment #2 from Brian Paul --- I don't have a big-endian machine available to test. Maybe you could debug this a bit further. If you look at src/gallium/state_trackers/glx/xlib/xm_api.c in the choose_pixel_format() function you'll see code

Re: [Mesa-dev] [PATCH 3/3] radeon/winsys: add async dma infrastructure

2013-01-04 Thread Alex Deucher
On Fri, Jan 4, 2013 at 5:19 PM, wrote: > From: Jerome Glisse > > The design is to take advantage of the fact that kernel will emit > semaphore when buffer is referenced by different ring. So the only > thing we need to enforce synchronization btw dma and gfx/compute > ring is to make sure that w

[Mesa-dev] [PATCH 1/4] i965: Use Haswell's sample_d_c for textureGrad with shadow samplers.

2013-01-04 Thread Kenneth Graunke
The new hardware actually just supports this now. --- src/mesa/drivers/dri/i965/brw_defines.h | 1 + src/mesa/drivers/dri/i965/brw_fs_emit.cpp | 7 +-- src/mesa/drivers/dri/i965/brw_shader.cpp| 3 ++- src/mesa/drivers/dri/i965/brw_vec4_emit.cpp | 7 +-- 4 files changed, 13 insert

[Mesa-dev] [PATCH 2/4] i965: Add remaining #defines for packed vertex formats.

2013-01-04 Thread Kenneth Graunke
--- src/mesa/drivers/dri/i965/brw_defines.h | 9 + 1 file changed, 9 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index ed0cdfb..ec6793d 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/br

[Mesa-dev] [PATCH 4/4] i965: Support GL_FIXED and packed vertex formats natively on Haswell+.

2013-01-04 Thread Kenneth Graunke
Haswell and later support the GL_FIXED and 2_10_10_10_rev vertex formats natively, and don't need shader workarounds. --- src/mesa/drivers/dri/i965/brw_draw_upload.c | 60 - src/mesa/drivers/dri/i965/brw_vs.c | 45 -- 2 files changed, 75 ins

[Mesa-dev] [PATCH 3/4] i965: Add #defines for GL_FIXED vertex formats.

2013-01-04 Thread Kenneth Graunke
--- src/mesa/drivers/dri/i965/brw_defines.h | 4 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index ec6793d..939360a 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_def

Re: [Mesa-dev] [PATCH] docs: Document spec quoting practices

2013-01-04 Thread Ian Romanick
On 12/19/2012 09:56 PM, Paul Berry wrote: On 19 December 2012 15:46, Ian Romanick mailto:i...@freedesktop.org>> wrote: From: Ian Romanick mailto:ian.d.roman...@intel.com>> Signed-off-by: Ian Romanick mailto:ian.d.roman...@intel.com>> Cc: Paul Berry mailto:stereotype...@gmail.com>>

Re: [Mesa-dev] [PATCH] docs: Document spec quoting practices

2013-01-04 Thread Paul Berry
On 4 January 2013 16:09, Ian Romanick wrote: > On 12/19/2012 09:56 PM, Paul Berry wrote: > >> On 19 December 2012 15:46, Ian Romanick > > wrote: >> >> From: Ian Romanick > > >> >> Signed-off-by: Ian Romanick >

Re: [Mesa-dev] [PATCH 3/3] radeon/winsys: add async dma infrastructure

2013-01-04 Thread Jerome Glisse
On Fri, Jan 4, 2013 at 6:33 PM, Alex Deucher wrote: > On Fri, Jan 4, 2013 at 5:19 PM, wrote: >> From: Jerome Glisse >> >> The design is to take advantage of the fact that kernel will emit >> semaphore when buffer is referenced by different ring. So the only >> thing we need to enforce synchroni

Re: [Mesa-dev] [PATCH] docs: Document spec quoting practices

2013-01-04 Thread Paul Berry
On 4 January 2013 16:09, Ian Romanick wrote: > On 12/19/2012 09:56 PM, Paul Berry wrote: > >> On 19 December 2012 15:46, Ian Romanick > > wrote: >> >> From: Ian Romanick > > >> >> Signed-off-by: Ian Romanick >

[Mesa-dev] [PATCH 0/5 v3] Enable GL_ARB_internalformat_query

2013-01-04 Thread Ian Romanick
I made fairly substantive changes to patch 4, so I wanted to resend the series. Based on discussions in the ARB, we decided that the NUM_SAMPLE_COUNTS query in this extension should behave the same way as in the GL_ARB_internalformat_query2 extension. The change is that 0 can be returned if the f

[Mesa-dev] [PATCH 1/5] mesa: Add skeleton implementation of glGetInternalformativ

2013-01-04 Thread Ian Romanick
From: Ian Romanick This is for the GL_ARB_internalformat_query extension and GLES 3.0. v2: Generate GL_INVALID_OPERATION if the extension is not supported. Signed-off-by: Ian Romanick Reviewed-by: Eric Anholt --- src/mesa/main/formatquery.c | 124

[Mesa-dev] [PATCH 2/5] mesa: Add extension tracking bit for GL_ARB_internalformat_query

2013-01-04 Thread Ian Romanick
From: Ian Romanick Though, I'm tempted to always expose this extension when GL_ARB_framebuffer_object is exposed. In that case, it would share the same enable bit. v2: Correctly sort extension names. Suggested by Eric Anholt. Signed-off-by: Ian Romanick Reviewed-by: Eric Anholt --- src/mes

[Mesa-dev] [PATCH 3/5] mesa: Add dispatch and extension XML for GL_ARB_internalformat_query

2013-01-04 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick Reviewed-by: Eric Anholt --- src/mapi/glapi/gen/ARB_internalformat_query.xml | 21 + src/mapi/glapi/gen/gl_API.xml | 6 +++--- src/mapi/glapi/gen/gl_genexec.py| 1 + src/mesa/main/tests/dispa

[Mesa-dev] [PATCH 5/5] intel: Enable GL_ARB_internalformat_query

2013-01-04 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick Reviewed-by: Eric Anholt --- src/mesa/drivers/dri/i965/brw_context.c | 23 +++ src/mesa/drivers/dri/intel/intel_extensions.c | 1 + 2 files changed, 24 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_context.c

[Mesa-dev] [PATCH 4/5] mesa: Add driver method to determine the possible sample counts

2013-01-04 Thread Ian Romanick
From: Ian Romanick Use this method in _mesa_GetInternalformativ for both GL_SAMPLES and GL_NUM_SAMPLE_COUNTS. v2: internalFormat may not be color renderable by the driver, so zero can be returned as a sample count. Require that drivers supporting the extension provide a QuerySamplesForFormat fu

[Mesa-dev] [Bug 58326] [llvmpipe] piglit glean depthStencil regression

2013-01-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58326 --- Comment #2 from Vinson Lee --- I still see the "cannot blit stencil, skipping" message. -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev

[Mesa-dev] [PATCH 00/23] GLES3 changes for readpix/teximage/FBO

2013-01-04 Thread Jordan Justen
v1: * various 2101010 texture tweaks * integer/signed-int/unsigned-int texture tweaks * readpix/teximage/copyteximage ES3 error checks * additional FBO completeness checks for GLES * tested with i965+gen7 * crash=>pass: gles3-gtf/packed_pixels/packed_pixels * crash=>pass: gles3-gtf/packed_pi

[Mesa-dev] [PATCH 01/23] fbobject: don't allow LUMINANCE/INTENSITY/ALPHA fbo on GLES

2013-01-04 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/main/fbobject.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 4b7d4ab..f1cf700 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -492,7 +492,7 @@ _mes

[Mesa-dev] [PATCH 02/23] pack: adjust clamping for int=>ubyte conversion

2013-01-04 Thread Jordan Justen
gles3conform expects than when converting from a signed int to an unsigned byte, the output will be clamped at a max of 0x7f. This impacts conversion from int16_t => uint8_t and int32_t => uint8_t. Signed-off-by: Jordan Justen --- src/mesa/main/pack.c |2 +- 1 file changed, 1 insertion(+), 1

[Mesa-dev] [PATCH 03/23] unpack: support unpacking MESA_FORMAT_ARGB2101010

2013-01-04 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/main/format_unpack.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c index d34a27b..92ce869 100644 --- a/src/mesa/main/format_unpack.c +++ b/src/mesa/main/format_unpac

[Mesa-dev] [PATCH 04/23] glformats: add functions to detect signed/unsigned integer types

2013-01-04 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/main/glformats.c | 54 + src/mesa/main/glformats.h |6 + 2 files changed, 46 insertions(+), 14 deletions(-) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index d3ed809..d2126bb 10

[Mesa-dev] [PATCH 05/23] fbobject: add additional fbo completeness checks for GLES

2013-01-04 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/main/fbobject.c | 57 +++--- 1 file changed, 54 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index f1cf700..097e0e2 100644 --- a/src/mesa/main/fbobject.c +++ b/sr

[Mesa-dev] [PATCH 06/23] glformats: add _mesa_es3_error_check_format_and_type

2013-01-04 Thread Jordan Justen
From: Matt Turner This function checks for ES3 compatible format/type/internalFormat/dimension combinations. [jordan.l.jus...@intel.com: additional tweaks for gles3-gtf] Signed-off-by: Jordan Justen --- src/mesa/main/glformats.c | 439 + src/mesa/ma

[Mesa-dev] [PATCH 07/23] teximage: use _mesa_es3_error_check_format_and_type for GLES3

2013-01-04 Thread Jordan Justen
From: Matt Turner Reviewed-by: Jordan Justen --- src/mesa/main/teximage.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 7d3abb7..d87808d 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/ma

[Mesa-dev] [PATCH 08/23] glformats: add _mesa_base_format_component_count

2013-01-04 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/main/glformats.c | 26 ++ src/mesa/main/glformats.h |3 +++ 2 files changed, 29 insertions(+) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index 957afe7..6505c27 100644 --- a/src/mesa/main/glformats.c +

[Mesa-dev] [PATCH 09/23] copytexture: for GLES make sure integer signed vs. unsigned matches

2013-01-04 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/main/teximage.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index d87808d..ac60a21 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@

[Mesa-dev] [PATCH 10/23] framebuffer: add _mesa_get_read_renderbuffer

2013-01-04 Thread Jordan Justen
This returns the current read renderbuffer for the specified format type. Signed-off-by: Jordan Justen --- src/mesa/main/framebuffer.c | 20 src/mesa/main/framebuffer.h |4 2 files changed, 24 insertions(+) diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main

[Mesa-dev] [PATCH 12/23] copytexture: update error checking for GLES3

2013-01-04 Thread Jordan Justen
Changes based on GTF/gles3 conformance test suite. Signed-off-by: Jordan Justen --- src/mesa/main/teximage.c | 62 +- 1 file changed, 45 insertions(+), 17 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 169e768..c

[Mesa-dev] [PATCH 11/23] copytexture: make sure is_srgb(src) == is_srgb(dst)

2013-01-04 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/main/teximage.c | 29 + 1 file changed, 29 insertions(+) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index ac60a21..169e768 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -2323,6

[Mesa-dev] [PATCH 13/23] glformats: support _mesa_bytes_per_pixel for 2101010+GL_RGB

2013-01-04 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/main/glformats.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index 6505c27..28bbddf 100644 --- a/src/mesa/main/glformats.c +++ b/src/mesa/main/glformats.c @@ -271,7 +271,8

[Mesa-dev] [PATCH 14/23] readpix: use integer conversion for RGBA/UNSIGNED_BYTE

2013-01-04 Thread Jordan Justen
If the source read buffer is integer based, and the the read pixels type is RGBA/UNSIGNED_BYTE, then use the integer pixel conversion path. Signed-off-by: Jordan Justen --- src/mesa/main/readpix.c |5 + 1 file changed, 5 insertions(+) diff --git a/src/mesa/main/readpix.c b/src/mesa/main

[Mesa-dev] [PATCH 15/23] readpix: add error checking for GLES3

2013-01-04 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/main/readpix.c | 54 +++ 1 file changed, 54 insertions(+) diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c index 8e99bfb..8b1113c 100644 --- a/src/mesa/main/readpix.c +++ b/src/mesa/main/readpix

[Mesa-dev] [PATCH 16/23] readpix: raise priority of FBO completeness error

2013-01-04 Thread Jordan Justen
GTF/gles3 test suite wants this error to have higher priority than the type checking. Signed-off-by: Jordan Justen --- src/mesa/main/readpix.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c index 8b1113c.

[Mesa-dev] [PATCH 18/23] glformats: allow GL_RGB+GL_UNSIGNED_INT_2_10_10_10_REV for GLES2/3

2013-01-04 Thread Jordan Justen
This format is allowed by the GL_EXT_texture_type_2_10_10_10_REV extension. Signed-off-by: Jordan Justen --- src/mesa/main/glformats.c |9 + 1 file changed, 9 insertions(+) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index 28bbddf..dd4dd8b 100644 --- a/src/mes

[Mesa-dev] [PATCH 17/23] readpix: for implentation format/type, ignore int vs. non-int check

2013-01-04 Thread Jordan Justen
In ES or GL+GL_ARB_ES2_compatibility, the usage of format = IMPLEMENTATION_COLOR_READ_FORMAT + type = IMPLEMENTATION_COLOR_READ_TYPE can function, even if the src/dst int vs. non-int types differ. Signed-off-by: Jordan Justen --- src/mesa/main/readpix.c | 28 ++-- 1 fil

[Mesa-dev] [PATCH 19/23] i965 teximage: don't call _mesa_store_teximage if format/type==GL_NONE

2013-01-04 Thread Jordan Justen
Mesa core's copyteximage calls the driver with format/type==GL_NONE to "Allocate texture memory". In this case, we shouldn't call _mesa_store_teximage. Signed-off-by: Jordan Justen --- src/mesa/drivers/dri/intel/intel_tex_image.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) di

[Mesa-dev] [PATCH 21/23] pack: handle GL_RGB+GL_UNSIGNED_INT_2_10_10_10_REV case

2013-01-04 Thread Jordan Justen
For floats, if GL_RGB is the source, then alpha should be set to 1.0F. Signed-off-by: Jordan Justen --- src/mesa/main/pack.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c index 9e74b1e..fb266db 100644 --- a/src/mes

[Mesa-dev] [PATCH 20/23] i965 teximage: allocate texture image buffer for fallback path

2013-01-04 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/drivers/dri/intel/intel_tex_image.c |1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c index 9676623..c6bb0f2 100644 --- a/src/mesa/drivers/dri/intel/intel_te

[Mesa-dev] [PATCH 22/23] texstore argb2101010: merge GL_RGBA and GL_RGB cases

2013-01-04 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/main/texstore.c | 21 ++--- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 7511509..6627cf5 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@

[Mesa-dev] [PATCH 23/23] texformat: use MESA_FORMAT_ARGB2101010 with GL_UNSIGNED_INT_2_10_10_10_REV

2013-01-04 Thread Jordan Justen
Choose MESA_FORMAT_ARGB2101010 when storing GL_RGBA + GL_UNSIGNED_INT_2_10_10_10_REV or GL_RGB + GL_UNSIGNED_INT_2_10_10_10_REV. Signed-off-by: Jordan Justen --- src/mesa/main/texformat.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/texformat.c b/sr

[Mesa-dev] [Bug 59013] GLES2: definition of glShaderSource is not compliant with the specification

2013-01-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59013 --- Comment #2 from SmSpillaz --- Okay, I've filed a bug upstream (https://www.khronos.org/bugzilla/show_bug.cgi?id=761) Though, I'm wondering why it changed so recently. -- You are receiving this mail because: You are the assignee for the bug

Re: [Mesa-dev] [PATCH 5/5] intel: Enable GL_ARB_internalformat_query

2013-01-04 Thread Matt Turner
On Fri, Jan 4, 2013 at 5:43 PM, Ian Romanick wrote: > From: Ian Romanick > > Signed-off-by: Ian Romanick > Reviewed-by: Eric Anholt > --- This is part of GL 4.2, so update GL3.txt :) ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lis