Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Jul 29, 2014
  1. glsl_to_tgsi: fix comment

    authored
  2. glsl_to_tgsi: remove unnecessary includes

    authored
    These two includes were left over from ir_to_mesa and deal with Mesa IR.
  3. @jon-turney

    os_process.c: Add cygwin as an expected platform

    Yaakov Selkowitz authored jon-turney committed
    mesa/mesa/src/gallium/auxiliary/os/os_process.c:40:2: warning: #warning unexpected platform in os_process.c [-Wcpp]
     #warning unexpected platform in os_process.c
    mesa/mesa/src/gallium/auxiliary/os/os_process.c:77:2: warning: #warning unexpected platform in os_process.c [-Wcpp]
     #warning unexpected platform in os_process.c
    
    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
    Reviewed-by: Brian Paul <brianp@vmware.com>
  4. @jon-turney

    xmlconfig: Use program_invocation_short_name when building for cygwin

    Yaakov Selkowitz authored jon-turney committed
    mesa/mesa/src/mesa/drivers/dri/common/xmlconfig.c:104:10: warning: #warning "Per application configuration won't work with your OS version." [-Wcpp]
     #        warning "Per application configuration won't work with your OS version."
    
    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
    Reviewed-by: Brian Paul <brianp@vmware.com>
  5. docs: fix date typo: July 78 -> 18

    Brian Paul authored
  6. svga: remove unneeded depth==1 assertion in svga_texture_view_surface()

    Brian Paul authored
    We can create 3D texture views.  Avoids an assertion in piglit
    fbo-generatemipmap-3d test and allows it to pass.
    
    Reviewed-by: Charmaine Lee <charmainel@vmware.com>
  7. @jrfonseca

    st/wgl: Clamp wglChoosePixelFormatARB's output nNumFormats to nMaxFor…

    jrfonseca authored
    …mats.
    
    While running https://github.com/nvMcJohn/apitest with apitrace I noticed that Mesa was producing bogus results:
    
      wglChoosePixelFormatARB(hdc, piAttribIList = {...}, pfAttribFList = &0, nMaxFormats = 1, piFormats = {19, 65576, 37, 198656, 131075, 0, 402653184, 0, 0, 0, 0, -573575710}, nNumFormats = &12) = TRUE
    
    However https://www.opengl.org/registry/specs/ARB/wgl_pixel_format.txt states
    
        <nNumFormats> returns the number of matching formats. The returned
        value is guaranteed to be no larger than <nMaxFormats>.
    
    Cc: "10.2" <mesa-stable@lists.freedesktop.org>
    Reviewed-by: Brian Paul <brianp@vmware.com>
  8. gallium/radeon: Add some Emacs .dir-locals.el files

    Michel Dänzer authored Michel Dänzer committed
    Based on the toplevel one but adapted to the driver/winsys coding styles.
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
  9. @olvaffe

    ilo: fix fb height of HiZ ops

    olvaffe authored
    It was set to aligned width.  It appears to be fine on GEN7+, but causes
    random hangs on GEN6.
Commits on Jul 28, 2014
  1. @tpalli @kaydenl

    glapi: add indexed blend functions (GL 4.0)

    tpalli authored kaydenl committed
    This makes some of the UE4 engine demos (Stylized, Mobile Temple)
    render correctly, tested on Intel Haswell machine.
    
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
    Acked-by: Anuj Phogat <anuj.phogat@gmail.com>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78716
  2. r600g,radeonsi: switch all occurences of array_size to util_max_layer

    Marek Olšák authored
    This fixes 3D texture support in all these cases, because array_size is 1
    with 3D textures and depth0 actually contains the "array size".
    util_max_layer is universal and returns the last layer index for any texture
    target.
    
    A lot of the cases below can't actually be hit with 3D textures, but let's
    be consistent.
    
    This fixes a failure in:
        piglit layered-rendering/clear-color-all-types 3d single_level
    for r600g and radeonsi, which was caused by an incorrect CMASK size
    calculation.
    
    Cc: mesa-stable@lists.freedesktop.org
    Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
  3. radeonsi: fix occlusion queries on Hawaii

    Marek Olšák authored
    This was just a guess - and it worked!
    
    Cc: mesa-stable@lists.freedesktop.org
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
  4. winsys/radeon: fix vram_size overflow with Hawaii

    Marek Olšák authored
    This fixes piglit spec/!OpenGL 3.1/minmax.
    
    Cc: mesa-stable@lists.freedesktop.org
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
  5. radeonsi: fix a hang with streamout on Hawaii

    Marek Olšák authored
    I actually couldn't reproduce this one, but internal docs recommend this
    workaround. Better safe than sorry.
    
    Also, the number of dwords for the sync packets is increased by 4 instead
    of 2, because it wasn't bumped last time when a new packet was added there.
    
    Cc: mesa-stable@lists.freedesktop.org
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
  6. radeonsi: fix a hang with instancing on Hawaii

    Marek Olšák authored
    This fixes "piglit/bin/arb_transform_feedback2-draw-auto instanced".
    
    Cc: mesa-stable@lists.freedesktop.org
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
  7. gallium/util: add a helper for calculating primitive count from verte…

    Marek Olšák authored
    …x count
    
    This is needed by the following commit which is a candidate for stable too.
    
    Cc: mesa-stable@lists.freedesktop.org
  8. radeonsi: fix CMASK and HTILE calculations for Hawaii

    Marek Olšák authored
    This fixes the checkerboard pattern in glxgears and anything that triggers
    fast color clear.
    
    num_channels is always <= 8, but Hawaii has 16 pipes.
    
    Cc: mesa-stable@lists.freedesktop.org
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
  9. r600g,radeonsi: add debug flags which disable tiling

    Marek Olšák authored
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
  10. gallium: rename shader cap MAX_CONSTS to MAX_CONST_BUFFER_SIZE

    Marek Olšák authored
    This new name isn't so confusing.
    
    I also changed the gallivm limit, because it looked wrong.
    
    Reviewed-by: Brian Paul <brianp@vmware.com>
    
    v2: use sizeof(float[4])
  11. r600g: switch SNORM conversion to DX and GLES behavior

    Marek Olšák authored
    it also matches GL 4.2
    
    further discussion:
    http://lists.freedesktop.org/archives/mesa-dev/2013-August/042680.html
    
    Cc: mesa-stable@lists.freedesktop.org
  12. @tstellarAMD

    util: Fix typo

    tstellarAMD authored
    Spotted by okias on IRC.
  13. @olvaffe

    ilo: correctly propagate resource renames to hardware

    olvaffe authored
    Not only should we mark states dirty when the underlying resource is renamed,
    we should also update the CSO bo when available.
  14. @olvaffe

    ilo: add ilo_resource_get_bo() helper

    olvaffe authored
    We will need it in the following commit.
  15. @tstellarAMD

    radeonsi: Use util_memcpy_cpu_to_le32()

    tstellarAMD authored
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
  16. @tstellarAMD

    util: Add util_memcpy_cpu_to_le32() v3

    tstellarAMD authored
    v2:
      - Preserve word boundaries.
    
    v3:
      - Use const and restrict.
      - Fix indentation.
    
    Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
  17. @tstellarAMD

    clover: Add checks for image support to the image functions v2

    tstellarAMD authored
    Most image functions are required to return a CL_INVALID_OPERATION
    error when used on devices without image support.
    
    v2:
      - Simplified the code
    
    Reviewed-by: Francisco Jerez <currojerez@riseup.net>
  18. @Noxbru @tstellarAMD

    r600g/compute: Add debug information to promote and demote functions

    Noxbru authored tstellarAMD committed
    v2: Add information about the item's starting point and size
    v3: Rebased on top of master
    
    Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
  19. @Noxbru @tstellarAMD

    r600g/compute: Add documentation to compute_memory_pool

    Noxbru authored tstellarAMD committed
    v2: Rebased on top of master
    
    Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
  20. @olvaffe

    ilo: unblock an inline write with a staging bo

    olvaffe authored
    This should allow a deeper pipeline.
  21. @olvaffe

    ilo: try unblocking a transfer with a staging bo

    olvaffe authored
    When mapping a busy resource with PIPE_TRANSFER_DISCARD_RANGE or
    PIPE_TRANSFER_FLUSH_EXPLICIT, we can avoid blocking by allocating and mapping
    a staging bo, and emit pipelined copies at proper places.  Since the staging
    bo is never bound to GPU, we give it packed layout to save space.
  22. @olvaffe

    ilo: enable persistent and coherent transfers

    olvaffe authored
    Enable PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT and reorder caps a bit.
  23. @olvaffe

    ilo: drop ptr from ilo_transfer

    olvaffe authored
    With the recent clean-ups, we can pass the mapped pointer around between
    functions cleanly.  Drop it to make ilo_transfer smaller.
  24. @olvaffe

    ilo: s/TRANSFER_MAP_UNSYNC/TRANSFER_MAP_GTT_UNSYNC/

    olvaffe authored
    It maps to drm_intel_gem_bo_map_unsynchronized(), which results in
    unsynchronized GTT mapping.
  25. @olvaffe

    ilo: drop unused context param from transfer functions

    olvaffe authored
    Many of the transfer functions do not need an ilo_context.  Drop it.
  26. @olvaffe

    ilo: tidy up transfer mapping/unmapping

    olvaffe authored
    Add xfer_map() to replace map_bo_for_transfer().  Add xfer_unmap() and
    xfer_alloc_staging_sys() to simplify texture and buffer mapping/unmapping, and
    enable more code sharing between them.
Something went wrong with that request. Please try again.