[Mesa-stable] [PULL REQUEST] Final fixes from Intel for 10.3

Ian Romanick idr at freedesktop.org
Fri Sep 12 17:17:06 PDT 2014


Any other fixes can wait for 10.3.1.

The following changes since commit 9f67c26d1b424b8f3d86b5435c8f74d0a81eb86d:

  configure.ac: strip _GNU_SOURCE from llvm-config output (2014-09-09 21:39:00 +0100)

are available in the git repository at:

  git://people.freedesktop.org/~idr/mesa 10.3-intel-fixes

for you to fetch changes up to 0f4dc098076cd6ccac6a117cabf3df0194558709:

  glsl: Speed up constant folding for swizzles. (2014-09-12 16:51:52 -0700)

----------------------------------------------------------------
Ian Romanick (7):
      mesa: Document SYSTEM_VALUE_VERTEX_ID and SYSTEM_VALUE_INSTANCE_ID
      mesa: Add SYSTEM_VALUE_VERTEX_ID_ZERO_BASE
      mesa: Add SYSTEM_VALUE_BASE_VERTEX
      glsl/linker: Make get_main_function_signature public
      glsl: Add a lowering pass for gl_VertexID
      i965: Handle SYSTEM_VALUE_VERTEX_ID_ZERO_BASE
      i965: Request lowering gl_VertexID

Kenneth Graunke (12):
      mesa: Replace string comparisons with SYSTEM_VALUE enum checks.
      mesa: Fix glGetActiveAttribute for gl_VertexID when lowered.
      i965: Calculate start/base_vertex_location after preparing vertices.
      i965: Make gl_BaseVertex available in a buffer object.
      i965: Refactor Gen4-7 VERTEX_BUFFER_STATE emission into a helper.
      i965: Expose gl_BaseVertex via a vertex attribute.
      i965: Fix reference counting in new basevertex upload code.
      i965: Separate gl_InstanceID and gl_VertexID uploading.
      i965: Disable guardband clipping in the smaller-than-viewport case.
      i965: Skip allocating UNIFORM file storage for uniforms of size 0.
      i965/vec4: Make type_size() return 0 for samplers.
      glsl: Speed up constant folding for swizzles.

Matt Turner (1):
      i965/vec4: Reswizzle sources when necessary.

 src/glsl/Makefile.sources                         |   1 +
 src/glsl/ir_optimization.h                        |   2 +
 src/glsl/linker.cpp                               |  12 +-
 src/glsl/linker.h                                 |   3 +
 src/glsl/lower_vertex_id.cpp                      | 144 ++++++++++++++++++++
 src/glsl/opt_constant_folding.cpp                 |   5 +
 src/mesa/drivers/dri/i965/brw_context.c           |   1 +
 src/mesa/drivers/dri/i965/brw_context.h           |  16 +++
 src/mesa/drivers/dri/i965/brw_draw.c              |  34 +++--
 src/mesa/drivers/dri/i965/brw_draw.h              |   2 +
 src/mesa/drivers/dri/i965/brw_draw_upload.c       | 158 ++++++++++++++++------
 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp      |   6 +-
 src/mesa/drivers/dri/i965/brw_state_upload.c      |   6 +-
 src/mesa/drivers/dri/i965/brw_vec4.cpp            |  34 +++--
 src/mesa/drivers/dri/i965/brw_vec4.h              |   4 +-
 src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp    |  12 +-
 src/mesa/drivers/dri/i965/brw_vec4_vs_visitor.cpp |  12 +-
 src/mesa/drivers/dri/i965/gen6_clip_state.c       |  31 +++++
 src/mesa/drivers/dri/i965/gen8_draw_upload.c      |  59 ++++++--
 src/mesa/main/context.c                           |   6 +
 src/mesa/main/mtypes.h                            |  91 +++++++++++++
 src/mesa/main/shader_query.cpp                    |  18 ++-
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp        |   2 +
 23 files changed, 560 insertions(+), 99 deletions(-)
 create mode 100644 src/glsl/lower_vertex_id.cpp


More information about the mesa-stable mailing list