[Xquartz-changes] mesa: Changes to 'refs/tags/mesa_7_5_rc4'

Jeremy Huddleston jeremyhu at freedesktop.org
Thu Jan 1 01:06:46 PST 2015


Tag 'mesa_7_5_rc4' created by Brian Paul <brianp at vmware.com> at 2009-06-26 23:59 -0700

Mesa 7.5 release candidate 4

Changes since mesa_7_5_rc3:
Brian Paul (89):
      mesa: EXT_vertex_array_bgra fixes
      mesa: bump MAX_PROGRAM_ENV_PARAMS from 128 to 256
      mesa: better error message for invalid texture unit index
      st/mesa: remove invalid assertion
      glsl: Fix preprocessor define argument parsing for dead sections.
      st/mesa: fix incorrect bufObj Length assignment, remove unneeded assertion
      glsl: Expand nested preprocessor macros.
      docs: document GLSL preprocessor fixes
      mesa: disable texture unit error check in _mesa_MatrixMode()
      glsl: Fix symbol replacement handling in preprocessor.
      swrast: fix state validation bug for changing program constants
      glsl: Handle continuation characters in preprocessor.
      glsl: fix warnings, update comments, s/TRUE/GL_TRUE/
      vbo: fix assertion, #define IMM_BUFFER_NAME
      st/mesa: fix typo s/BFC0/BFC1/
      mesa: add default function for ctx->Driver.CheckQuery() hook
      mesa: rework vertex shader output / fragment shader input attribute matching
      util: additional function pointers
      demos: update fbotexture.c to use EXT or ARB functions exclusively
      mesa: fix REMAINDER() macro
      mesa: fix incorrect viewport clamping in _mesa_set_viewport()
      softpipe: fix out of bounds quad rasterization bug
      i965: fix bugs in projective texture coordinates
      GLX: attempt to fix glean makeCurrent test cases.
      st/glx: added null ptr check in Fake_glXCreatePixmap()
      mesa: added null ptr check in Fake_glXCreatePixmap()
      mesa: rework viewport/scissor initialization code
      intel: remove extra \n from warning string
      softpipe: return alpha=1 in shadow_compare() function
      mesa: create/use a fallback texture when bound texture is incomplete
      vbo: return VP_NONE from get_program_mode() if running fixed-func vertex program
      mesa: fix some potential state-restore issues in pop_texture_group()
      mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS
      mesa: rename MAX_VERTEX_ATTRIBS to MAX_VERTEX_GENERIC_ATTRIBS
      mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS/ in NV funcs
      i965: added intelFlush() call in intel_get_tex_image()
      demos: fix issues in glxcontexts.c
      docs: updated Mesa release instructions
      glsl: Added gl_shader_state::EmitContReturn field
      Revert "slang: if/else/break & if/else/continue work for unrolled loops"
      glsl: don't unroll loops containing continue/break
      demos: improve argv parsing in fslight.c
      glsl: added slang_assemble_ctx::EmitContReturn field, init
      glsl: added slang_operation_add_children() and slang_oper_child() helpers
      glsl: implement continue->break transformation for for-loops
      glsl: remove debug code, misc clean-up
      glsl: don't allocate 0-length children array in slang_operation_copy()
      glsl: added slang_operation_literal_int/bool() helper functions
      glsl: implement continue->break translation for do-while loops
      glsl: use new _slang_loop_contains_continue() helper function
      glsl: use _slang_loop_contains_continue_or_break() to check for unrolling
      glsl: added slang_oper_child_const()
      glsl: fix a bug involving 'continue' in 'for' loops
      glsl: implement _slang_gen_while_without_continue()
      st/mesa: query PIPE_CAP_TGSI_CONT_SUPPORTED
      glsl: remove obsolete comment
      glsl: use slang_generate_declaration() to consolidate some code
      glsl: added slang_operation_insert_child()
      glsl: check-point: declare _returnFlag
      glsl: added slang_oper_num_children() helper
      glsl: added slang_operation_free_children()
      glsl: fix uninitialized var in _slang_gen_for_without_continue()
      glsl: fix up scoping for parent/children in slang_operation_copy()
      glsl: checkpoint: replace 'return' with __returnFlag=true;
      glsl: add comments
      glsl: use new helper functions in _slang_gen_logical_and/or()
      glsl: checkpoint: predicate __retVal = expr with __returnFlag
      glsl: remove test for loop unrolling when we hit conditional cont/break
      glsl: rework loop nesting code
      glsl: comments, field reordering
      glsl: fix assorted regressions related to early-return-removal
      glsl: code refactoring for return statements
      glsl: silence a problem warning
      glsl: added slang_variable::is_global field
      glsl: predicate assignments according to __returnFlag
      glsl: overhaul 'return' statement handling
      glsl: move/simplify error checking for 'return' statements
      gallium: added PIPE_CAP_TGSI_CONT_SUPPORTED
      softpipe: PIPE_CAP_TGSI_CONT_SUPPORTED query
      cell: PIPE_CAP_TGSI_CONT_SUPPORTED query
      docs: document for/continue bug fix
      mesa: bump version to 7.5-rc4
      mesa: raise MAX_VARYING (number of shader varying vars) to 16
      docs: increase max varying vars to 16
      docs: bring in 7.4.3 and 7.4.4 release notes, news
      docs: bring over news updates from 7.4 branch
      docs: fix typos, remove old text from relnotes file
      glsl: check number of varying variables against the limit
      docs: detect when too many varying vars are used

Eric Anholt (16):
      intel: Map write-only buffer objects through the GTT when possible.
      intel: Skip the DRI2 renderbuffer update when doing Viewport on an FBO.
      intel: Use GL_FRONT_AND_BACK for stencil clearing.
      intel: Use FRONT_AND_BACK for StencilOp as well.
      i965: Fix register allocation of GLSL fp inputs.
      i965: Fix varying payload reg assignment for the non-GLSL-instructions path.
      i915: Only use the new 945 cube layout for compressed textures.
      i915: Use Stencil.Enabled instead of Stencil._Enabled in DrawBuffers.
      mesa: Mark FBOs with compressed color attachments as FBO-incomplete.
      intel: Don't complain on falling back from PBO fastpaths.
      i956: Make state dependency of SF on drawbuffer bounds match Mesa's.
      i915: Restore the Viewport and DepthRange functions on 8xx.
      i915: Fall back on NPOT textured metaops on 830-class.
      i915: Don't put VBOs in graphics memory unless required for an operation.
      intel: Fix glClear behavior versus display lists.
      intel: Fix other metaops versus GL_COMPILE_AND_EXECUTE dlists.

Ian Romanick (2):
      Fast path when rebinding the same texture in single context environment
      intel / DRI2: Additional flush of fake front-buffer to real front-buffer

Jakob Bornecrantz (5):
      progs/tests: Add some scissor tests
      stw: If stfb not set don't call into mesa
      pipebuffer: Silence out of heap space debug print
      mesa: Only do read write when we don't have a depth value to write
      mesa: Enable uploads of only depth to z24s8 textures

Jon TURNEY (1):
      Cygwin build fixes

José Fonseca (53):
      Revert "scons: Less aggressive optimizations for MSVC 64bit compiler."
      mesa: Allocate tokens from the heap.
      mesa: Use matching signedness for the counter as upper bound.
      gallium: Shorthand functions for computing stride and sizes for a rect.
      mesa: Pure software accum buffer.
      mesa: Single precision constants.
      util: Single precision constants.
      mesa: Fix draw_stencil_pixels for PIPE_FORMAT_Z24S8_UNORM.
      mesa: Fix typo in bitmask.
      mesa: Reverse s8z24 into z24s8 as required by EXT_packed_depth_stencil.
      meas: Use a read/write transfer when writing stencil component, but not touching the depth component.
      mesa: Take the format from the right structure.
      progs: Port fp programs to GLEW.
      python/tests: Test sampling from a depth texture.
      mesa: Remove dead code.
      mesa: Use PIPE_TEXTURE_USAGE_DEPTH_STENCIL for any depth or stencil format.
      gallium: New pf_is_depth_and_stencil / pf_is_depth_or_stencil inlines.
      mesa: Use new pf_is_depth_and_stencil inline.
      wgl: Fix prototype.
      python/retrace: Interpret is_texture_referenced/is_buffer_referenced.
      python/retrace: Show the contents of the depth/stencil and surfaces before/after transfers.
      progs/tests: Use opaque colors.
      softpipe: Fix softpipe_is_texture_referenced.
      gallium: Ensure assert macro is defined before being used in p_thread.h
      rtasm: Use 32bit constant.
      mesa: Use integer type with appropriate sign.
      mesa: Use type modifier for float constants.
      mesa: Use appropriate float/integer types.
      mesa: Always return a value.
      python/tests: Cleanup texture_sample.
      python/tests: Add is_depth_stencil_format utility function.
      progs/wgl: Fix assertion failure in wglthreads' texture creation.
      progs/wgl: Use appropriate types to silence msvc warnings.
      progs/wgl: Quit after displaying usage for -h option.
      gallium: Avoid atomic ops / locking when src is dst.
      progs/wgl: Allow resizing wglthreads' windows.
      wgl: Factor out some repetitive code into inline functions.
      docs: Document building with SCons.
      scons: Debug build by default.
      progs/wgl: Get wglShareLists working in wglthreads.
      progs/wgl: Tweak the initialization wait in wglthreads.
      progs/wgl: Fix shreadtex_mt too.
      Revert "scons: Debug build by default."
      wgl: Move all thread related code together.
      wgl: Fix window resizing in multithread applications.
      pipebuffer: Use a type consistently for sizes/offsets.
      trace: Use size_t consistently.
      draw: Replace pointer arithmetic with cast.
      util: Add cast.
      scons: Output the friendly "Linking ..." message when creating DLLs with MinGW.
      wgl: Handle flush after a window is destroyed.
      scons: Don't use C specific options with g++
      scons: Tool to build with DirectX SDK.

Keith Whitwell (7):
      mesa/vbo: drop all references to vbo on destroy
      stw: ignore swapbuffer requests on singlebuffer
      mesa/st: fix tracking of mapped buffer ranges
      mesa: protect Elements against multiple definitions
      glew: correct misspelling of glFramebufferTextureLayer
      aux/indices: don't use 'prim' value once it is known to be bad
      tgsi: correct handling of return value from util_vsnprintf

Michel Dänzer (3):
      Always free image offsets memory when re-initializing texture image fields.
      Also release direct rendering resources in glXDestroyGLXPixmap.
      intel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL.

Owen W. Taylor (1):
      Disable SGI_swap_control extension for DRI2

Robert Ellison (3):
      i965: fix segfault on low memory conditions
      i965: send all warnings through _mesa_warning()
      i965: fix 1D texture borders with GL_CLAMP_TO_BORDER

Roland Scheidegger (2):
      radeons: use dp4 for position invariant vertex programs
      i965: handle OPCODE_SWZ in the glsl path

Shuang He (1):
      intel: Release fb backing regions in intelDestroyBuffer()

Thomas Hellstrom (2):
      gallium: Fix segfault and valgrind error introduced with commit 3f2e006b759705abd7c409d30f9aeb1f2a75b83f
      dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for depth- and stencil renderbuffers.

---
 Makefile                                                  |    2 
 bin/mklib                                                 |   19 
 configure.ac                                              |    5 
 docs/devinfo.html                                         |   40 
 docs/install.html                                         |   52 
 docs/news.html                                            |   15 
 docs/relnotes-7.4.3.html                                  |   79 
 docs/relnotes-7.4.4.html                                  |   68 
 docs/relnotes-7.5.html                                    |    4 
 docs/relnotes.html                                        |    9 
 include/GL/glew.h                                         |    6 
 progs/demos/Makefile                                      |    7 
 progs/demos/fbotexture.c                                  |  108 -
 progs/demos/fslight.c                                     |    8 
 progs/fp/SConscript                                       |   19 
 progs/fp/fp-tri.c                                         |    2 
 progs/fp/point-position.c                                 |    7 
 progs/fp/tri-depth.c                                      |    9 
 progs/fp/tri-depth2.c                                     |    7 
 progs/fp/tri-depthwrite.c                                 |    6 
 progs/fp/tri-depthwrite2.c                                |    6 
 progs/fp/tri-inv.c                                        |    6 
 progs/fp/tri-param.c                                      |    8 
 progs/fp/tri-tex.c                                        |    6 
 progs/tests/.gitignore                                    |    2 
 progs/tests/Makefile                                      |    2 
 progs/tests/SConscript                                    |    2 
 progs/tests/scissor-viewport.c                            |  138 +
 progs/tests/scissor.c                                     |  168 +
 progs/tests/zreaddraw.c                                   |    4 
 progs/util/extfuncs.h                                     |  101 +
 progs/wgl/sharedtex_mt/sharedtex_mt.c                     |   30 
 progs/wgl/wglthreads/wglthreads.c                         |   64 
 progs/xdemos/glxcontexts.c                                |  160 -
 scons/crossmingw.py                                       |    2 
 scons/dxsdk.py                                            |   66 
 scons/gallium.py                                          |   62 
 scons/generic.py                                          |    8 
 src/gallium/auxiliary/draw/draw_pt_elts.c                 |    3 
 src/gallium/auxiliary/indices/u_indices.c                 |    2 
 src/gallium/auxiliary/pipebuffer/pb_buffer.h              |   14 
 src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c       |    6 
 src/gallium/auxiliary/pipebuffer/pb_buffer_malloc.c       |    6 
 src/gallium/auxiliary/pipebuffer/pb_bufmgr.h              |   20 
 src/gallium/auxiliary/pipebuffer/pb_bufmgr_alt.c          |    2 
 src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c        |    8 
 src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c        |   30 
 src/gallium/auxiliary/pipebuffer/pb_bufmgr_fenced.c       |    2 
 src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c           |   26 
 src/gallium/auxiliary/pipebuffer/pb_bufmgr_ondemand.c     |    6 
 src/gallium/auxiliary/pipebuffer/pb_bufmgr_pool.c         |   20 
 src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c         |   36 
 src/gallium/auxiliary/rtasm/rtasm_ppc.c                   |    6 
 src/gallium/auxiliary/tgsi/tgsi_dump.c                    |   18 
 src/gallium/auxiliary/util/u_gen_mipmap.c                 |    2 
 src/gallium/auxiliary/util/u_snprintf.c                   |    2 
 src/gallium/drivers/cell/ppu/cell_screen.c                |    2 
 src/gallium/drivers/softpipe/sp_context.c                 |   16 
 src/gallium/drivers/softpipe/sp_context.h                 |    2 
 src/gallium/drivers/softpipe/sp_draw_arrays.c             |    2 
 src/gallium/drivers/softpipe/sp_flush.c                   |    2 
 src/gallium/drivers/softpipe/sp_screen.c                  |    2 
 src/gallium/drivers/softpipe/sp_setup.c                   |    9 
 src/gallium/drivers/softpipe/sp_tex_sample.c              |    2 
 src/gallium/drivers/trace/tr_dump.c                       |    4 
 src/gallium/drivers/trace/tr_dump.h                       |    6 
 src/gallium/include/pipe/p_defines.h                      |    1 
 src/gallium/include/pipe/p_format.h                       |   28 
 src/gallium/include/pipe/p_refcnt.h                       |   28 
 src/gallium/include/pipe/p_thread.h                       |    1 
 src/gallium/state_trackers/dri/dri_drawable.c             |    2 
 src/gallium/state_trackers/glx/xlib/fakeglx.c             |    2 
 src/gallium/state_trackers/python/retrace/interpreter.py  |   46 
 src/gallium/state_trackers/python/tests/base.py           |    8 
 src/gallium/state_trackers/python/tests/texture_sample.py |  243 ++
 src/gallium/state_trackers/wgl/shared/stw_context.c       |   82 
 src/gallium/state_trackers/wgl/shared/stw_device.c        |   42 
 src/gallium/state_trackers/wgl/shared/stw_framebuffer.c   |  144 -
 src/gallium/state_trackers/wgl/shared/stw_framebuffer.h   |   13 
 src/gallium/state_trackers/wgl/shared/stw_tls.c           |   33 
 src/gallium/state_trackers/wgl/shared/stw_tls.h           |    6 
 src/glew/glew.c                                           |    4 
 src/glew/glewinfo.c                                       |    2 
 src/glx/x11/dri_common.c                                  |    4 
 src/glx/x11/glxcmds.c                                     |   14 
 src/glx/x11/glxcurrent.c                                  |    2 
 src/mesa/drivers/common/driverfuncs.c                     |    1 
 src/mesa/drivers/dri/common/dri_util.c                    |    6 
 src/mesa/drivers/dri/i915/i830_state.c                    |   21 
 src/mesa/drivers/dri/i915/i915_tex_layout.c               |    5 
 src/mesa/drivers/dri/i965/brw_context.h                   |    5 
 src/mesa/drivers/dri/i965/brw_sf_state.c                  |    7 
 src/mesa/drivers/dri/i965/brw_vs_constval.c               |   44 
 src/mesa/drivers/dri/i965/brw_wm.c                        |   14 
 src/mesa/drivers/dri/i965/brw_wm.h                        |    3 
 src/mesa/drivers/dri/i965/brw_wm_fp.c                     |   21 
 src/mesa/drivers/dri/i965/brw_wm_glsl.c                   |   32 
 src/mesa/drivers/dri/i965/brw_wm_pass2.c                  |   21 
 src/mesa/drivers/dri/i965/brw_wm_sampler_state.c          |   10 
 src/mesa/drivers/dri/intel/intel_buffer_objects.c         |   55 
 src/mesa/drivers/dri/intel/intel_buffer_objects.h         |    3 
 src/mesa/drivers/dri/intel/intel_buffers.c                |    2 
 src/mesa/drivers/dri/intel/intel_clear.c                  |    8 
 src/mesa/drivers/dri/intel/intel_context.c                |   13 
 src/mesa/drivers/dri/intel/intel_context.h                |    6 
 src/mesa/drivers/dri/intel/intel_pixel_bitmap.c           |   10 
 src/mesa/drivers/dri/intel/intel_pixel_draw.c             |   22 
 src/mesa/drivers/dri/intel/intel_screen.c                 |   26 
 src/mesa/drivers/dri/intel/intel_tex_image.c              |   12 
 src/mesa/drivers/dri/r200/r200_context.c                  |    2 
 src/mesa/drivers/dri/r300/r300_context.c                  |    2 
 src/mesa/drivers/dri/radeon/radeon_context.c              |    2 
 src/mesa/drivers/x11/fakeglx.c                            |    2 
 src/mesa/main/api_noop.c                                  |   16 
 src/mesa/main/api_validate.c                              |    4 
 src/mesa/main/attrib.c                                    |   90 
 src/mesa/main/compiler.h                                  |    4 
 src/mesa/main/config.h                                    |    8 
 src/mesa/main/context.c                                   |   41 
 src/mesa/main/context.h                                   |    3 
 src/mesa/main/debug.c                                     |    2 
 src/mesa/main/dlist.c                                     |   40 
 src/mesa/main/enums.c                                     |   10 
 src/mesa/main/fbobject.c                                  |    5 
 src/mesa/main/image.c                                     |    2 
 src/mesa/main/macros.h                                    |   14 
 src/mesa/main/matrix.c                                    |   10 
 src/mesa/main/mipmap.c                                    |    3 
 src/mesa/main/mtypes.h                                    |    6 
 src/mesa/main/queryobj.c                                  |   16 
 src/mesa/main/queryobj.h                                  |    3 
 src/mesa/main/texenv.c                                    |    4 
 src/mesa/main/texenvprogram.c                             |    1 
 src/mesa/main/texformat_tmp.h                             |   28 
 src/mesa/main/texgetimage.c                               |    6 
 src/mesa/main/teximage.c                                  |    2 
 src/mesa/main/texobj.c                                    |   65 
 src/mesa/main/texobj.h                                    |    3 
 src/mesa/main/texstate.c                                  |    9 
 src/mesa/main/texstore.c                                  |   39 
 src/mesa/main/varray.c                                    |   29 
 src/mesa/main/version.h                                   |    2 
 src/mesa/main/viewport.c                                  |    4 
 src/mesa/shader/arbprogparse.c                            |    5 
 src/mesa/shader/shader_api.c                              |    1 
 src/mesa/shader/slang/slang_codegen.c                     | 1279 +++++++++++---
 src/mesa/shader/slang/slang_codegen.h                     |   17 
 src/mesa/shader/slang/slang_compile.c                     |    3 
 src/mesa/shader/slang/slang_compile_operation.c           |   68 
 src/mesa/shader/slang/slang_compile_operation.h           |   62 
 src/mesa/shader/slang/slang_compile_variable.h            |    1 
 src/mesa/shader/slang/slang_link.c                        |   21 
 src/mesa/shader/slang/slang_preprocess.c                  |   94 -
 src/mesa/shader/slang/slang_print.c                       |   10 
 src/mesa/state_tracker/st_atom_shader.c                   |   57 
 src/mesa/state_tracker/st_cb_accum.c                      |  244 +-
 src/mesa/state_tracker/st_cb_bufferobjects.c              |    5 
 src/mesa/state_tracker/st_cb_clear.c                      |   18 
 src/mesa/state_tracker/st_cb_drawpixels.c                 |   30 
 src/mesa/state_tracker/st_cb_fbo.c                        |  147 -
 src/mesa/state_tracker/st_cb_fbo.h                        |   13 
 src/mesa/state_tracker/st_cb_readpixels.c                 |   13 
 src/mesa/state_tracker/st_context.c                       |   15 
 src/mesa/state_tracker/st_extensions.c                    |    5 
 src/mesa/state_tracker/st_format.c                        |   14 
 src/mesa/state_tracker/st_format.h                        |    4 
 src/mesa/state_tracker/st_framebuffer.c                   |   28 
 src/mesa/state_tracker/st_gen_mipmap.c                    |    3 
 src/mesa/state_tracker/st_program.c                       |   43 
 src/mesa/swrast/s_context.c                               |    1 
 src/mesa/swrast/s_texfilter.c                             |    2 
 src/mesa/vbo/vbo_attrib_tmp.h                             |   16 
 src/mesa/vbo/vbo_context.h                                |    2 
 src/mesa/vbo/vbo_exec_api.c                               |   36 
 src/mesa/vbo/vbo_exec_array.c                             |    4 
 175 files changed, 3935 insertions(+), 1418 deletions(-)
---


More information about the Xquartz-changes mailing list