Mesa (master): 33 new commits

Samuel Pitoiset hakzsam at kemper.freedesktop.org
Tue Apr 26 17:50:36 UTC 2016


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c429f88d9696d2060e02c95b832999e918718bc
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Apr 18 18:55:22 2016 +0200

    nvc0: expose GLSL version 420 on GK110
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0e777f6a12515cfadf8050eb63dfe24f84347b5
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Apr 18 18:54:14 2016 +0200

    nvc0: enable ARB_shader_image_load_store on GK110
    
    This exposes 8 images for all shader types.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2daaa5d657910239833dc796dc1ac6f4b168e3df
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Apr 20 01:04:28 2016 +0200

    gk110/ir: add emission for VSHL
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af5925209d730f917431b603b031085c7c96c773
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Apr 19 01:37:44 2016 +0200

    gk110/ir: add emission for OP_SUEAU, OP_SUBFM and OP_SUCLAMP
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f8900a8e0c344c17dafd9ab57c7fb24c0eec588
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Apr 18 18:53:37 2016 +0200

    gk110/ir: add emission for OP_SULDB and OP_SUSTx
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fddd8523d48f456d3fd614179ecd66e46625c774
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Apr 18 18:50:24 2016 +0200

    gk110/ir: add emission for OP_MADSP
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2ce22ca4641343e9bad446811a882c5c3930419
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Apr 18 18:48:52 2016 +0200

    gk110/ir: add emission for OP_PERMT
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=222d1a1bff8eeaf1007ff921bc321333a42fe2b4
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Apr 8 20:24:58 2016 +0200

    nvc0: expose GLSL version 420 on GK104
    
    Other chipsets will be added later.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e367ed4805c460a81e9307799f7c8e34b70f16c
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Jan 8 23:06:25 2016 -0500

    nvc0: enable ARB_shader_image_load_store on GK104
    
    This exposes 8 images for all shader types.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d64d39e8188c797bc4f4bc7603cff6478972ae3
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Sat Apr 9 20:32:25 2016 +0200

    nvc0: inform users that 3D images are not fully supported
    
    3D images are a bit more complicated to implement and will probably
    requires a bunch of headaches and we don't care for now because they
    do not seem to be really used by apps.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fdbb476829943095d0667e43cea2dbb96046ddb3
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Apr 11 16:58:57 2016 +0200

    nvc0: reduce GL_MAX_3D_TEXTURE_SIZE to 2048 on Kepler+
    
    The blob sets it to 2048 and using 4096 reports an INVALID_DATA error
    with RT_ARRAY_MODE when z is 4096. Suggested by Ilia Mirkin.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fc6d548ed66caf4395190718163d964d9c0fe25
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Apr 25 23:13:00 2016 +0200

    nvc0/ir: check that the image format doesn't mismatch
    
    This re-uses NVE4_SU_INFO_CALL which is not used anymore because we
    don't use our lib for format conversions. While we are at it, add a
    todo for image buffers because there are some robustness-related
    issues to fix.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbeb69757c769f594d5f9340adf067a300eddc1d
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Apr 12 17:12:00 2016 +0200

    nvc0/ir: prevent out of bounds when no images are bound
    
    Checking if the image address is not 0 should be enough to prevent
    read faults. To improve robustness, make sure that the destination
    value of atomic operations is correctly initialized in case the
    instruction is not performed.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ba57144830f5ab9dc8044d3a6fc59dfe16f0dd2
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Apr 6 17:15:35 2016 +0200

    nvc0/ir: add indirect support for images on Kepler
    
    This fixes arb_shader_image_load_store-indexing and
    arb_shader_image_load_store-max-images.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b540db44cd9adadd98d98d184ad9fe5afc4f1ac
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Apr 5 12:48:32 2016 +0200

    nvc0/ir: fix 1D arrays images for Kepler
    
    For 1D arrays, the array index is stored in the Z component.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e478156ed7b57724fd189efd5c4ac42e769f6d04
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Sat Apr 2 12:58:46 2016 +0200

    nvc0/ir: fix cube images for Kepler
    
    Like 2d array images, the z-dimension needs to be clamped.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ce80f924d07648040ab08a9cd30588621fb47a1
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Apr 5 16:00:56 2016 +0200

    nv50/ir: add support for SULDP -> SULDB conversion
    
    This will allow to convert surface formats without adding an extra
    call to our lib.
    
    [hakzsam: make use of this for GK104]
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d64ea4e48e1da072cae51df11bfbef7d6a432cb0
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Sat Apr 9 17:10:30 2016 +0200

    nv50/ir: make use of OP_SUQ for surfaces query
    
    This implements RESQ for surfaces which comes from imageSize() GLSL
    bultin. As the dimensions are sticked into the driver constant buffer,
    this only has to be lowered with loads.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu> (v2)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c47db359e193f21be796df3a7b5d037dd42b28f
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Sat Apr 9 17:08:56 2016 +0200

    nv50/ir: add OP_BUFQ for buffers query
    
    TGSI RESQ allows both images and buffers but we have to make a
    distinction between these two type of resources in our lowering pass.
    Introducing OP_BUFQ which is a fake operand will allow to implement
    OP_SUQ for surfaces.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e09434047d67f8b988b1e607cf3ea3d7124ad905
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Sun Mar 27 22:47:37 2016 +0200

    nv50/ir: enable early fragment test with explicit user control
    
    This feature can be enabled in two ways: as an optimization and by
    explicit user control (with OpenGL 4.2 or ARB_shader_image_load_store).
    
    This makes use of the recent TGSI_PROPERTY_FS_EARLY_DEPTH_STENCIL to
    force early fragment tests when needed.
    
    This fixes a bunch of
    dEQP-GLES31.functional.image_load_store.early_fragment_tests.* tests.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=08f4faa542452a3dbdcc3fd960e75ec043b10390
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Apr 5 12:39:12 2016 +0200

    nvc0/ir: fix constraints for OP_SUSTx on Kepler
    
    Destination type is actually always 32-bits, so typeSizeof() returns 4
    and no sources are condensed.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=119d087758c9796dfcac606bee8ebfcb3976f2ac
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Apr 5 15:22:00 2016 +0200

    nv50/ir: re-introduce TGSI lowering pass for images
    
    This is loosely based on the previous lowering pass wrote by calim
    four years ago. I did clean the code and fixed some issues.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=76ea143c38de47c994fa1f256c7db94fd934d8d7
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Sat Jan 9 01:38:08 2016 -0500

    nv50/ir: add support for TGSI image declarations
    
    Old and dead resource code will be removed once images are completely
    done. Based on original patch by Ilia Mirkin.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fb3cd24893a03a65995aca9fd741904c166eb8d
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Sun Apr 3 19:08:20 2016 +0200

    nvc0: add missing glMemoryBarrier bits
    
    This fixes a bunch of subtests of
    arb_shader_image_load_store-host-mem-barrier.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bc18a48f3b5f311fd46946cac1efefac0de1f46
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Apr 6 16:19:37 2016 +0200

    nvc0: enable RGB10_A2UI format on GK104
    
    No clue why this was not enabled by default before, maybe because
    the SULDP conversion was wrong. Anyway, this helps in fixing all
    rgb10_a2ui piglit tests.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da8171dc7580db75d65e0f89e1c20ee45c3ef3e7
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Sat Apr 9 20:15:13 2016 +0200

    nvc0: shift address with blocksize for image buffers
    
    This fixes a bunch of dEQP image buffers related tests.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=285f2edd14f82538d27f4df76055a3f154da3b29
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Sat Apr 9 20:31:45 2016 +0200

    nvc0: fix address offset when images have multiple levels
    
    This fixes arb_shader_image_load_store-level.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e28f247e249946d8c311b359d83ce34fd29e4a67
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Apr 5 13:53:56 2016 +0200

    nvc0: bind images on 3D shaders for Kepler
    
    Similar to surfaces validation for compute shaders.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1eca4c51a2c3fcaf4e39e5bad8eefcea547530fa
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Apr 8 00:56:54 2016 +0200

    nvc0: bind images on compute shaders for Kepler
    
    Old surfaces validation code will be removed once images are completely
    done for Fermi/Kepler, that explains why I only disable it for now.
    
    This also introduces nvc0_get_surface_dims() which computes correct
    dimensions regarding the given target.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6b3c346d15b834d17c97aa4a45714c18f219351
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Mar 22 18:00:09 2016 +0100

    nvc0: reserve an area for surfaces info in the driver constbuf
    
    To process surfaces coordinates from the codegen part, and because
    some information like the format is not always available (eg. when
    writeonly is used), we have to stick some surfaces data in the
    driver constbuf. This is especially true for OpenCL because we don't
    know the format at shader compile time.
    
    This bumps the size of each shader area from 1K to 2K.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=afa04785fade4ed032a621db13e0a03505afa7ee
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Mar 18 11:11:24 2016 +0100

    nvc0: add preliminary support for images
    
    This implements set_shader_images() and resource invalidation for
    images. As OpenGL requires at least 8 images, we are going to expose
    this minimum value even if this might be raised for Kepler, but this
    limit is mainly for Fermi because the hardware only accepts 8 images.
    
    Based on original patch by Ilia Mirkin.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c62b1b92f7da2563511581a2a74048334585da27
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Apr 26 18:14:05 2016 +0200

    gk110/ir: add emission for (a OP b) OP c
    
    This is pretty similar to NVC0 except that offsets have changed.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3da8528846773e936850b51ae7d6287758c45b7b
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Apr 26 18:12:59 2016 +0200

    nvc0/ir: fix wrong emission of (a OP b) OP c
    
    The third source must be emitted at offset 49 instead of 17 and the
    not modifier is at 52 instead of 20. If you look a bit above in
    emitLogicOp() you will see that the dest is emitted at 17 which
    confirms that src(2) is obviously wrong.
    
    Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
    Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>




More information about the mesa-commit mailing list