Mesa (7.9): 35 new commits

Ian Romanick idr at kemper.freedesktop.org
Wed Sep 29 02:48:36 UTC 2010


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d3a4317e81cf168edd1c5f21cbbfce937833153
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 28 19:22:55 2010 -0700

    mesa: set version string to 7.9-rc2

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=836b44b2c8ecc3dbf1cfdc1bd830ab7000be3d52
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Sep 28 14:32:16 2010 -0700

    glsl: Also update implicit sizes of varyings at link time.
    
    Otherwise, we'll often end up with gl_TexCoord being 0 length, for
    example.  With ir_to_mesa, things ended up working out anyway, as long
    as multiple implicitly-sized arrays weren't involved.
    (cherry picked from commit 586b4b500fed64fb724beb3753bc190cd1c676e0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=83854a9c84ee664707383e83cc0a1b9b5b870052
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Sep 28 10:05:10 2010 -0700

    i965: Fix up part of my Sandybridge attributes support patch.
    
    I confused the array sizing for number of files for the number of regs
    in a file.
    (cherry picked from commit ef8e002c75a5def2c400638336dcd55d411d87be)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4824096b0ab5a6d8b835ce1047f1cc84e365d9c
Author: Eric Anholt <eric at anholt.net>
Date:   Tue Sep 28 10:07:56 2010 -0700

    i965: Fix all non-snb regression in the snb attribute interpolation commit.
    
    This apparently had never been tested elsewhere before being merged to
    master.
    (cherry picked from commit f1dba030564e66ca52f4ed44172681e7d2e90ad2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=71bdc82c198432c00bc564bd796b8a4b549046df
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Tue Sep 28 15:50:59 2010 +0800

    i965: fallback bitmap operation on sandybridge
    
    Need to bring back correct fb write with header to set pixel
    write mask. Fallback for now.
    
    Note: Conflicts in intel_pixel_bitmap.c due to the removal of
    intel_texture_bitmap from master.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aaf7f78dfa4229537bf546b31cb954b66f5d5b5d
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Mon Sep 27 09:58:09 2010 +0800

    i965: fix occlusion query on sandybridge
    
    Fix pipe control command for depth stall and PS_DEPTH_COUNT write.
    (cherry picked from commit 3074b61f64601be4620f1fb3c48c7c6024d3fd57)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c7a7d0b09e22c825678c96e0534f06eb8eaf975
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Sun Sep 26 14:36:14 2010 +0800

    i965: fix point sprite on sandybridge
    
    Need to set point sprite function in fixed SF state now on sandybridge.
    (cherry picked from commit ec99833e928baf8dc8c958e3df6f3bbdce922794)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f736d85a5a17815e5f52587f3cf2f3d2719fcaf1
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Tue Sep 28 15:35:22 2010 +0800

    i965: fix scissor state on sandybridge
    
    Fix incorrect scissor rect struct and missed scissor state pointer
    setting for sandybridge.
    (cherry picked from commit 4b6b0bf24a043035d7ada0c966e01df6327dc529)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=40dc27543139247f26c6e4f29c15b1938ba065f5
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Sun Sep 26 13:17:18 2010 +0800

    i965: enable polygon offset on sandybridge
    
    Depth offset function is moved to SF stage on sandybridge.
    (cherry picked from commit 3f3059fcc0cfb797830eb5e0755b5b4ec3fd218b)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3dd52d51ce05ced6429fb747b31d3367a24d21e3
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Sat Sep 25 10:50:24 2010 +0800

    i965: fix pixel w interpolation on sandybridge
    (cherry picked from commit 15a8e7ec90433eea72416793c263febff078c888)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e00bb8732c020234b0f32e74883e013234b2944d
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Sat Sep 25 10:48:52 2010 +0800

    i965: don't do calculation for delta_xy on sandybridge
    
    Sandybridge doesn't have Xstart/Ystart in payload header.
    (cherry picked from commit 85fa900b932243785e528e73fe119c27fa1988c4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=11215cd5357ff372610636dfcb20908220613f2f
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 16:26:27 2010 +0800

    i965: only allow SIMD8 kernel on sandybridge now
    
    Until we fixed SIMD16 kernel, force to SIMD8 on sandybridge now.
    (cherry picked from commit c58bf2cee5b0f14a585089084fec7767f33887a7)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6831cf67d146ad332bab573658d9945748de9545
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 15:08:09 2010 +0800

    i965: sandybridge pipe control workaround before write cache flush
    
    Must issue a pipe control with any non-zero post sync op before
    write cache flush = 1 pipe control.
    (cherry picked from commit 18c3b754f974751550dc9505d50535365beac8f3)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ece465219f35a1408f1ca6b5607a62eb757d81ef
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Thu Sep 16 09:50:02 2010 +0800

    i965: Add all device ids for sandybridge
    (cherry picked from commit c8033f1b1ea118f3f47b7f3de557b7a8dcf11082)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0dc83cc437da4d0f736717be088701cd670a61b0
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Sun Sep 26 13:13:32 2010 +0800

    i965: fix const register count for sandybridge
    
    Sandybridge's PS constant buffer payload size is decided from
    push const buffer command, incorrect size would cause wrong data
    in payload for position and vertex attributes. This fixes coefficients
    for tex2d/tex3d.
    (cherry picked from commit 81aae67e58f7c3123724e629a81e2c937864e3be)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=922d7e102542f95a81bb126868b223370c40f4b9
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 14:17:06 2010 +0800

    i965: Fix sampler on sandybridge
    
    Sandybridge has not much change on texture sampler with Ironlake.
    (cherry picked from commit 956f866030f7bea5fc4a2de28c72e60bdc3a5b3d)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4afb1c84517b4cc0bdbc8eee19a5647d2cd6320d
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Tue Sep 28 14:54:26 2010 +0800

    i965: fix jump count on sandybridge
    
    Jump count is for 64bit long each, so one instruction requires 2
    like on Ironlake.
    (cherry picked from commit c5a3b25bb954db49dcb5e7737018979782d2edba)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad52c2b773d71851bd42898687bb8aeb761e7f4f
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 14:47:05 2010 +0800

    i965: VS use SPF mode on sandybridge for now
    
    Until conditional instructions were fixed, use SPF mode instead for now.
    (cherry picked from commit 9c39a9fcb2c76897e9b5aff68ce197a411c4e25c)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=364b6e0709e9e05673cacea0278a5f493e8e6121
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 14:40:16 2010 +0800

    i965: add sandybridge viewport state bo into validation list
    (cherry picked from commit 7401a98e29eaaa80fc42e18b126988683b090543)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=32c1dc76af1e3f0c7ac167b75a2ad286325a1319
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 14:25:43 2010 +0800

    i965: ignore quads for GS kernel on sandybridge
    
    Sandybridge's VF would convert quads to polygon which not required
    for GS then. Current GS state still would cause hang on lineloop.
    (cherry picked from commit a0b1d7b2b8d35f30793d811d7b5a693e9ea17596)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9ad343cf796b29710014825cec2ab3da1d9610a
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 14:23:48 2010 +0800

    i965: ff sync message change for sandybridge
    (cherry picked from commit 67dafa4b56422b44ca26b093d8feb6e743eb89e6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76469d710c96fb2a8bced7168faeda1996e48328
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 13:08:22 2010 +0800

    i965: fix point size setting in header on sandybridge
    (cherry picked from commit fa589770e8829f02d2742c32d05eecde0b70fe80)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6eec2dbfc869672890833d05664b9436a69b150b
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 13:03:32 2010 +0800

    i965: force zero in clipper to ignore RTAIndex on sandybridge
    (cherry picked from commit 03218a00932e83f0ffd0c3077bbbe65a7765c572)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4f126beaf7d77f017f4c2e949f551a04c6c4023
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 12:57:35 2010 +0800

    i965: Fix color interpolation on sandybridge
    
    Don't double store position in vertex attribute. This makes color
    interpolation right by using barycentric coordinates.
    (cherry picked from commit 41c31c2ebd5ed2ca021ff9d89f79270562e6c368)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d5400519eb93ec15bbde006f109e331bc9591c5
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 12:45:01 2010 +0800

    i965: enable accumulator update in PS kernel too on sandybridge
    
    Accumulator update flag must be set for implicit update on sandybridge.
    (cherry picked from commit 8c31a4c3cf6655fe4db6befb4a7b029ada62aaf6)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=36722d76738a673470b28f9dbc64b1332d35547a
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 11:17:26 2010 +0800

    i965: new state dump for sandybridge
    
    Dump new state object on sandybridge for cc viewport, clip viewport,
    depth stencil, cc and blend state.
    (cherry picked from commit b016a78b983295c112421c01d378fbe2862412d4)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c26f3883a3ea926ccd6b74c7307ec7af9369dbe
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Fri Sep 17 11:13:26 2010 +0800

    i965: disasm quarter and write enable instruction control on sandybridge
    (cherry picked from commit bf60f3593452f6ab6340c7a8737cc74f223f2a62)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1975d851e8bee3813ef51657acb2bc82003023e4
Author: Eric Anholt <eric at anholt.net>
Date:   Sun Aug 22 01:33:57 2010 -0700

    i965: Add support for POW in gen6 FS.
    
    Fixes glsl-algebraic-pow-2 in brw_wm_glsl.c mode.
    (cherry picked from commit fe2d4a5ea02df38c9940a726aa04bcf550fab1da)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4f1e0d108dc251641a306737446fe7a5a7264d9
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Aug 20 18:15:14 2010 -0700

    i965: Set up inputs to the fragment shader according to FP InputsRead.
    
    Sending down data that doesn't get read doesn't make any sense, and
    would make handling things like gl_FrontFacing and gl_PointCoord
    harder.
    (cherry picked from commit 2f914053bc8bba3e6d20334ec44feacc803f5d84)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cda661fd1c71a4c42f247f2d174f655818338bed
Author: Eric Anholt <eric at anholt.net>
Date:   Sun Sep 26 13:28:51 2010 +0800

    i965: Add support for attribute interpolation on Sandybridge.
    
    Things are simpler these days thanks to barycentric interpolation
    parameters being handed in in the payload.
    (cherry picked from commit a66e9a4d86d227b65874c43fbf9e299c7a26389f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ab0d45c9fc78c86597f376478dd98973d6a4b49
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Sep 27 15:46:51 2010 -0700

    glsl: Fix broadcast_index of lower_variable_index_to_cond_assign.
    
    It's trying to get an int smeared across all channels, not trying to
    get a 1:1 mapping of a subset of a vector's channels.  This usually
    ended up not mattering with ir_to_mesa, since it just smears floats
    into every chan of a vec4.
    
    Fixes:
    glsl1-temp array with swizzled variable indexing
    (cherry picked from commit 668cdbe12958247f4a563c362dbf3247de7ccc3f)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=269dd5116293f0bc94f6fd7c03f7446b75776470
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Sep 25 18:51:24 2010 +1000

    mesa/mipmap: fix warning since 1acadebd6270d3604b026842b8a21360968618a0
    
    1acadebd6270d3604b026842b8a21360968618a0 fixed the pointer but not the cast.
    (cherry picked from commit 865cf775030beac3147547537a1a5372485127de)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f60c28e0834ee83211b98ddd8e3aef4f0c339668
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Sep 24 18:40:24 2010 -0700

    mesa: Fix type typo in glGenerateMipmap handling of GL_UNSIGNED_INT data.
    
    Fixes ARB_depth_texture/fbo-generatemipmap-formats.
    (cherry picked from commit 1acadebd6270d3604b026842b8a21360968618a0)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aebd78f6073ce6080d2cca287faefe2925123ecc
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Sep 22 11:43:58 2010 -0700

    glsl: Fix copy'n'wasted ir_noop_swizzle conditions.
    
    It considered .xyyy a noop for vec4 instead of .xyzw, and similar for vec3.
    (cherry picked from commit 3ffab367685c0e0c7ce4d01a3b9b934cb0b15883)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0391eaf088a256ef4f382e0afdd38e91b26fd06d
Author: Eric Anholt <eric at anholt.net>
Date:   Wed Sep 22 11:47:03 2010 -0700

    glsl: Rework assignments with write_masks to have LHS chan count match RHS.
    
    It turns out that most people new to this IR are surprised when an
    assignment to (say) 3 components on the LHS takes 4 components on the
    RHS.  It also makes for quite strange IR output:
    
    (assign (constant bool (1)) (x) (var_ref color) (swiz x (var_ref v) ))
    (assign (constant bool (1)) (y) (var_ref color) (swiz yy (var_ref v) ))
    (assign (constant bool (1)) (z) (var_ref color) (swiz zzz (var_ref v) ))
    
    But even worse, even we get it wrong, as shown by this line of our
    current step(float, vec4):
    
    (assign (constant bool (1)) (w)
    	(var_ref t)
    	(expression float b2f (expression bool >=
    		    (swiz w (var_ref x))(var_ref edge))))
    
    where we try to assign a float to the writemasked-out x channel and
    don't supply anything for the actual w channel we're writing.  Drivers
    right now just get lucky since ir_to_mesa spams the float value across
    all the source channels of a vec4.
    
    Instead, the RHS will now have a number of components equal to the
    number of components actually being written.  Hopefully this confuses
    everyone less, and it also makes codegen for a scalar target simpler.
    
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
    (cherry picked from commit b39e6f33b60ef9bbaf81f320aaca6a440d8a6a8f)




More information about the mesa-commit mailing list