Permalink
Switch branches/tags
Commits on Aug 16, 2012
  1. glsl: remove debug printf

    committed Aug 16, 2012
  2. glsl: improve generation of geometry builtin variables

    Now the geometry shader builtin generation is structured the same way as the
    equivalent code for vertex and fragment shaders, and the right builtins are
    generated for each GLSL version.
    committed Aug 16, 2012
Commits on Aug 10, 2012
Commits on Aug 9, 2012
  1. glsl: add parser support for two-dimensional arrays in geometry shaders

    Also fixes various things related to 2D arrays, so they are working fully
    now.
    committed Aug 9, 2012
  2. glsl: set the flags for ARB_geometry_shader4 when the EXT version is …

    …used
    
    Since there is no difference in functionality between GL_EXT_geometry_shader4
    and GL_ARB_geometry_shader4, using one flag for both will simplify code that
    needs to check whether one of the extensions is enabled.
    committed Aug 9, 2012
  3. draw: account for separate shader objects in geometry shader code

    The geometry shader code seems to have been originally written with the
    assumptions that there are the same number of VS outputs as GS outputs and
    that VS outputs are in the same order as their corresponding GS inputs. Since
    TGSI uses separate shader objects, these are both wrong assumptions. This
    was causing several valid vertex/geometry shader combinations to either render
    incorrectly or trigger an assertion.
    committed Aug 9, 2012
Commits on Aug 2, 2012
Commits on Jul 31, 2012
  1. st/mesa: fix semantic indices of GS inputs and outputs

    Fixes the Mesa demos geom-outlining-130 and geom-stipple-lines.
    committed Jul 31, 2012
Commits on Jul 30, 2012
Commits on Jul 29, 2012
Commits on Jul 28, 2012
  1. glsl: add get_pipeline_stage to linker and use it in link_shaders

    Fixes segfault in glxgears, and should also make it easier to add new shader
    types such as tesselation shaders in the future.
    committed Jul 28, 2012
Commits on Jul 26, 2012
  1. glsl, mesa, st/mesa: add initial support for EXT/ARB_geometry_shader4

    With this commit, all of the Mesa demos using EXT_geometry_shader4 and
    ARB_geometry_shader4 work fully using softpipe.
    
    There are a few known issues and things that have not been done or finished
    yet, most of which are marked as "FINISHME" in the code.
    committed Jul 26, 2012
  2. draw/gs: fix allocation of buffer for GS output vertices

    Before, it accounted for the size of the vertices but not the other fields
    in the vertex_header struct, which caused memory corruption.
    committed Jul 26, 2012
Commits on Jul 17, 2012
  1. msaa: Generate proper error for operations prohibited on MSAA buffers.

    From the GL 3.0 spec, section 4.3.3, in the documentation for
    CopyPixels():
    
        "An INVALID_OPERATION error will be generated if the object bound
        to READ_FRAMEBUFFER_BINDING is framebuffer complete and the value
        of SAMPLE_BUFFERS is greater than zero."
    
    The same applies to CopyTexImage...() and CopyTexSubImage...()
    functions, since they are defined in terms of CopyPixels().
    
    Previously we were generating an INVALID_FRAMEBUFFER_OPERATION error
    in these cases.
    
    Fixes piglit tests
    "EXT_framebuffer_multisample/negative-{copypixels,copyteximage}".
    
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    stereotype441 committed Jul 16, 2012
  2. gallivm: silence uninitialized variable warnings

    Brian Paul committed Jul 17, 2012
  3. r600g: fix lockups with and enable dual source blending on evergreen

    GL_ARB_blend_func_extended is now enabled on all chipsets.
    marekolsak committed Jul 15, 2012
  4. r600g: convert sampler view emission into atoms

    Vertex and constant buffers are emitted in the same way.
    This is mainly a simplification of the code. The cleanup is in another patch.
    marekolsak committed Jul 14, 2012
  5. r600g: properly track which textures are depth

    This fixes the issue with have_depth_texture never being set to false.
    marekolsak committed Jul 14, 2012
  6. r600g: consolidate and optimize sampler states changes for evergreen

    Only set sampler states which changed.
    marekolsak committed Jul 14, 2012
  7. r600g: don't invalidate texture caches when setting sampler states

    Changing sampler states doesn't change resource bindings.
    marekolsak committed Jul 14, 2012
  8. r600g: consolidate code for setting sampler views and fix bugs in the…

    … process
    
    Issues fixed:
    
    - set_vs_sampler_views for evergreen is now properly implemented.
    
    - Added the missing inval_texture_cache call for evergreen.
    
    - have_depth_texture was sometimes incorrectly set to false on evergreen even
      if there were depth textures in other shader stages. To fix this, set it
      to true once and never set it to false again. It's stupid, but it matches
      the r600 code. The proper fix is left to another patch.
    
    - Optimizaton: The sampler views which aren't changed aren't updated.
    marekolsak committed Jul 14, 2012
  9. r600g: remove unused flag have_depth_fb

    This is a leftover from:
    
    commit fe1fd67
    Author: Marek Olšák <maraeo@gmail.com>
    Date:   Sun Jul 8 03:10:37 2012 +0200
    
        r600g: don't flush depth textures set as colorbuffers
    marekolsak committed Jul 14, 2012
  10. r600g: do fine-grained vertex buffer updates

    If only some buffers are changed, the other ones don't have to re-emitted.
    This uses bitmasks of enabled and dirty buffers just like
    emit_constant_buffers does.
    marekolsak committed Jul 6, 2012
  11. r600g: don't call inval_shader_cache in r600_context_flush twice

    It's already called in r600_constant_buffers_dirty.
    marekolsak committed Jul 14, 2012
  12. configure.ac: Further LLVM fixups.

    * Also add mcjit in the non-OpenCL case.
    * Replace hardcoded llvm-config with $LLVM_CONFIG everywhere.
    
    Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
    Reviewed-by: Tom Stellad <thomas.stellard@amd.com>
    Michel Dänzer committed with Michel Dänzer Jul 17, 2012