Mesa (gles3): 78 new commits

Matt Turner mattst88 at kemper.freedesktop.org
Mon Jan 21 03:58:31 UTC 2013


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d72ba278e6836d6f89511e47776a39151f8ca20c
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Jan 8 11:23:10 2013 -0800

    mesa: Use GL_RED for DEPTH_TEXTURE_MODE for everything but legacy GL.
    
    According to page 163 of the ES 3.0 spec:
    
    "Texture lookups involving textures with depth component data generate
     a texture base color C_b either using depth data directly or by
     performing a comparison with the D_ref value used to perform the
     lookup, as described in section 3.8.15.  The resulting value R_t is
     then expanded to a color C_b = (R_t,0,0,1), ..."
    
    In other words, depth textures are supposed to be treated as GL_RED.
    
    A discussion about this text can be found in Khronos bugzilla:
    https://cvs.khronos.org/bugzilla/show_bug.cgi?id=7962
    
    It's unclear what the behavior of desktop GL should be.  The GL 3.x
    specifications indicate that it should be (r, r, r, 1), which is
    GL_LUMINANCE (the old default).  However, page 112 of the 4.2 core
    specification contains the text quoted above, explicitly declaring it
    to be (R_t, 0, 0, 1), which is GL_RED.
    
    So it hinges on whether the 4.2 text is a change or a clarification.
    Personally I think that using GL_RED in core contexts and GL_INTENSITY
    in legacy contexts seems reasonable.
    
    Fixes 4 es3conform tests:
    - depth_texture_fbo
    - depth_texture_fbo_clear
    - depth_texture_teximage
    - depth_texture_texsubimage
    
    Cc: Ian Romanick <idr at freedesktop.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f48fdf51166203dd2d2a7246a4f2b7f8d296b9c
Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Wed Nov 21 09:28:36 2012 -0800

    i965: Bump maximum supported ES2 context version to 3.0
    
    Since patch "i965: Validate requested GLES context version in
    brwCreateContext", we have been able to create ES 3.0 contexts due to the
    max version check.  So...bump the max version.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b206ffc097fe5e33f69a600919bc6f4d4da2bec8
Author: Paul Berry <stereotype441 at gmail.com>
Date:   Tue Aug 7 12:39:30 2012 -0700

    i965/Gen6+: Enable ARB_ES3_compatibility extension
    
    IMPORTANT: this patch should not be pushed to master until ES3 support
    is fully implemented on i965/Gen6+.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8feb116bef643efb4af1593fa647b166ef955b81
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Aug 8 15:25:00 2012 -0700

    mesa/es3: Enable ES 3.0 API and shading language version
    
    v2: Add ARB_internalformat_query to the list of required extensions.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c7fa72229bd04a451fe8f09a9f4fe536bb2f811
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Thu Dec 27 13:34:44 2012 -0800

    fbobject: add additional fbo completeness checks for GLES
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8e7aa2827e2bdb1ed238cbdd351be3c8a6e9b12
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Sat Jan 12 01:11:21 2013 -0800

    framebuffer: update allowed implementation format/type
    
    Allow additional format/type combinations based on the
    color render buffer to fix failures with gles3-gtf.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffdffd834a9b0bc6866331e7ecca995d0eb1c041
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Sat Jan 12 01:05:44 2013 -0800

    readpix: allow implementation format/type
    
    For GLES2/3 allow reading of pixels with format/type based on:
     * GL_IMPLEMENTATION_COLOR_READ_FORMAT
     * GL_IMPLEMENTATION_COLOR_READ_TYPE
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=119002a648180ba1a20ed086adf2b1b306f81386
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Thu Jan 10 17:29:27 2013 -0800

    extensions: enable EXT_color_buffer_float for ES3
    
    [mattst88] v2: Enable only for ES3 per spec.
    [mattst88] v3: Use _mesa_is_gles3 since EXT_color_buffer_float is
    	       ES3-only.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=227f58695ecff3e5c4fb1861f4e79cb2ae007b94
Author: Matt Turner <mattst88 at gmail.com>
Date:   Fri Jan 18 15:16:10 2013 -0800

    extensions: Add ES3-only extension support
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce9118c7f053e68102e215c7cf57a6d1b68d5955
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Fri Dec 28 11:27:04 2012 -0800

    readpix: check FBO completeness before trying to access the read-buffer
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b0bc9de367b4bada8a733d31e5889e5a9de91d8
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Fri Dec 28 11:24:37 2012 -0800

    readpix: add error checking for GLES3
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a793ffa0b8b63afa014b3ed7f9febf38b4b0ea48
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Sat Jan 12 20:11:00 2013 -0800

    copyteximage: update error checking for GLES3
    
    Changes based on GTF/gles3 conformance test suite.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b51d71c8544ee198008bbf3545bf3def6e9e77f
Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Fri Dec 28 11:00:50 2012 -0800

    copyteximage: check that sRGB usage is valid for GLES3 / GL
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=285fe32bd9232009279c4df87d2e084f4059c67e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jan 18 15:44:38 2013 -0800

    intel: Enable GL_OES_depth_texture_cube_map
    
    For now I'm just enabling this on the same subset of hardware that has
    OpenGL 3.0 enabled.  This same functionality is part of OpenGL 3.0, and
    there is no matching desktop extension.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c29d8f4ffd562bc6abc2b3c37895d8db43feb95
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jan 18 15:43:38 2013 -0800

    mesa/es3: Allow unsized depth and depth-stencil formats in ES3
    
    They're part of GL_OES_depth_texture_cube_map, and we'll always enable
    that extension in ES3 contexts.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3eed73c3b19759b0922a7a57b6068bb69cbd710
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jan 18 15:43:08 2013 -0800

    mesa/es2: Allow depth component cube maps in ES2 if the extension is enabled
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f899c2da8b5c1ee305b80e9053447d9663b98b2
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jan 18 15:41:50 2013 -0800

    mesa: Add extension bit tracking for GL_OES_depth_texture_cube_map
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=30530ee9acc356ea94466e9d71661068f4787433
Author: Adam Jackson <ajax at redhat.com>
Date:   Wed Jan 2 12:44:49 2013 -0500

    gallium: Remove ppc asm backend
    
    The vs part hasn't been wired up since tgsi_sse2 was disabled in:
    
        commit 4eb3225b38ce12cb34ab3d90804c9683bd7b4ed3
        Author: José Fonseca <jose.r.fonseca at gmail.com>
        Date:   Tue Nov 8 00:10:47 2011 +0000
    
    	Remove tgsi_sse2.
    
    And it would certainly not work correctly in its current state:
    
    draw/draw_vs_ppc.c: In function ‘draw_create_vs_ppc’:
    draw/draw_vs_ppc.c:190:24: warning: assignment from incompatible pointer
    type [enabled by default]
    
    As with the sse2 backend, this should be done in llvm anyway.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Signed-off-by: Adam Jackson <ajax at redhat.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=410b58c7bfcebbc866d2dc4ab32c6f23b55d383b
Author: Andreas Boll <andreas.boll.dev at gmail.com>
Date:   Fri Jan 18 15:31:57 2013 +0100

    build: require python module libxml2
    
    configure should warn if libxml2 is not found.
    libxml2 is needed by glapi/gen.
    
    Fixes error during build in src/mapi/glapi/gen:
    ImportError: No module named libxml2
    
    NOTE: This is a candidate for the 9.0 branch.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31598
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9f5c92f734c517c1bd486f5a3b1931ea6f871a5
Author: Vincent Lejeune <vljn at ovi.com>
Date:   Sat Jan 19 22:27:16 2013 +0100

    r600g/llvm: Fixes addressspace of basevectors for clipvertex

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e264b8ef4138fb874bcf3f82cfd7468ee27768da
Author: Christoph Bumiller <christoph.bumiller at speed.at>
Date:   Sat Jan 19 22:08:01 2013 +0100

    nv50/ir: add definitions of Target and CodeEmitter dtors
    
    I really did build test, my compiler just doesn't seem to care.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d2d450ea6d8082db14cd3f86c6c25442bf771c5
Author: Christoph Bumiller <christoph.bumiller at speed.at>
Date:   Sat Jan 19 20:53:22 2013 +0100

    nouveau: fix undefined behaviour when testing sample_count
    
    NOTE: This is a candidate for the 9.0 branch.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0863c26d43a9ed135c8db980fb0bc9bca35548c
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat Jan 12 17:37:34 2013 +0100

    nv50/ir: fix a couple of warnings

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f59a3a0fe2c6ae7d2e29da7b6185039ba0a03079
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Dec 14 19:00:32 2012 -0800

    mesa: Array uniform name length includes length of [0]
    
    This is required by OpenGL ES 3.0 and desktop OpenGL 4.2.  Previous
    version were ambiguous.  This also matches the behavior of NVIDIA's
    closed-source driver (version 304.64).
    
    Fixed gles3conformance test uniform_buffer_object_getactiveuniformsiv
    and uniform_buffer_object_structure_and_array_element_names (on my
    in-progress branch that fixes a bunch of other stuff...YMMV).
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ef3c83ffe538d09380baaac5c3cd86a9f97ca47
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Dec 14 15:01:48 2012 -0800

    mesa: Array uniform names are supposed to have [0] appended
    
    This is required by OpenGL ES 3.0 and desktop OpenGL 4.2.  Previous
    version were ambiguous.  This also matches the behavior of NVIDIA's
    closed-source driver (version 304.64).
    
    Fixed gles3conformance test uniform_buffer_object_getactiveuniform.
    
    Several piglit tests expect glGetActiveUniform to *not* include the [0]
    on the end.  These tests were already failing on NVIDIA, and this change
    regresses them on Mesa.  Patches have been sent to the piglit mailing
    list to fix the tests.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5938c7774ff973612358ca52691c3eb73171e2e7
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Dec 14 14:59:11 2012 -0800

    mesa: Refactor getting a uniform's name to a helper function
    
    We currently have a bug in this code, and I don't want to fix it in two
    places.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f26520146b6763212aca5c4f1f14a32f2824bbb0
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Dec 11 16:51:02 2012 -0800

    glsl: Eliminate link_update_uniform_buffer_variables return value
    
    It always returns true, so there's no point in having a return value.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd85c75922c5f82159e11b3e19ff95d82c35a21f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Dec 11 12:54:02 2012 -0800

    glsl: Remove unused loc parameter from generate_call
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56053b0a2d80c5f7041a588fdc442977b1362289
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Dec 13 02:22:24 2012 -0800

    mesa: Remove unused field gl_uniform_buffer_variable::Buffer
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=feea85da065c9557da321e869a4d937385ab2310
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Dec 13 12:42:02 2012 -0800

    linker: Use helper variable sh
    
    This looks like a copy-and-paste left over.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=db718e2472c24b4954665c5e696c406d25fd389a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Dec 13 12:14:47 2012 -0800

    glsl: Remove stale comment
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f29169913f99252c54e1922f6d164e2ef530a58
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Nov 28 00:18:02 2012 -0800

    glsl: Track UBO block names in the symbol table.
    
    The GLSL 1.40 spec says:
    
        "Uniform block names and variable names declared within uniform
        blocks are scoped at the program level."
    
    Track the block name in the symbol table and emit errors when conflicts
    exist.
    
    Fixes es3conform's uniform_buffer_object_block_name_conflict test, and
    fixes the piglit block-name-clashes-with-{variable,function,struct}.vert
    tests.
    
    NOTE: This is a candidate for the 9.0 branch.
    
    v2: Fix bad constructor initialization.  Noticed by Topi Pohjolainen.
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb47a4d081c383a2c42555c2bbde2f5d8ee2412c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jan 16 12:01:50 2013 -0800

    glsl: Reject row_major and column_major on non-matrix types
    
    About both row_major and column_major layout qualifiers, the GLSL spec
    says:
    
        "It only affects the layout of matrices."
    
    However, the OpenGL ES 3.0 conformance tests have taken this to mean it
    is an error use it elsewhere.  This seems logical given that
    'layout(row_major) vec4 foo' is probably not what the programmer meant.
    
    The only catch is dealing with structures that contain matrices.  Layout
    qualifiers cannot be applied directly to fields of structures, so the
    only way to affect the layout of the fields is to apply a qualifier to
    the structure declaration itself.  There is ongoing debate about this
    within Khronos, and it seems to be settling in favor of allowing the
    qualifiers on structures.  I light of this, I have chosen to allow the
    qualifiers on structures but emit a warning since the usage may not be
    portable.
    
    Fixes gles3conform test
    uniform_buffer_object_layouts_not_for_matrix_type and causes no
    regressions.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ec1b577f726a70dd787227260e61928e97474e5
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jan 8 11:09:49 2013 -0800

    mesa: Skip updating texgen when not doing fixed function.
    
    Between the previous commit and this one, improves GLBenchmark 2.1
    offscreen performance by 0.48% +/- 0.24% (n=22, throttling outliers
    removed).
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=078727d41c1f1578704c830fce062bd0538802ab
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jan 8 09:56:24 2013 -0800

    mesa: Don't bother updating ff texture state if we have a fragment shader.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5788146bac2b9da48cacad758dbe7868503cf76
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jan 7 16:58:58 2013 -0800

    mesa: Drop a comment about ff vertex shading and texturing.
    
    It's never going to have texture fetches.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4533a38fa8bb8ad24661adc2b67571546249a028
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jan 10 17:48:16 2013 -0800

    mesa: Fix out of bounds writes when uncompressing non-block-aligned ETC1.
    
    Fixes a crash in GLB2.1 offscreen on the glthread branch.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e529d708a99ddc55201046995aea6648ab3d65a
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jan 10 14:53:12 2013 -0800

    i965: Add support for GL_ARB_texture_buffer_object_rgb32.
    
    Tested with piglit ARB_texture_buffer_object/formats.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=582b06c2c689ecf23dca8abd81412ce193a04d10
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jan 10 16:11:26 2013 -0800

    i965: Add support for MESA_FORMAT_RGB_FLOAT32 surfaces.
    
    This is for GL_ARB_texture_buffer_object_rgb32 support, but it also
    causes the format to get used for float32 rgb textures as well on
    Ironlake and later.  Since that came with some surprises, separate
    the change from the enable commit.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60894edeef973e86a73067276f658b72f84271b6
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jan 10 15:11:28 2013 -0800

    intel: Make intel_region's pitch be bytes instead of pixels.
    
    We almost never want a stride in pixels -- if you're doing anything with
    a stride, you're specifying an offset or incrementing a pointer, and in
    both cases you had to multiply by cpp to get the bytes value you wanted.
    But worse, on the way to creating a region from a new tiled BO, we
    divided by cpp to get pitch in pixels, and for an RGB32 buffer (an
    upcoming change) the pitch wouldn't divide exactly, and we'd end up with
    a wrong stride in our region.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8fd62e80ae1985b1dc466ecddbbed1e48edb08f9
Author: Eric Anholt <eric at anholt.net>
Date:   Thu Jan 10 15:22:12 2013 -0800

    intel: Make intel_blit.c take pitches in bytes.
    
    As we gain support for NPOT cpp, a pitch may not divide by cpp cleanly.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b14ce2cafea03de1b39e44cc8c37439b031e3eb
Author: Vincent Lejeune <vljn at ovi.com>
Date:   Fri Jan 11 19:48:29 2013 +0100

    r600g/llvm: tgsi to llvm emits store.swizzle intrinsic for vs/fs output
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b205264667f5b5b59dfb721cfc701d1f482de99
Author: Vincent Lejeune <vljn at ovi.com>
Date:   Fri Jan 11 19:48:28 2013 +0100

    r600g/llvm: tgsi to llvm emits stream output intrinsics.
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce34ff1ad7379f804ac09733e1af6afb63f0aa5a
Author: Vincent Lejeune <vljn at ovi.com>
Date:   Tue Jan 8 22:46:37 2013 +0100

    r600g/llvm:translate ARL opcode to a simple cast
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d532800d8be5ce31731658564691ae9cdaacf7a
Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Tue Jan 8 22:46:35 2013 +0100

    r600g/llvm: rework handling of the constants
    
    Vincent Lejeune:
      - tgsi to llvm now emits pointers for constants
    
    Tom Stellard:
      - Only use texture cache for vtx fetch with compute shaders
      - Change address space used for constant loads to match LLVM
        backend.
    
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ee2880e865135df451a3dc21ccc8f3631bdba02
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jan 17 09:38:02 2013 -0800

    mesa: Only mark textures as mipmap incomplete on MAX_LEVEL issues.
    
    According to the OpenGL 3.2 Core Profile specification, section 3.8.12:
    
    "For one-, two-, and three-dimensional and one-and two-dimensional array
     textures, a texture is mipmap complete if all of the following
     conditions hold true:
     - [...]
     - levelbase <= levelmax [...]
    
     Using the preceding definitions, a texture is complete unless any of
     the following conditions hold true:
     - [...]
     - The minification filter requires a mipmap (is neither NEAREST nor
       LINEAR), and the texture is not mipmap complete."
    
    (This text also appears in all GL >= 3.2 specs and the ES 3.0 spec.)
    
    From this, we see that levelbase <= levelmax should only affect mipmap
    completeness, not base-level completeness.
    
    Prior versions of GL did not have the notion of mipmap completeness,
    simply calling the texture incomplete in this case.  But I don't think
    we really care.
    
    Fixes es3conform's sgis_texture_lod_basic_completeness test.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <idr at freedesktop.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0dbd9255b5813d1567e1f09266f80e35dcbeb70
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Jan 16 20:24:13 2013 -0800

    i965/vs: Store texturing results into a vec4 temporary.
    
    The sampler appears to ignore writemasks (even when correcting the
    WRITEMASK_XYZW in brw_vec4_emit.cpp to the proper writemask) and just
    always writes all four values.
    
    To cope with this, just texture into a temporary, then MOV out into a
    register that has the proper number of components.
    
    NOTE: This is a candidate for stable branches.
    
    Fixes es3conform's shadow_execution_vert.test.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <idr at freedesktop.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aeff9a0d9889c4583e4f7fc89539380c1e6d043c
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Jan 16 19:09:52 2013 -0800

    i965/vs: Set LOD to 0 for ordinary texture() calls.
    
    Previously it was left undefined, causing us to select a random LOD.
    
    NOTE: This is a candidate for stable branches.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <idr at freedesktop.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56ce55d198af65d4a9de7119eb9e2417296c54ea
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Jan 16 19:08:12 2013 -0800

    i965/vs: Create a 'lod_type' temporary for ir->lod_info.lod->type.
    
    This is purely a refactor.  However, in a moment, we'll want to set
    lod_type to float for ir_tex, where ir->lod_info.lod is NULL.
    
    NOTE: This is a candidate for stable branches (for the next patch).
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <idr at freedesktop.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=613e64060c2bc58c3920c3c6ff77291642ba0e23
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Jan 16 11:14:14 2013 -0800

    i965: Lower textureGrad() with samplerCubeShadow on pre-Haswell.
    
    Fixes regressions since commit 899017fc54c40c969b5239b33f3a17b311878b0d
    Author: Kenneth Graunke <kenneth at whitecape.org>
    Date:   Fri Jan 4 07:53:09 2013 -0800
    
        i965: Use Haswell's sample_d_c for textureGrad with shadow samplers.
    
    That patch assumed that all instances were lowered.  However, we weren't
    lowering textureGrad() with samplerCubeShadow because I couldn't figure
    out the LOD calculations.  It turns out they're easy: you just have to
    use 1 for the depth.  This causes it to pass oglconform's four tests.
    
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Tested-by: Anuj Phogat <anuj.phogat at gmail.com>
    Tested-by: Ian Romanick <idr at freedesktop.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d03d9b657e73fe026a395c7c7f0e157ad90107c7
Author: Roland Scheidegger <sroland at vmware.com>
Date:   Sat Jan 12 17:28:40 2013 -0800

    llvmpipe: turn on integer texture support
    
    Now that things mostly seem to work enable those formats.
    Some formats cause crashes (notably RGB8 variants) so switch these off
    (these crashes are not specific to INT/UINT variants but the state tracker
    doesn't use them for UNORM etc. formats so it went unnoticed so far).
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2a87a1f5bcd78f381409345740ed37273453c0d
Author: Roland Scheidegger <sroland at vmware.com>
Date:   Sat Jan 12 17:20:13 2013 -0800

    llvmpipe: more fixes for integer color buffers
    
    Cast back the fake floats to ints, and make sure we don't try to do scaling
    in format conversion (which only makes sense with normalized values).
    Also need to disable blending and alpha test (as per spec) for such buffers.
    This makes fbo-blending from the piglit ext_texture_integer tests work for most
    formats (some crash, and the luminance and intensity variants have the GB or
    GBA channels respectively wrong).
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc6bc3b642dc2dc04f583dd92d97aa1da9b90332
Author: Roland Scheidegger <sroland at vmware.com>
Date:   Sat Jan 12 17:09:04 2013 -0800

    llvmpipe: trivial code and comment cleanup.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c84a82383fe56bc1a8977ce42de36f71ffc108e
Author: Roland Scheidegger <sroland at vmware.com>
Date:   Sat Jan 12 17:07:37 2013 -0800

    llvmpipe: fix using wrong format with MRT in blend code
    
    We were passing in the rt index however this was always 0 for non-independent
    blend case. (The format was only actually used to decide if the color mask
    covered all channels so this went unnoticed and was discovered by accident.)
    Additionally, there was a second problem because we do fixups in the key based
    on color buffer format we cannot use non-independent blend anyway as the fixed
    up values would never get used.
    So always turn non-independent blending into independent.
    
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: José Fonseca <jfonseca at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca39c0f94a4e3cc25b6cc9507fb729b85140733a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jan 16 15:34:49 2013 -0800

    mesa/es3: Don't check dimensions in _mesa_es3_error_check_format_and_type
    
    Filtering of DEPTH_COMPONENT and DEPTH_STENCIL for TEXTURE_3D is already
    done in texture_error_check because these combinations aren't allowed on
    desktop GL either.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=311cc5d973115465cb7b0e272702e14124478ded
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jan 16 15:34:26 2013 -0800

    mesa: Don't allow DEPTH_STENCIL for 3D textures
    
    Just like DEPTH_COMPONENT.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=57ddf1227fffbfda52c9310f9092c036ad4558b6
Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 17 08:59:13 2013 -0700

    swrast: fix assorted bugs in software blit code
    
    1. The loop over dest buffers in blit_linear() needed a null pointer
    check.  Fixes https://bugs.freedesktop.org/show_bug.cgi?id=59499
    
    2. The code to grab the drawRb's format needs to be inside the drawing loop.
    
    3. An equality test was using = instead of == thus messing up a
    renderbuffer attachment texture pointer.  This lead to memory
    corruption and a crash at exit.
    
    Finally, fix a capitalization error NumDrawBuffers -> numDrawBuffers
    and change type to unsigned to fix signed/unsigned comparison warnings.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=51efb081f7cc1c777d581c5dad5819a98f7f35cb
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Wed Dec 5 18:35:22 2012 +0100

    radeonsi: Actually keep track if we are using depth textures for samplers.
    
    20-odd more piglits.
    
    Reviewed-by: Christian König <christian.koenig at amd.com>
    Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c92bfe2d22942a529c9c21ef74b8237732807af
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Tue Jan 15 11:46:40 2013 +0100

    radeonsi: Fix Z24 texture formats.
    
    About half a dozen more piglits.
    
    Reviewed-by: Christian König <christian.koenig at amd.com>
    Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ace200b2b916d4e9696ae7f711578dcdd5d28e0
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Fri Dec 21 15:39:26 2012 +0100

    radeonsi: Set SPI_SHADER_COL_FORMAT to what the pixel shader actually exports.
    
    Instead of deriving it from the colour buffer formats only.
    
    Fixes a number of piglit tests which export depth from the pixel shader.
    
    Reviewed-by: Christian König <christian.koenig at amd.com>
    Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc5e65096d2e9ae14b048811315814831427608a
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Fri Jan 11 19:51:09 2013 +0100

    radeonsi: Use proper hardware format for stencil texturing.
    
    Fixes piglit 'spec/ARB_depth_buffer_float/fbo-clear-formats stencil' crash.
    
    Reviewed-by: Christian König <christian.koenig at amd.com>
    Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c486e3ef342ea7bace4c124f905bfa154f47dacc
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Thu Jan 17 16:31:58 2013 +0100

    radeonsi: Enable tiling for depth/stencil resources.
    
    Enabling it for all resources still seems to cause problems, but depth/stencil
    buffers are always accessed with tiling by the DB block.
    
    Also, stick to 1D tiling for now. Getting 2D tiling to work properly will
    require substantial changes in libdrm_radeon and possibly the kernel as well.
    
    Reviewed-by: Christian König <christian.koenig at amd.com>
    Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c408f0c5c4b07eac4bc8759bb8e6ab20f527ded0
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Thu Dec 13 14:32:56 2012 +0100

    radeonsi: Consolidate calculation of tile mode index.
    
    Apart from the obvious cleanup, this makes sure all blocks use the same tiling
    mode for accessing the resource.
    
    Reviewed-by: Christian König <christian.koenig at amd.com>
    Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ba7eac535d309332c4149b544ccf7e87f88c723
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Sun Dec 2 12:07:35 2012 +0100

    nvc0: add support for accelerated video decoding through the dedicated engines
    
    Currently the use of external firmware is required, with kernel and
    userspace firmware needed for all Fermi cards except nvd9. Kepler and nvd9
    should only require kernel firmware.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6eb0d3d86394699f0e3eb3df26a9623bb142e6a8
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Fri Nov 30 11:38:24 2012 +0100

    radeonsi: Pass texture type to sampling intrinsics.
    
    Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=edc8e8cbef874a37c721b576c3ecd2a9f2fd399b
Author: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Date:   Thu Jan 17 12:35:38 2013 +0100

    nvc0: add space checks to clear functions
    
    Thanks to calim for helping me find and fix the issue.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5dc76c76709e46dc29a667eea3d52a4fe55b40bb
Author: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Date:   Thu Jan 17 12:33:34 2013 +0100

    nv50: add space checks to clear functions, and respect depth
    
    Thanks to calim for helping me find and fix the issue.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56c01d81094795286828ecb83713e043695e905a
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 16 08:41:01 2013 -0700

    st/mesa: a couple fixes for st_BlitFramebuffer()
    
    1. Loop over multiple destination color buffers.  If we set
    glDrawBuffers(GL_FRONT_AND_BACK) we need to loop over multiple color
    buffers, blitting to each.
    
    2. Add checks for null src/dst surface pointers.  This fixes a crash
    in the piglit fbo-missing-attachment-blit test.
    See bug http://bugs.freedesktop.org/show_bug.cgi?id=59450
    
    Reviewed-by: Reviewed-by: Marek Olšák <maraeo at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af7b4b01f1b61d6177d947bec2ecdfae28d0874d
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 16 08:47:55 2013 -0700

    st/mesa: simplify some src/dst surface setup in BlitFramebuffer
    
    Use the renderbuffer attachment pointers that we grabbed earlier.
    
    Reviewed-by: Reviewed-by: Marek Olšák <maraeo at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09154c274c720815b642970bf3861413d0fbef92
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 16 08:25:43 2013 -0700

    meta: add 'f' suffix to floats to silence some MSVC warnings

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6064810e53aef4c13c943b6dbdd6a647219458e9
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 16 08:19:13 2013 -0700

    mesa: add missing ASSERT_OUTSIDE_BEGIN_END() in _mesa_GetInternalformativ()
    
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99629735e79084597a4255c2a9bf9fab38d73007
Author: Matt Turner <mattst88 at gmail.com>
Date:   Mon Jan 14 14:38:01 2013 -0800

    build: Make src/gtest before src/mesa
    
    Fixes a make check problem where libgtest.la wasn't build before tests
    that want to link with it.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6e73089e5d78094dd5b36e37c824cc42f54c8c4
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date:   Mon Jan 14 15:35:05 2013 +0000

    Fix mapi code generator for out-of-tree build
    
    Use os.path.join() rather than hand-rolling it, so path is correct if
    sys.argv[0] returns an absolute path.
    
    (According to the python documentation, it's platform dependent whether
    sys.argv[0] is a full pathname or not.  It probably also depends on how
    the process was started...)
    
    Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4fad211502d8fcc6a4906549e6458b3306dcc27c
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Sun Dec 2 12:07:35 2012 +0100

    nvc0: Add support for video buffer

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b8af72f96825cba8519b2c381ccde42decb69d3
Author: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Date:   Tue Dec 18 13:17:22 2012 +0100

    vl/video_buffer: fix up surface ordering for the interlaced case
    
    It seems the other code expects surface[0..1] to be the luma field in interlaced case.
    
    See for example vdpau/surface.c vlVdpVideoSurfaceClear and vlVdpVideoSurfacePutBitsYCbCr.
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=892c1fa8d8248bcdb153faf0694073e3b4a91ed3
Author: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Date:   Tue Dec 18 13:13:01 2012 +0100

    vl/compositor: fix weave shader bugs
    
    Writemask was XY instead of YZ (thanks to calim for spotting it).
    
    The pixel calculation resulted in the pixel always being off by one.
    If y was .5:
    
    y' = round(y) + 0.5 = 1.5
    
    Fixing this also means the LRP function has to swap the pixels it, since
    it's now the other way around for top/bottom.
    
    WIth these fixes only chroma for top and bottom pixel rows are wrongly interpolated
    in my test program:
    
    --- nvidia
    +++ nouveau
    @@ -1,4 +1,4 @@
    -YCbCr[0] = 00c080
    +YCbCr[0] = 00b070
     YCbCr[1] = 00b070
     YCbCr[2] = 029050
     YCbCr[3] = 207050
    @@ -61,4 +61,4 @@
     YCbCr[60] = 0c5070
     YCbCr[61] = c05090
     YCbCr[62] = 0e70b0
    -YCbCr[63] = e080c0
    +YCbCr[63] = e070b0
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
    Reviewed-by: Christian König <christian.koenig at amd.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfcd7658c591d83adbca038669b1be702fac9dcb
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jan 16 08:18:33 2013 -0700

    mesa: add new formatquery.c file to SConscript file to fix build

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4499488125b3f67ab67549587cc3bbae0daeac9
Author: Christian König <christian.koenig at amd.com>
Date:   Wed Jan 16 15:15:38 2013 +0100

    radeonsi/vdpau: remove nonsense state tracker dep
    
    Added with automake conversion, but makes no sense at all.
    
    Signed-off-by: Christian König <christian.koenig at amd.com>
    Reviewed-by: Andreas Boll <andreas.boll.dev at gmail.com>




More information about the mesa-commit mailing list