Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: geometry-shade…

Oct 04, 2012

  1. Bryan Cain

    glsl: only allow "varying in" and "varying out" in geometry shaders

    authored

Aug 24, 2012

  1. Bryan Cain

    glsl: make lower_output_reads work for geometry shaders

    Also fix an optimization pass bug in glsl_to_tgsi that was revealed by
    enabling lower_output_reads, and re-enable the lower_output_reads pass
    unconditionally for all shaders.
    authored
  2. Bryan Cain

    glcpp: define extension macros for EXT/ARB_geometry_shader4

    authored

Aug 21, 2012

  1. Bryan Cain

    mesa: account for geometry shader texture fetches in update_texture_s…

    …tate
    
    Fixes texture fetches from geometry shaders.
    authored
  2. Bryan Cain

    st/mesa: fix build error introduced by rebase

    Also fix an unused variable warning.
    authored
  3. Bryan Cain

    draw: use geometry shader info in clip_init_state if appropriate

    authored
  4. Bryan Cain

    glsl: remove debug printf

    authored
  5. Bryan Cain

    glsl: emit linker errors for improperly declared or indexed GS input …

    …arrays
    authored
  6. Bryan Cain

    glsl: support redeclaration of 2D arrays with a size for the inner array

    authored
  7. Bryan Cain

    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.
    authored
  8. Bryan Cain

    glsl: lower gl_ClipDistanceIn to gl_ClipDistanceInMESA in lower_clip_…

    …distance
    authored
  9. Bryan Cain

    glsl: support geometry shader inputs with array size declared as gl_V…

    …erticesIn
    authored
  10. Bryan Cain

    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.
    authored
  11. Bryan Cain

    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.
    authored
  12. Bryan Cain

    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.
    authored
  13. Bryan Cain

    glsl: fix sizing of two-dimensional GS input arrays at link time (again)

    authored
  14. Bryan Cain

    glsl: fix sizing of GS input arrays at link time

    authored
  15. Bryan Cain

    glsl: add "varying in" and "varying out" qualifiers for geometry shaders

    authored
  16. Bryan Cain

    st/mesa: fix semantic indices of GS inputs and outputs

    Fixes the Mesa demos geom-outlining-130 and geom-stipple-lines.
    authored
  17. Bryan Cain

    glsl, glsl_to_tgsi: add support for indirect addressing of GS input a…

    …rrays
    authored
  18. Bryan Cain

    glsl: add helper functions to simplify code in linker

    authored
  19. Bryan Cain

    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.
    authored
  20. Bryan Cain

    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.
    authored
  21. Bryan Cain

    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.
    authored

Aug 20, 2012

  1. APIspec: Remove cruft about AMD_compressed_???_texture

    Mesa doesn't support these extensions, and it seems unlikely that it
    ever will
    
    Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Ian Romanick authored
  2. mesa/es: Remove redundant glFramebufferTexture3D textarget validation

    Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Ian Romanick authored
  3. mesa/es: Remove redundant glGetShaderiv pname validation

    Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Ian Romanick authored
  4. mesa/es: Remove redundant glCompressedTexImage border validation

    Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Ian Romanick authored
  5. mesa/es: Remove redundant glPointSizePointer type validation

    Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Ian Romanick authored
  6. mesa/es: Remove redundant glGetBufferPointer pname validation

    Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Ian Romanick authored
  7. mesa/es: Remove redundant glGetVertexAttribPointer pname validation

    Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Ian Romanick authored
  8. mesa/es: Remove redundant element type validation

    Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Ian Romanick authored
  9. mesa/es: Remove redundant glGetShaderPrecisionFormat shader type vali…

    …dation
    
    Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Ian Romanick authored
  10. mesa/es: Remove redundant depth func validation

    Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Ian Romanick authored
  11. mesa/es: Remove redundant stencil op fail/zfail/zpass validation

    Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Ian Romanick authored
Something went wrong with that request. Please try again.