Tag 'mesa-10.2' created by Ian Romanick <ian.d.roman...@intel.com> at 2014-06-07 03:41 +0000
Mesa 10.2 release -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iEYEABECAAYFAlOSieIACgkQX1gOwKyEAw/J5QCeNibFl+DUCeg+EOBmt6OxAykT VdcAoJ5Hr5M3bUJzcLo6B6rz0RrO9dXs =isug -----END PGP SIGNATURE----- Changes since 10.2-branchpoint: Anuj Phogat (2): meta: Refactor _mesa_meta_setup_blit_shader() to avoid duplicate shader code meta: Use gl_FragColor to output color values to all the draw buffers Beren Minor (1): egl/main: Fix eglMakeCurrent when releasing context from current thread. Brian Paul (2): mesa: fix double-freeing of dispatch tables inside glBegin/End. glsl: fix use-after free bug/crash in ast_declarator_list::hir() Chris Forbes (4): i965/Gen7: Set up layer constraints properly for renderbuffers i965/Gen8: Set up layer constraints properly for renderbuffers i965/Gen7: Set up layer constraints properly for depth buffers i965/Gen8: Set up layer constraints properly for depth buffers Christoph Bumiller (7): nv50,nvc0: always pull out bufctx on context destruction nv50: setup scissors on clear_render_target/depth_stencil nv50,nvc0: set constbufs dirty on pipe context switch nv50/ir/tgsi: TGSI_OPCODE_POW replicates its result nv50/ir/opt: fix constant folding with saturate modifier nv50/ir: fix lowering of predicated instructions (without defs) nv50/ir/tgsi: optimize KIL Emil Velikov (6): configure: error out if building GBM without dri glx/tests: Partially revert commit 51e3569573a7b3f8da0df093836761003fcdc414 configure: correctly set LD_NO_UNDEFINED docs: Add a note about llvm-shared-libs and libxatracker targets/egl-static: add missing line break in ldflags glx: do not leak dri3Display Ian Romanick (10): mesa: Bump version to 10.2-rc1 linker: Fix consumer_inputs_with_locations indexing mesa: Bump version to 10.2-rc2 Add .cherry-ignore file Bump version to 10.2-rc3 Merge remote-tracking branch 'robclark/freedreno-10.2' into 10.2 Bump version to 10.2-rc4 glapi: Duplicate GLES1 prototypes in glapi_dispatch.c Bump version to 10.2-rc5 Bump version to 10.2 (final) Ilia Mirkin (22): nv50/ir/gk110: fix set with f32 dest nv50/ir: make sure to reverse cond codes on all the OP_SET variants nv50: fix setting of texture ms info to be per-stage gallium: add bit to pipe_blit_info to leave current query enabled mesa/st: leave current query enabled during glBlitFramebuffer nv50,nvc0: leave queries on during blit, turn them on for 2d engine nv50,nvc0: fix blit 3d path for 1d array textures nv50/ir: make sure that texprep/texquerylod's args get coalesced nv50/ir: fix integer mul lowering for u32 x u32 -> high u32 nv50/ir: fix s32 x s32 -> high s32 multiply logic nv50/ir: fix constant folding for OP_MUL subop HIGH nv50,nvc0: fix 3d blits with mipmap levels tgsi: add GS_INVOCATIONS to property names array mesa/st: fix color outputs in presence of sample mask output nvc0: revert mistaken logic to collapse color outputs to the beginning gk110/ir: emit texbar the same way that the blob does gk110/ir: fix quadon opcode emission gk110/ir: fix ISAD emission with register args gk110: add in forgotten code for gk110 isa nvc0: don't bother trying to set up compute for gk110+ gk110/ir: fix interp mode emission gk110/ir: fix slct emission James Legg (1): mesa: Fix unbinding GL_DEPTH_STENCIL_ATTACHMENT Jeremy Huddleston Sequoia (2): glapi: Avoid heap corruption in _glapi_table darwin: Fix test for kCGLPFAOpenGLProfile support at runtime Jerome Glisse (1): glx: load dri driver with RTLD_LOCAL so dlclose never fails to unload Jonathan Gray (1): glsl: simplify the M_PI*f macros, fixes build on OpenBSD Jordan Justen (7): i965/gen7 renderbuffer: Set depth size based on LOD0 for 3D textures i965/gen8 renderbuffer: Set depth size based on LOD0 for 3D textures i965/gen7 depth: Set depth size based on LOD0 for 3D textures i965/gen8 depth: Set depth size based on LOD0 for 3D textures i965/gen8: Set depth extent field i965 meta up/downsample: Fix renderbuffer _BaseFormat meta blit: Set Z texcoord during meta blit to sample the correct layer José Fonseca (2): mesa/main: Make get_hash.c values constant. mesa: Make glGetIntegerv(GL_*_ARRAY_SIZE) return GL_BGRA. Kenneth Graunke (21): i965: Set miptree target field when creating from a BO. i965: Always intel_prepare_render() after invalidating front buffers. meta: Unify the GLSL and fixed-function clear paths. meta: Add a new MESA_META_DRAW_BUFFERS bit. meta: Add infrastructure for saving/restoring the DrawBuffers state. meta: Only clear the requested color buffers. i965: Enable GL_ARB_texture_view on Broadwell. mesa: Fix MaxNumLayers for 1D array textures. i965: Fix GPU hangs on Broadwell in shaders with some control flow. i965: Don't _swrast_BlitFramebuffer when doing CopyTexSubImage. mesa: Disable GL_EXT_framebuffer_multisample_blit_scaled on Broadwell. Revert "i965: Don't _swrast_BlitFramebuffer when doing CopyTexSubImage." meta: Drop unnecessary early returns in _mesa_meta_BlitFramebuffer. meta: Split _swrast_BlitFramebuffer out of the meta blit path. meta: Avoid _swrast_BlitFramebuffer in the meta CopyTexSubImage code. i965: Use WE_all for FB write header setup on Broadwell. i965: Listen to BRW_NEW_FRAGMENT_PROGRAM for 3DSTATE_PS_BLEND. i965: Fix repeated usage of rectangle texture coordinate scaling. i965: Fix copy and pasted values in Broadwell code. i965: Pass brw to translate_wrap_mode(). i965: Support GL_CLAMP natively on Broadwell. Kristian Høgsberg (1): wayland: Move version 2 request to end of interface specification Lubomir Rintel (1): i915: add a missing NULL pointer check Marek Olšák (3): Revert "glx: load dri driver with RTLD_LOCAL so dlclose never fails to unload" r600g,radeonsi: disable fast clear if render condition is on r600g,radeonsi: don't use hardware MSAA resolve if dst is fast-cleared Matt Turner (6): Revert "i965/vec4: Change vec4_visitor::emit_lrp to use MAC for gen<6" Revert "i965/fs: Change fs_visitor::emit_lrp to use MAC for gen<6" Revert "i965/fs: Reduce restrictions on interference in register coalescing." Revert "i965/fs: Give up in interference check if we see a WHILE." Revert "i965/fs: Simplify interference scan in register coalescing." Revert "i965: Don't make instructions with a null dest a barrier to scheduling." Michel Dänzer (2): radeonsi: Fix anisotropic filtering state setup glsl_to_tgsi: Make sure the 'shader' member is always initialized Pavel Popov (2): i965: Properly return *RESET* status in glGetGraphicsResetStatusARB i965: Fix Line Stipple enable bit in 3DSTATE_SF for Haswell. Rob Clark (20): freedreno/a2xx: fix compiler warning freedreno: update generated headers freedreno/a3xx: add point-size freedreno/query: allow multiple query implementations freedreno: add support for hw queries freedreno/a3xx: occlusion query support freedreno/a3xx: fix MAX_INPUTS shader cap freedreno/a3xx: account for special inputs/outputs freedreno/a3xx: fix write to bogus register freedreno: update generated headers freedreno/a3xx: add sRBG texture support freedreno: fix index buffer offset freedreno: fix caps freedreno/a3xx/compiler: 1D textures freedreno/a3xx: use util_format_compose_swizzles() freedreno: update generated headers freedreno/a3xx/compiler: refactor trans_samp() freedreno/a3xx: shadow sampler support freedreno: don't advertise texture arrays for now configure: fix build error with XA Roland Scheidegger (3): draw: do not use draw_get_option_use_llvm() inside draw execution paths mesa/st: fix number of ubos being declared in a shader llvmpipe: fix crash when not all attachments are populated in a fb Ryan Houdek (2): freedreno/a3xx/compiler: start adding integer support freedreno/a3xx/compiler: add KILL_IF Sinclair Yeh (1): egl: Check for NULL native_window in eglCreateWindowSurface Tapani Pälli (1): glsl: fix bogus layout qualifier warnings Thomas Hellstrom (1): st/xa: Fix performance regression introduced by commit "Cache render target surface" Tobias Klausmann (1): nv50/ir: clear subop when folding constant expressions Tom Stellard (4): pipe-loader: Don't destroy the winsys in the sw loader clover: Destory pipe_screen when device does not support compute v2 configure.ac: Add LLVM_VERSION_PATCH to DEFINES radeonsi: Enable geometry shaders with LLVM 3.4.1 Topi Pohjolainen (17): i965/gen8: Use helper variables for surface parameters i965/blorp: Expose coordinate scissoring and mirroring meta: Merge compiling and linking of blit program meta: Refactor binding of renderbuffer as texture image meta: Refactor configuration of renderbuffer sampling i965/wm: Surface state overrides for configuring w-tiled as y-tiled i965/gen8: Surface state overriding for stencil i965: Extend brw_get_rb_for_first_slice() for specified level/layer meta: Refactor state save/restore for framebuffer texture blits i965/meta: Stencil blits i965/fb: Use meta path for stencil blits i965/meta: Stencil blit for miptree updownsampling i965/fb: Use meta path for stencil up/downsampling i965/fbo: Only try stencil meta blits on gen >= 8 meta/blit: Add stencil texturing mode save and restore i965/meta: Store stencil texturing mode meta/blit: Use gl_FragColor also in the msaa blit shader --- VERSION | 2 bin/.cherry-ignore | 3 configure.ac | 29 docs/relnotes/10.2.html | 19 src/egl/main/eglapi.c | 12 src/egl/wayland/wayland-drm/wayland-drm.xml | 35 src/gallium/auxiliary/draw/draw_context.c | 2 src/gallium/auxiliary/draw/draw_gs.c | 10 src/gallium/auxiliary/draw/draw_private.h | 4 src/gallium/auxiliary/draw/draw_vs.c | 4 src/gallium/auxiliary/draw/draw_vs_exec.c | 4 src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | 3 src/gallium/auxiliary/tgsi/tgsi_strings.c | 3 src/gallium/drivers/freedreno/Makefile.sources | 3 src/gallium/drivers/freedreno/a2xx/a2xx.xml.h | 10 src/gallium/drivers/freedreno/a2xx/fd2_emit.c | 2 src/gallium/drivers/freedreno/a3xx/a3xx.xml.h | 158 ++- src/gallium/drivers/freedreno/a3xx/fd3_compiler.c | 394 ++++++- src/gallium/drivers/freedreno/a3xx/fd3_compiler_old.c | 3 src/gallium/drivers/freedreno/a3xx/fd3_context.c | 3 src/gallium/drivers/freedreno/a3xx/fd3_program.c | 4 src/gallium/drivers/freedreno/a3xx/fd3_program.h | 4 src/gallium/drivers/freedreno/a3xx/fd3_query.c | 139 ++ src/gallium/drivers/freedreno/a3xx/fd3_query.h | 36 src/gallium/drivers/freedreno/a3xx/fd3_rasterizer.c | 18 src/gallium/drivers/freedreno/a3xx/fd3_texture.c | 8 src/gallium/drivers/freedreno/a3xx/fd3_util.c | 28 src/gallium/drivers/freedreno/adreno_common.xml.h | 43 src/gallium/drivers/freedreno/adreno_pm4.xml.h | 102 + src/gallium/drivers/freedreno/freedreno_context.c | 3 src/gallium/drivers/freedreno/freedreno_context.h | 65 + src/gallium/drivers/freedreno/freedreno_draw.c | 6 src/gallium/drivers/freedreno/freedreno_gmem.c | 19 src/gallium/drivers/freedreno/freedreno_query.c | 117 -- src/gallium/drivers/freedreno/freedreno_query.h | 33 src/gallium/drivers/freedreno/freedreno_query_hw.c | 465 ++++++++ src/gallium/drivers/freedreno/freedreno_query_hw.h | 164 +++ src/gallium/drivers/freedreno/freedreno_query_sw.c | 165 +++ src/gallium/drivers/freedreno/freedreno_query_sw.h | 55 + src/gallium/drivers/freedreno/freedreno_resource.c | 3 src/gallium/drivers/freedreno/freedreno_screen.c | 17 src/gallium/drivers/freedreno/freedreno_util.h | 9 src/gallium/drivers/llvmpipe/lp_rast.c | 12 src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 14 src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 11 src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp | 103 + src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp | 55 - src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp | 2 src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp | 2 src/gallium/drivers/nouveau/nv50/nv50_context.c | 7 src/gallium/drivers/nouveau/nv50/nv50_context.h | 10 src/gallium/drivers/nouveau/nv50/nv50_query.c | 6 src/gallium/drivers/nouveau/nv50/nv50_screen.c | 2 src/gallium/drivers/nouveau/nv50/nv50_state_validate.c | 4 src/gallium/drivers/nouveau/nv50/nv50_surface.c | 57 - src/gallium/drivers/nouveau/nv50/nv50_tex.c | 2 src/gallium/drivers/nouveau/nvc0/nvc0_context.c | 9 src/gallium/drivers/nouveau/nvc0/nvc0_program.c | 13 src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 5 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 9 src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c | 1 src/gallium/drivers/nouveau/nvc0/nvc0_surface.c | 38 src/gallium/drivers/r600/r600_blit.c | 3 src/gallium/drivers/r600/r600_pipe.h | 9 src/gallium/drivers/radeon/r600_pipe_common.h | 9 src/gallium/drivers/radeon/r600_texture.c | 3 src/gallium/drivers/radeonsi/si_blit.c | 4 src/gallium/drivers/radeonsi/si_descriptors.c | 4 src/gallium/drivers/radeonsi/si_pipe.c | 4 src/gallium/drivers/radeonsi/si_pipe.h | 4 src/gallium/drivers/radeonsi/si_state.c | 17 src/gallium/include/pipe/p_state.h | 3 src/gallium/state_trackers/clover/core/device.cpp | 5 src/gallium/state_trackers/xa/xa_context.c | 2 src/gallium/targets/egl-static/Makefile.am | 2 src/glsl/ast_to_hir.cpp | 6 src/glsl/builtin_functions.cpp | 8 src/glsl/glsl_parser.yy | 11 src/glsl/link_varyings.cpp | 8 src/glsl/tests/varyings_test.cpp | 11 src/glx/apple/apple_visual.c | 14 src/glx/glxext.c | 4 src/glx/tests/query_renderer_implementation_unittest.cpp | 6 src/mapi/glapi/gen/gl_gentable.py | 2 src/mapi/glapi/glapi_dispatch.c | 57 + src/mesa/drivers/common/meta.c | 401 ++++--- src/mesa/drivers/common/meta.h | 46 src/mesa/drivers/common/meta_blit.c | 240 ++-- src/mesa/drivers/common/meta_generate_mipmap.c | 2 src/mesa/drivers/dri/i915/intel_context.c | 2 src/mesa/drivers/dri/i915/intel_fbo.c | 8 src/mesa/drivers/dri/i965/Makefile.sources | 2 src/mesa/drivers/dri/i965/brw_blorp_blit.cpp | 124 -- src/mesa/drivers/dri/i965/brw_context.h | 14 src/mesa/drivers/dri/i965/brw_defines.h | 3 src/mesa/drivers/dri/i965/brw_device_info.c | 31 src/mesa/drivers/dri/i965/brw_fs_register_coalesce.cpp | 37 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 38 src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c | 525 ++++++++++ src/mesa/drivers/dri/i965/brw_meta_updownsample.c | 35 src/mesa/drivers/dri/i965/brw_meta_util.c | 160 +++ src/mesa/drivers/dri/i965/brw_meta_util.h | 46 src/mesa/drivers/dri/i965/brw_reset.c | 18 src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp | 12 src/mesa/drivers/dri/i965/brw_state.h | 9 src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 16 src/mesa/drivers/dri/i965/brw_wm.c | 3 src/mesa/drivers/dri/i965/brw_wm_sampler_state.c | 21 src/mesa/drivers/dri/i965/brw_wm_state.c | 1 src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 24 src/mesa/drivers/dri/i965/gen7_misc_state.c | 15 src/mesa/drivers/dri/i965/gen7_sampler_state.c | 6 src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | 17 src/mesa/drivers/dri/i965/gen8_blend_state.c | 4 src/mesa/drivers/dri/i965/gen8_depth_state.c | 17 src/mesa/drivers/dri/i965/gen8_fs_generator.cpp | 13 src/mesa/drivers/dri/i965/gen8_generator.cpp | 14 src/mesa/drivers/dri/i965/gen8_surface_state.c | 87 + src/mesa/drivers/dri/i965/intel_buffers.c | 2 src/mesa/drivers/dri/i965/intel_extensions.c | 8 src/mesa/drivers/dri/i965/intel_fbo.c | 27 src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 9 src/mesa/drivers/dri/i965/intel_tex_image.c | 1 src/mesa/drivers/dri/nouveau/nouveau_driver.c | 2 src/mesa/drivers/dri/radeon/radeon_fbo.c | 2 src/mesa/drivers/x11/xm_dd.c | 2 src/mesa/main/context.c | 4 src/mesa/main/fbobject.c | 8 src/mesa/main/get.c | 10 src/mesa/main/get_hash_generator.py | 2 src/mesa/main/get_hash_params.py | 4 src/mesa/state_tracker/st_cb_blit.c | 1 src/mesa/state_tracker/st_cb_readpixels.c | 1 src/mesa/state_tracker/st_cb_texture.c | 2 src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 11 src/mesa/state_tracker/st_program.c | 30 136 files changed, 3902 insertions(+), 979 deletions(-) ---