Permalink
Commits on Jul 29, 2014
  1. glsl_to_tgsi: fix comment

    committed Jul 10, 2014
  2. glsl_to_tgsi: remove unnecessary includes

    These two includes were left over from ir_to_mesa and deal with Mesa IR.
    committed Jul 10, 2014
  3. os_process.c: Add cygwin as an expected platform

    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>
    yselkowitz committed with jon-turney Jul 24, 2014
  4. xmlconfig: Use program_invocation_short_name when building for cygwin

    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>
    yselkowitz committed with jon-turney Jul 24, 2014
  5. docs: fix date typo: July 78 -> 18

    Brian Paul committed Jul 29, 2014
  6. svga: remove unneeded depth==1 assertion in svga_texture_view_surface()

    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>
    Brian Paul committed Jul 15, 2014
  7. st/wgl: Clamp wglChoosePixelFormatARB's output nNumFormats to nMaxFor…

    …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>
    jrfonseca committed Jul 24, 2014
  8. gallium/radeon: Add some Emacs .dir-locals.el files

    Based on the toplevel one but adapted to the driver/winsys coding styles.
    
    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    Michel Dänzer committed with Michel Dänzer Jul 28, 2014
  9. ilo: fix fb height of HiZ ops

    It was set to aligned width.  It appears to be fine on GEN7+, but causes
    random hangs on GEN6.
    olvaffe committed Jul 29, 2014
Commits on Jul 28, 2014
  1. glapi: add indexed blend functions (GL 4.0)

    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
    tpalli committed with kaydenl Jul 25, 2014
  2. r600g,radeonsi: switch all occurences of array_size to util_max_layer

    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>
    Marek Olšák committed Jul 26, 2014
  3. radeonsi: fix occlusion queries on Hawaii

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

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

    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>
    Marek Olšák committed Jul 26, 2014
  6. radeonsi: fix a hang with instancing on Hawaii

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

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

    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>
    Marek Olšák committed Jul 25, 2014
  9. r600g,radeonsi: add debug flags which disable tiling

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

    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])
    Marek Olšák committed Jul 24, 2014
  11. r600g: switch SNORM conversion to DX and GLES behavior

    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
    Marek Olšák committed Jul 23, 2014
  12. util: Fix typo

    Spotted by okias on IRC.
    tstellarAMD committed Jul 28, 2014
  13. ilo: correctly propagate resource renames to hardware

    Not only should we mark states dirty when the underlying resource is renamed,
    we should also update the CSO bo when available.
    olvaffe committed Jul 28, 2014
  14. ilo: add ilo_resource_get_bo() helper

    We will need it in the following commit.
    olvaffe committed Jul 28, 2014
  15. radeonsi: Use util_memcpy_cpu_to_le32()

    Reviewed-by: Marek Olšák <marek.olsak@amd.com>
    tstellarAMD committed Jul 18, 2014
  16. util: Add util_memcpy_cpu_to_le32() v3

    v2:
      - Preserve word boundaries.
    
    v3:
      - Use const and restrict.
      - Fix indentation.
    
    Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
    tstellarAMD committed Jul 18, 2014
  17. clover: Add checks for image support to the image functions v2

    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>
    tstellarAMD committed Jul 25, 2014
  18. r600g/compute: Add debug information to promote and demote functions

    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>
    Noxbru committed with tstellarAMD Jul 27, 2014
  19. r600g/compute: Add documentation to compute_memory_pool

    v2: Rebased on top of master
    
    Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
    Noxbru committed with tstellarAMD Jul 27, 2014
  20. ilo: unblock an inline write with a staging bo

    This should allow a deeper pipeline.
    olvaffe committed Jul 28, 2014
  21. ilo: try unblocking a transfer with a staging bo

    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.
    olvaffe committed Jul 28, 2014
  22. ilo: enable persistent and coherent transfers

    Enable PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT and reorder caps a bit.
    olvaffe committed Jul 28, 2014
  23. ilo: drop ptr from ilo_transfer

    With the recent clean-ups, we can pass the mapped pointer around between
    functions cleanly.  Drop it to make ilo_transfer smaller.
    olvaffe committed Jul 28, 2014
  24. ilo: s/TRANSFER_MAP_UNSYNC/TRANSFER_MAP_GTT_UNSYNC/

    It maps to drm_intel_gem_bo_map_unsynchronized(), which results in
    unsynchronized GTT mapping.
    olvaffe committed Jul 28, 2014
  25. ilo: drop unused context param from transfer functions

    Many of the transfer functions do not need an ilo_context.  Drop it.
    olvaffe committed Jul 28, 2014
  26. ilo: tidy up transfer mapping/unmapping

    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.
    olvaffe committed Jul 28, 2014