Tag '10.6-branchpoint' created by Emil Velikov <emil.l.veli...@gmail.com> at 2015-05-19 12:24 +0000
Mesa 10.6 branchpoint -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJVWyuWAAoJEO2uN7As60kNLI8P/33bS4m498uMcii1M/tp6IQ5 z0l7zwsK63CRGjKVacwW9BL6AmJrne2U2SAnAWa8C85QwFGrdlwVjfPFpgofpGPl eW6hXmDq8Sqma9slJefIzOQH/BL23zgzPizB0AJqdZ9FrNkwlKdfzc/vAReXXYBL ywdsNhtngEPViJpFkCbng0yhBuFY0T6NJ3qQFBaceeaBFOmbQa/5qq//v9hEKvCb hrK5FPwfWK7tWjeAFmOMsKtgkWrYhmDz13o3lVkpE/vKep2tUV/B1lCrpXZZC3Tt svbinVEL1EmHaO6NSEy9jc4f+l6hvopmqrWXooqEf7l1d2UuxZNsh9SWLUTza6n8 eV0FOy7pAW2xSv7H1eKTK2SI4qA4HJPU1AAbpcS5TURC4R5abNLyetBrxgrgO+v+ FcS0Kl8B3Vh4mnd+DjT5SaxbAPN/kOVqMltFa8RHFP+5tA57WUek+eLOn7PC8BOY zBNhjyAJ5VR6nKUiLImEPOVHMVYIFP8WvftkDtx+3N6EZ56AbKOp1D2RZlxv4K+d vamaz3jdna20e/GyFmi1zN6FArv+xuoqXfDeawGOMvR7pCKYQQ6w9UjHV5J1qUiw TRuIPScK41PqN7x7mMGIHsKkHBtWcloVnWwWxycCcU7s20pwGtUo9re0kHDtj2yh lN0cbBEnLC4+KPIaG5IS =H0wq -----END PGP SIGNATURE----- Changes since 10.5-branchpoint: Adam Jackson (2): i915: For the love of all that is holy, stop saying "IGD" egl: Remove skeleton implementation of EGL_MESA_screen_surface Alan Coopersmith (5): Bracket arguments to tr so they work with Solaris tr Remove extraneous ; after DECL_TYPE usage Avoid fighting with Solaris headers over isnormal() Use __typeof instead of typeof with Solaris Studio compilers Make _mesa_swizzle_and_convert argument types in .c match those in .h Alex Deucher (1): radeonsi: add new bonaire pci id Alex Henrie (2): driconf: Update Spanish translation driconf: Update Catalan translation Alexander von Gluck IV (11): gallium/st + hgl: Build fixes for Haiku glapi: Add extern "C" to glapi_priv.h glapi/hgl: Drop extern "C" as it was added to glapi egl: Add needed extern "C" for C++ access egl/haiku: Drop extern "C". No longer needed gallium/aux: Add needed extern "C" wrappers gallium/drivers: Add extern "C" wrappers to public entry winsys/hgl: Add needed extern "C" to hgl winsys st/hgl: Move st_api creation to st and extern "C" it target/haiku-softpipe: Move api init into st code mesa/driver/haiku: Drop Mesa swrast renderer Alexandre Demers (2): r600g: Use R600_MAX_VIEWPORTS instead of 16 gallivm: (trivial) Fix typo in comment introduced by 70dc8a Andreas Boll (2): dri/common: Update comment about driQueryRendererIntegerCommon glx: Fix returned values of GLX_RENDERER_PREFERRED_PROFILE_MESA Andrey Sudnik (1): i965/vec4: Don't lose the saturate modifier in copy propagation. Antia Puentes (3): i965: Emit IF/ELSE/ENDIF/WHILE JIP with type W on Gen7 glsl: respect the source number set by #line <line> <source> glsl: Update the #line behaviour on GLSL 3.30+ and GLSL ES+ Anuj Phogat (17): meta: Do power of two samples check only for samples > 0 meta: Add assertion check for ctx->Meta->SaveStackDepth meta: Use GL_STREAM_READ for pbo created with GL_PIXEL_PACK_BUFFER meta: Fix buffer object assignment to account for both pack and unpack bo's meta: Pass null pointer for the pixel data to avoid unnecessary data upload i965: Fix condition to use Y tiling in blitter in intel_miptree_create() i965: Move the comment to the right place i965: Make a function to check the conditions to use the blitter i965: Allocate texture buffer in intelTexImage i965: Pass pointer to miptree as function parameter in intel_horizontal_texture_alignment_unit i965/gen8: Use HALIGN_16 if MCS is enabled for non-MSRT glsl: Generate link error for non-matching gl_FragCoord redeclarations i965: Update the comment about platforms supporting blorp i965: Render R16G16B16X16 as R16G16B16A16 mesa: Fix typo in a comment i965: Change the order of conditions tested in if i965: Remove unused variables Axel Davy (32): egl: Soften several HAVE_DRM_PLATFORM to HAVE_LIBDRM st/nine: Handle special LIT case st/nine: Fix wrong assert in nine_shader st/nine: Workaround barycentrics issue on some cards st/nine: Fix comment in update_viewport st/nine: Do not advertise D3DDEVCAPS_TEXTURESYSTEMMEMORY util/macros: Move DIV_ROUND_UP to util/macros.h gallium/svga: Remove useless ARRAY_SIZE declaration st/nine: Rework update_vertex_buffers st/nine: Add debug warning when application uses sw processing st/nine: Fix update_vertex_elements bad rebase st/nine: Rework texture data allocation st/nine: Encapsulate variables for MANAGED resource st/nine: Remove impossible cases with Managed textures st/nine: Simplify Surface9 Managed resources implementation st/nine: Bound the dirty regions to resource size st/nine: Rewrite Managed texture uploads st/nine: Fix NineBaseTexture9_PreLoad st/nine: D3DUSAGE_AUTOGENMIPMAP is forbidden for volumes st/nine: util_gen_mipmap doesn't need we reset states. st/nine: Some D3DUSAGE_AUTOGENMIPMAP fixes st/nine: Enforce LOD 0 for D3DUSAGE_AUTOGENMIPMAP st/nine: Remove Managed texture hack. egl/wayland: properly destroy wayland objects doc/egl: Remove depreciated EGL_SOFTWARE glx/dri3: Add additional check for gpu offloading case egl/wayland: Add support for render-nodes egl/wayland: Implement DRI_PRIME support egl/x11: move dri2_x11_swrast_create_image_khr to egl_dri2_fallback.h egl/wayland: Simplify dri2_wl_create_surface egl/wayland: Implement swrast support egl/swrast: Enable config extension for swrast Ben Widawsky (21): i965/vs/skl: Use vec4 datatypes for message header i965/simd8vs: Fix SIMD8 atomics mesa: Add support for the ARB_pipeline_statistics_query extension i965: implement ARB_pipeline_statistics_query i965/skl: Use 1 register for uniform pull constant payload i965: Rename some PIPE_CONTROL flags i965: Fix assertion in brw_reg_type_letters meta: Plug memory leak i965/skl: Disable partial resolve in VC i965/skl: Don't use the PMA depth stall workaround i965/fs: Create a has_side_effects for fs_inst i965/fs: Only emit FS_OPCODE_PLACEHOLDER_HALT if there are discards i965/fs: Combine tex/fb_write operations (opt) i965: Add string for surface format to table i965: Add all surface types to the batch decode i965: Add viewport extents (gen8) to batch decode i965: Add gen7+ sampler state to batch debug i965: Add gen8 surface state debug info i965: Add Gen9 surface state decoding i965: Add renderbuffer surface indexes to debug i965: Add gen8 blend state Boyan Ding (1): i965: Add XRGB8888 format to intel_screen_make_configs Brian Paul (173): mesa: silence uninitialized var warning in get_tex_rgba_uncompressed() mesa: move assertion after declarations in texstore.c mesa: remove unused _math_trans_4chan() swrast: fix multiple color buffer writing st/mesa: fix sampler view reference counting bug in glDraw/CopyPixels nir: add missing GLSL_TYPE_DOUBLE case in type_size() st/mesa: add GSL_TYPE_DOUBLE, new ir_unop_* switch cases gallium/util: indentation fix svga: add missing _DROUND,DFRACEXP_DLDEXP_SUPPORTED switch cases drivers/x11: add gallium include dirs to Makefile.am util: rewrite debug_print_transfer_flags() using debug_dump_flags() util: move pipe_prim_names array into u_prim_name() osmesa: add gallium include dirs to Makefile.am mesa: move math-related function into new c99_math.h file swrast: fix a few release build warnings targets/libgl-xlib: add src/ include dir to fix build mesa: replace FREXPF, LDEXPF with frexpf, ldexpf mesa: replace LOGF, EXPF with logf, expf mesa: remove unused CEILF macro mesa: replace FLOORF with floorf mesa: replace FABSF with fabsf mesa: remove unused acosf, asinf, atan2f, etc. macros mesa: remove unused exp2f, log2f, truncf wrappers mesa: remove powf macro mesa: remove logf macro mesa: remove expf macro mesa: remove ceilf, floorf macros mesa: remove INV_SQRTF() macro st/mesa: remove struct qualifier from st_src_reg parameter mesa: remove sqrtf macro glcpp: remove unneeded #include of core.h mesa: remove unused isblank() function mesa: move signbit() macro to c99_math.h mesa: remove MAX_GLUSHORT, move MAX_GLUINT mesa: remove DEG2RAD macro gallium: renumber PIPE_BIND_ flags util: add debug_print_bind_flags() debug helper gallium: whitespace, comment formatting fixes in p_defines.h glsl: #include c99_math.h instead of core.h mesa: remove M_PI, M_E, M_LOG2E macro definitions mesa: include stdarg.h only where it's used mesa: only include ctype.h where it's used mesa: don't include float.h in compiler.h mesa: don't include limits.h in compiler.h r300g: remove dependency on compiler.h mesa: trim down #includes in compiler.h mesa: don't include math.h in compiler.h mesa: don't include stdint.h in compiler.h i915: replace INLINE with inline r200: replace INLINE with inline radeon: replace INLINE with inline swrast: replace INLINE with inline st/mesa: replace INLINE with inline mesa: remove unused INLINE macro from compiler.h c99: in c99_math.h check that _USE_MATH_DEFINES is defined with MSVC radeon/compiler: include stdio.h c99_math.h: add defines for M_PI, M_E, M_LOG2E mesa: restore #include stdarg.h in imports.h gallium/util: fix 'statement with no effect' warning gallium/util: add debug_print_usage_enum() debug helper c99_alloca.h: fix #include for MinGW meta: silence uninitialized variable warnings for MinGW meta: silence declaration after code warning on MinGW mesa: move declaration before code mesa: silence unused var warning in get_tex_rgba_uncompressed() glsl: silence uninitialized var warning on MinGW mesa: remove unused uninitialized_var() macro mesa: move ONE_DIV_SQRT_LN2 to prog_statevars.c mesa: move FLT_MAX_EXP to c99_math.h mesa: remove _NORMAPI, _NORMAPIP macros mesa: move finite macro to imports.h mesa: include macros.h in stencil.h i965: add GLSL_TYPE_DOUBLE switch case to silence warning mesa: trim down includes of compiler.h mesa: trim down #includes in api_loopback.h mesa/main: replace Elements() with ARRAY_SIZE() mesa/vbo: replace Elements() with ARRAY_SIZE() mesa/swrast: replace Elements() with ARRAY_SIZE() mesa/program: replace Elements() with ARRAY_SIZE() st/mesa: replace Elements() with ARRAY_SIZE() st/dri: replace Elements() with ARRAY_SIZE() glsl: replace Elements() with ARRAY_SIZE() mapi: replace Elements() with ARRAY_SIZE() i915: replace Elements() with ARRAY_SIZE() i965: replace Elements() with ARRAY_SIZE() nouveau: replace Elements() with ARRAY_SIZE() r200: replace Elements() with ARRAY_SIZE() radeon: replace Elements() with ARRAY_SIZE() util: replace Elements() with ARRAY_SIZE() mesa: remove the Elements() macro definition mesa: remove extra definition of ARRAY_SIZE in src/mesa/main/macros.h c99_alloca.h: add case for __sun glx: use ARRAY_SIZE from macros.h mapi: remove unneeded ARRAY_SIZE #define st/xlib: include p_compiler.h to get PUBLIC definition mesa: consolidate PUBLIC macro definition mapi: replace INLINE with inline mapi: use util/macros.h instead of locally defined macros mapi: remove u_compiler.h gallivm: init MM = NULL to silence warning glx/tests: add -I src/ to fix make check mesa: include c11/threads.h in mtypes.h mesa: include stdio.h where needed glsl: include stdio.h where needed dri/common: include stdio.h where needed nouveau: include stdio.h where needed swrast: include stdio.h where needed st/mesa: include stdio.h where needed st/xlib: include stdio.h st/xlib: include stdio.h st/osmesa: include stdio.h xlib: include stdio.h osmesa: include stdio.h mapi: remove u_macros.h mapi: fix preprocessor check in u_current_destroy() mapi: rewrite u_current_init() function without u_thread_self() mesa: remove THREADS check, printf calls in debug.c mapi: THREADS was always defined, remove it mapi: use c11 call_once() instead of pthread_once() mapi: remove u_thread.h mapi: actually remove unused u_thread.h i915: add parens to silence operator precedence warning xlib: use strdup() instead of _mesa_strdup() st/glx: use strdup() instead of _mesa_strdup() mesa: use strdup() instead of _mesa_strdup() mesa: remove #define __volatile mesa: remove CPU_TO_LE32() for AIX mesa: move fpclassify work-arounds into c99_math.h mesa: reindent querymatrix.c mesa: remove register keyword, add const in _mesa_QueryMatrixxOES() mesa: use ARRAY_SIZE in _mesa_QueryMatrixxOES() swrast: remove _BLENDAPI mesa: remove _XFORMAPI mesa: remove _ASMAPI, ASMAPIP mesa: move LONGSTRING into generated enums.c tnl: HAVE_LE32_VERTS is never defined, remove associated code egl: fix cast to silence compiler warning util: convert slab macros to inline functions mapi: add new _glapi_new_nop_table() and _glapi_set_nop_handler() mesa: reimplement dispatch table no-op function handling mesa: make _mesa_alloc_dispatch_table() static mapi: move some #includes from .h file to .c files mesa: add void to format_array_format_table_init() declaration mesa: remove MSVC warning pragmas dri: add _glapi_set_nop_handler(), _glapi_new_nop_table() to dri_test.c mesa: use more descriptive error messages for glUniform errors gallivm: remove unused 'builder' variable glsl: allow ForceGLSLVersion to override #version directives docs: document Viewperf 12 issues mesa: remove unused macros from colormac.h swrast: remove unneeded #include of colormac.h tnl: remove unneeded #include of colormac.h mesa: remove unneeded #include of colormac.h mesa: don't include colormac.h in format code glsl: check for forced_language_version in is_version() tgsi: also dump label for TGSI_OPCODE_BGNSUB opcode mesa: add _mesa_log(), _mesa_get_log_file() functions mesa: log shaders, GLSL info log with _mesa_log() st/mesa: log shaders, GLSL info log with _mesa_log() mesa/st: Free st_translate with FREE macro. main: silence missing return value warning in array_index_of_resource() mesa: add check for NV_texture_barrier in _mesa_TextureBarrierNV() glsl: rewrite glsl_type::record_key_hash() to avoid buffer overflow cso: minor comment fix mesa: put more info in glTexImage GL_OUT_OF_MEMORY error message docs: more details about Viewperf 12 medical-01 test issues mesa: remove unused options var in compile_shader() mesa: remove unneeded #include colortab.h meta: remove unneeded #include colortab.h st/mesa: also try PIPE_FORMAT_R10G10B10A2_UNORM for GL_RGB10 glsl: add parens in shader_integer_mix() to silence compiler warning st/mesa: fix st_NewPerfMonitor() declaration st/mesa: fix pipe_query_result result initializer Carl Worth (6): util/u_atomic: Add new macro p_atomic_add Revert use of Mesa IR optimizer for ARB_fragment_programs i965: Perform program state upload outside of atom handling i965: Split out brw_<stage>_populate_key into their own functions i965: Split out per-stage dirty-bit checking into separate functions i965: Rename do_<stage>_prog to brw_compile_<stage>_prog (and export) Chad Versace (15): i965: Declare intel_miptree_alloc_mcs() as static i965: Declare intel_miptree_create_layout() as static i965: Refactor brw_is_hiz_depth_format() i965: Add field intel_mipmap_tree::disable_aux_buffers i965: Change intel_miptree_create_for_bo() signature i965: Disable aux buffers for EGLImage-backed miptrees i965: Lift some restrictions on dma_buf EGLImages egl/dri2: Check return value of __DRI2fence::create_fence() egl/dri2: Fix codestyle in a comment i965/sync: Don't crash when deleting sync object i915/sync: Don't crash when deleting sync object i965/sync: Return NULL when calloc fails i915/sync: Return early when calloc fails i965/sync: Replace prefix 'intel_sync' -> 'intel_gl_sync' i965/sync: Implement DRI2_Fence extension Chia-I Wu (93): ilo: clean up sample patterns ilo: clean up ilo_gpe_init_blend() ilo: clean up ilo_gpe_init_dsa() ilo: update genhw headers ilo: update the toy compiler for Gen8 ilo: add functions for Gen8 relocs ilo: update MI helpers for Gen8 ilo: update BLT helpers for Gen8 ilo: update render engine common helpers for Gen8 ilo: update 3DSTATE_PUSH_CONSTANT_ALLOC_x for Gen8 ilo: update 3DSTATE_URB_x for Gen8 ilo: update 3DSTATE_CONSTANT_x for Gen8 ilo: update 3DSTATE_{DS,HS,GS} for Gen8 ilo: update streamout related functions for Gen8 ilo: update SF_CLIP_VIEWPORT for Gen8 ilo: update CLIP related functions for Gen8 ilo: update SF related functions for Gen8 ilo: update SBE related functions for Gen8 ilo: update WM and PS related functions for Gen8 ilo: update multisample related states for Gen8 ilo: update ilo_dsa_state and related functions for Gen8 ilo: update ilo_blend_state and related functions for Gen8 ilo: update texture layout for Gen8 ilo: update ilo_view_surface for Gen8 ilo: update ilo_zs_surface for Gen8 ilo: update depth clear value for Gen8 ilo: update SAMPLER_BORDER_COLOR_STATE for Gen8 ilo: update SAMPLER_STATE for Gen8 ilo: update VF related functions for Gen8 ilo: update VS related functions for Gen8 ilo: add new WM related helpers for Gen8 ilo: update outdated gen assertions for Gen8 ilo: update dynamic state emission for Gen8 ilo: update surface state emission for Gen8 ilo: update draw command emission for Gen8 ilo: update rectlist command emission for Gen8 ilo: update outdated render command emissions for Gen8 ilo: update screen init for Gen8 ilo: fix 3DSTATE_VF_TOPOLOGY ilo: fix rectlist length on Gen8 ilo: update some outdated gen checks ilo: cleanup ISA DW0 decoding ilo: cleanup ISA DW1 decoding ilo: prepare for 64-bit immediates decoding ilo: correct ISA UIP/JIP decoding for Gen8 ilo: do not set GEN6_THREADCTRL_SWITCH ilo: fix JIP/UIP on Gen8 ilo: fix some state pointer commands on Gen8 ilo: fix alpha test on Gen8 ilo: always set up BLEND_STATE on Gen8 ilo: fix compiler warnings ilo: fix PCB alloc asserts on Gen7.5 GT3 ilo: 128 BPP formats can use TiledY on Gen7.5+ ilo: R32G32B32_FLOAT need no special care on Gen8+ ilo: add some more winsys functions ilo: add ILO_DEBUG=hang ilo: clean up Gen7.5 WAs ilo: improve WA handling in rectlist path ilo: update genhw headers ilo: replace intel_tiling_mode by gen_surface_tiling ilo: add intel_bo_set_tiling() ilo: add more convenient intel_bo_{ref,unref}() ilo: clean up SURFACE_STATE and BINDING_TABLE_STATE ilo: track if a ilo_view_surface is a scanout ilo: enable L3 cache in MOCS ilo: do not check for interleaved_samples ilo: fix padding of linear sampler views ilo: add generic ilo_render_pipe_control() ilo: add generic ilo_render_3dprimitive() ilo: clean up Gen6 WAs ilo: clarify valid and preferred tilings ilo: move intel_winsys.h to core ilo: add ilo_core.h to core ilo: add ilo_debug.[ch] to core ilo: add ilo_dev.h to core ilo: move intel_winsys to ilo_dev_info ilo: rename ilo_dev_info to ilo_dev ilo: add ilo_dev_init() to core ilo: add ilo_fence.h to core ilo: add ilo_format.[ch] to core ilo: move ilo_layout.[ch] to core as ilo_image.[ch] ilo: move BOs from ilo_texture to ilo_image ilo: add ilo_buffer.h to core ilo: move ilo_state_3d* to core ilo: move command builder to core ilo: improve readability of ilo_image ilo: constify ilo_image_params ilo: prepare for image init for imported bo ilo: add ilo_image_init_for_imported() ilo: make ilo_image more self-contained ilo: add ilo_image_can_enable_aux() ilo: use ilo_image exclusively in core ilo: silence a compiler warning Chih-Wei Huang (8): android: simplify the subdirs including rules util: android: optimize the rules to generate format_srgb.c android: fix a building error of libmesa_program android: fix building issues of host binaries android: fix the building rules for Android 5.0 android: export the path of the generated headers android: xmlpool: Get rid of the last use of intermediates-dir-for android: re-build all mesa binaries properly Chris Forbes (10): i965: Add device limits for tess threads & URB entries i965/gs: Check newly-generated GS-out VUE map against correct stage i965/disasm: Mark format() as being printf-style. i965/disasm: Fix format strings i965/gen4-5: Cope with immutable-format texture revalidation i965/gen6: setup limits for ARB_viewport_array i965/gen6: Upload all the clip viewports i965/gen6: Upload all the SF viewports i965/gen6: Enable ARB_viewport_array and AMD_vertex_shader_viewport_index relnotes: Note support for viewport arrays on i965/Gen6. Chris Wilson (3): i965: Throttle rendering to an fbo i965: Throttle to the previous frame i965: Defer the throttle until we submit new commands Christian König (2): winsys/radeon: add user pointer support gallium/vl: partially revert "Use util_cpu_to_le{16,32} in many more places." Christoph Bumiller (1): st/mesa: implement GL_AMD_performance_monitor Connor Abbott (4): i965/fs: bail on move-to-flag in sel peephole nir/cse: fix bug with comparing non-per-component sources mesa/main: add autogenerated format-info.c to gitignore mesa: add .mesa-install-links files to gitignore Daniel Stone (1): egl: Take alpha bits into account when selecting GBM formats Dave Airlie (80): st/glsl_to_tgsi: fix whitespace r600g/sb: treat undefined values like constants glapi: add ARB_gpu_shader_fp64 (v2) mesa: add ARB_gpu_shader_fp64 extension info (v2) glsl: Add double builtin type mesa: add double uniform support. (v5) glsl: add ARB_gpu_shader_fp64 to the glsl extensions. (v2) glsl: Add double builtin type generation glsl: Uniform linking support for doubles glsl/ir: Add builtin function support for doubles glsl/ir: Add printing support for doubles glsl/ir: Add cloning support for doubles glsl/ir: Add builtin constant function support for doubles glsl/ir: Add builder support for functions with double floats glsl: Add support doubles in optimization passes glsl: Add ubo lowering support for doubles glsl/ast: Support double floats glsl/parser: Support double floats glsl/lexer: Support double floats glsl: Support double inouts glsl: Support double loop control glsl: Linking support for doubles glsl: add double support to lower_mat_op_to_vec glsl: enable/disable certain lowering passes for doubles glsl/lower_instructions: add double lowering passes glsl: implement double builtin functions glsl: lower double optional passes (v2) gallium: add double opcodes and TGSI execution (v4.2) tgsi: add support for flt64 constants softpipe/tgsi: expose doubles for softpipe. glsl: add lowering for double divide to rcp/mul i965: just avoid warnings with fp64 st/glsl_to_tgsi: convert dst to an array mesa/st_tgsi_to_glsl: prepare add_constant for fp64 st/mesa: add st fp64 support (v7.1) docs/GL3.txt: softpipe now supports GL_ARB_gpu_shader_fp64 mesa/st: remove unused TexData st/mesa: drop unused texture function mesa/scissor: fix typos in debug names egl: don't fill client apis string forever. u_primconvert: add primitive restart support mesa: reorder gl_multisample_attrib mesa: reorder gl_point_attrib mesa: reorder gl_texture_unit mesa: reorder gl_client_array mesa: reorder gl_array_attrib mesa: reorder prog_instruction mesa: reorder gl_transform_feedback_object mesa: reorder gl_program, gl_shader, gl_shader_program mesa: reorder gl_image_unit mesa: reduce gl_colorbuffer_attrib and gl_fog_attrib mesa: repack gl_texture_attrib. mesa: fix hole in vertex_array_object mesa: reorder gl_framebuffer mesa: reorder gl_light_attrib i965: define I915_PARAM_REVISION st_glsl_to_tgsi: only do mov copy propagation on temps (v2) egl: add initial EGL_MESA_image_dma_buf_export v2.4 r600g: fix op3 abs issue u_tile: fix stencil texturing tests under softpipe u_tile: fix warnings about incompatible casts. st/mesa: convert sub image for cube map arrays to 2d arrays for upload st/mesa: align cube map arrays layers docs/GL3.txt: update ARB_shader_subroutine status softpipe: fix stencil write to use an integer value mesa: finish implementing ARB_texture_stencil8 (v5) st/mesa: add ARB_texture_stencil8 support (v4) docs: mark off texture_stencil8 (v2.1) egl: image_dma_buf_export - use KHR 64-bit type st/glsl_to_tgsi: fix ir_assignment hack doing bad things for doubles mapi: add GL_ARB_vertex_attrib_64bit support mesa: add ARB_vertex_attrib_64bit to extensions. (v2) glsl: add ARB_vertex_attrib_64bit support. (v2) glsl: track which program inputs are doubles glsl: check total count of multi-slot double vertex attribs mesa/vbo: add support for 64-bit vertex attributes. (v1) st/mesa: add double input support including lowering (v3.1) docs: update ARB_vertex_attrib_64bit status r600: use pipe->hw prim convert from radeonsi i965/cs: drop explicit initialisers in C++ file EdB (8): clover: Add CL_MEM_HOST_* flag checks. clover: make llvm >= 3.5.0 and c++11 mandatory clover: remove pre llvm 3.5.0 compatibility code clover: compile all sources with c++11 clover: remove compat classes that match std one clover: remove compat::string clover: make module::symbol::name a string clover: remove util/compat Eduardo Lima Mitev (12): mesa: Returns correct error values from gl(Get)SamplerParameter*() on GL-ES 3.0+ mesa: Adds check for integer internal format and num samples in glRenderbufferStorageMultisample mesa: Check that draw buffers are valid for glDrawBuffers on GLES3 mesa: Adds missing error condition in _mesa_check_sample_count() mesa: Fix error validating args for TexSubImage3D mesa: Return INVALID_OPERATION when querying a never bound Query obj mesa: Return error if BeginQuery is called with an existing object of different type mesa: Add missing error checks to GetProgramInfoLog, GetShaderInfoLog and GetProgramiv meta: Remove error checks for texture <-> pixel-buffer transfers that don't belong in driver code mesa: Set the correct image size in _mesa_validate_pbo_access() mesa: Separate PBO validation checks from buffer mapping, to allow reuse mesa: Check for valid PBO access in gl(Compressed)Tex(Sub)Image calls Emil Velikov (127): Post-branch version bump to 10.6.0-devel, add release notes template nir: resolve nir.h dependency list (fix make distcheck) nir: add missing header to the sources list configure: rework wayland_scanner handling(fix make distcheck) auxiliary/vl: bring back the VL code for the dri targets glx: do not leak the dri2 extension information automake: Use AM_DISTCHECK_CONFIGURE_FLAGS auxiliary/vl: Build vl_winsys_dri.c only when needed. auxiliary/vl: honour the DRI2PROTO_CFLAGS install-lib-links: remove the .install-lib-links file Add release notes for the 10.4.5 release docs: Add sha256 sums for the 10.4.5 release docs: add news item and link release notes for mesa 10.4.5 egl/main: replace INLINE with inline egl/main: replace __FUNCTION__ with __func__ egl/main: no longer export internal function egl/main: drop the declaration of PUBLIC keyword. egl/drivers: include stdint.h where needed egl/main: remove no-longer needed definition of stdint types mesa/main: update .gitignore mesa: rename format_info.c to format_info.h mesa: fix dependency tracking of generated sources mesa: drop Makefile from get_hash.h dependency list mapi: fix *glapi dependency tracking xmlpool: make sure we ship options.h egl/main: use c11/threads' mutex directly egl/main: convert thread management to use c11 threads configure: require pthreads for POSIX builds glx: remove final reference to THREADS glx: remove support for non-multithreaded platforms util: rework _MSC_VER >= 1200 checks glx: remove unneeded ifdef _WIN32 guard Revert "glx: remove support for non-multithreaded platforms" Revert "glx: remove final reference to THREADS" Revert "configure: require pthreads for POSIX builds" Revert "egl/main: convert thread management to use c11 threads" Revert "egl/main: use c11/threads' mutex directly" Add release notes for the 10.4.6 release docs: Add sha256 sums for the 10.4.6 release docs: Update 10.5.0 release notes docs: Add sha256 sums for the 10.5.0 release docs: add news item and link release notes for mesa 10.4.6/10.5.0 egl/main: use c11/threads' mutex directly egl/main: convert thread management to use c11 threads configure: require pthreads for POSIX builds glx: remove final reference to THREADS glx: remove support for non-multithreaded platforms autogen.sh: pass --force to autoreconf, quote ORIGDIR Add release notes for the 10.5.1 release docs: Add sha256 sums for the 10.5.1 release docs: add news item and link release notes for mesa 10.5.1 loader: include <sys/stat.h> for non-sysfs builds gallium/sw/kms: trivial cleanups auxiliary/os: fix the android build - s/drm_munmap/os_munmap/ st/dri: remove unused include from the automake/scons build r600g: use the tgsi opcode from parse.FullToken.FullInstruction r600g: kill off r600_shader_tgsi_instruction::{tgsi_opcode,is_op3} r600g: constify r600_shader_tgsi_instruction lists. Add release notes for the 10.4.7 release docs: Add sha256 sums for the 10.4.7 release docs: add news item and link release notes for mesa 10.4.7 st/gbm: remove state-tracker winsys/sw/wayland: remove unused winsys winsys/sw/fbdev: remove unused software winsys egl/main: drop platform fbdev specific code docs: update the egl_platforms list gallium/docs: remove information about identity driver galahad: remove driver docs: note the removal of gbm_gallium, galahad and identity egl: cut down static storage size for {Version,ClientAPI}String galahad: actually remove the driver gbm: remove gbm_gallium_drm from the loader makefile: add all headers to the tarball glsl: add the remaining files to the tarball i965: add the remaining files to the tarball configure.ac: move AC_MSG_RESULT reporting back into the m4 macro automake: add missing egl files to the tarball Add release notes for the 10.5.2 release docs: Add sha256 sums for the 10.5.2 release docs: add news item and link release notes for mesa 10.5.2 docs: note that classic osmesa/libEGL no longer builds with scons osmesa: don't try to bundle osmesa.def SConscript xmlpool: don't forget to ship the MOS xmlpool: remove the clean target nir: add nir_builder.h to the tarball configure.ac: error out if python/mako is not found when required gallium: ship tgsi_to_nir.h in the tarball configure: nuke --with-max-{width,height} configure.ac: remove deprecated --with-libclc-path docs: remove the --with-max-{width,height} note Add release notes for the 10.5.3 release docs: Add 256 sums for the 10.5.3 release docs: add news item and link release notes for mesa 10.5.3 radeonsi: remove bogus r600-- triple ilo: remove unused include from Android.mk android: use LOCAL_SHARED_LIBRARIES over TARGET_OUT_HEADERS android: use := operator for assigning MESA_VERSION android: add $(mesa_top)/src include to the whole of mesa android: egl: add libsync_cflags to the build android: dri/common: conditionally include drm_cflags/set __NOT_HAVE_DRM_H android: add gallium dirs to more places in the tree android: add HAVE__BUILTIN_* and HAVE_FUNC_ATTRIBUTE_* defines android: add $(mesa_top)/src/mesa/main to the includes list android: dri: link against libmesa_util android: nir: add build rules for nir_builder_opcodes.h android: build the Mesa IR -> NIR translator android: mesa: fix the path of the SSE4_1 optimisations android: mesa: fold the ARCH_X86_HAVE_SSE4_1 conditionals android: xmlpool: cleanup the generation rules gallium/targets/d3dadapter9: drop the libdrm prefix for drm.h Add release notes for the 10.5.4 release docs: Add sha256 sums for the 10.5.4 release docs: add news item and link release notes for mesa 10.5.4 r300: do not link against libdrm_intel nir: add nir_array.h to the sources list Add release notes for the 10.5.5 release docs: Add sha256 sums for the 10.5.5 release docs: add news item and link release notes for mesa 10.5.5 egl/main: drop support for external egl drivers egl/main: cleanup function prototypes egl/main: Update README.txt egl: fix the EGL_MESA_image_dma_buf_export header declarations egl/main: expose only core EGL functions statically egl/main: fix EGL_KHR_get_all_proc_addresses egl: remove remaining EGL_MESA_copy_context skeleton i965: add brw_cs.h to the sources list glapi: track GL_ARB_program_interface_query.xml Eric Anholt (81): nir: Fix load_const comparisons for CSE. nir: Add algebraic opt for int comparisons with identical operands. i965: Shut up a compiler warning about uninitialized var. i965: Move some asserts to unreachable. i965: Quiet another compiler warning about uninitialized values. r200: Drop unused variable. vc4: Make SF be a flag on the QIR instructions. nir: Add a nir_shader_compiler_options struct pointed to by the shaders. nir: Add an optional expression controlling nir_algebraic xforms. nir: Conditionalize the POW reconstruction on shader compiler options. nir: Add lowering of POW instructions if the lower flag is set. nir: Add a flag for lowering fsqrt(x) to frcp(frsqrt(x)). nir: Add a flag for lowering fneg/ineg. nir: Add a flag for lowering ffma. nir: Add a flag for lowering fsat. nir: Recognize and reduce duplicated fsats. gallium/dri: Shut up a compiler warning. nir: Add an ALU op builder kind of like ir_builder.h vc4: Shut up runtime warnings about new pipe caps. vc4: Rename add_uniform() to qir_uniform(). vc4: Enforce one-uniform-per-instruction after optimization. vc4: Move qir_uniform() and the constant-value versions to vc4_qir.c/h. vc4: Keep an array of pointers to instructions defining the temps around. mesa: Add gallium include dirs to more parts of the tree. gallium/util: Don't include unused debug functions from u_math.h mesa: Use u_math.h from macros.h mesa: Make bitset.h not rely on Mesa-specific types and functions. util: Move Mesa's bitset.h to util/. glsl: Only include mtypes from glsl_types.h for the C++ code that needs it. nir: Drop dependency on mtypes.h for core NIR. nir: Add a couple of simplifications of csel operations. nir: Allow nir_opt_algebraic to see booleanness through &&, ||, ^, !. nir: When faced with a csel on !condition, just flip the arguments. nir: Collapse repeated bcsels on the same argument. nir: Generalize the optimization of subs of subs from 0. r600: Fix build after 984f3069370cd4a347cb38269d430b428385affd vc4: Update to current kernel sources. vc4: Add some useful debug printfs for miptrees. vc4: Make a new #define for making code conditional on the simulator. vc4: Use our device-specific ioctls for create/mmap. vc4: Decide the HW's format before laying out the miptree. vc4: Fix use of a bool as an enum. vc4: Write the alignment of level width consistently in validation. vc4: Fix pitch alignment of linear textures. vc4: Allow DRI3 on simulation, as well. vc4: Add a dump-the-surface-contents routine. nir: Add optional lowering of flrp. vc4: Make integer multiply use 24 bits for the low parts. vc4: Don't bother masking out the low 24 bits for integer multiplies vc4: Add a constant folding pass. vc4: Drop integer multiplies with 0 to moves of 0. mesa: Make a shared header for 3D pipeline enum / #defines. vc4: Tell shader-db how big our UBOs are, if present. gallium: Add tgsi_to_nir to get a nir_shader for a TGSI shader. vc4: Convert to consuming NIR. vc4: Add shader-db dumping of NIR instruction count. nir: Recognize a pattern for doing b2f without the opcode. nir: Recognize a pattern of bool frobbing from TGSI KILL_IF. vc4: Add support for nir_iabs. nir: Add an interface for the builder to insert instructions before. nir: Add an interface to turn a nir_src into a nir_ssa_def. nir: Add a lowering pass for texture projectors. i965: Use the tex projector lowering pass instead of hand-rolling it. vc4: Add missed accounting for the size of the semaphore. vc4: Fix another space allocation mistake. vc4: Sync with kernel changes to relax BCL versus RCL validation. vc4: Skip sending down the clear colors if not clearing. vc4: Remove dead fields from vc4_surface. vc4: Use the blit interface for updating shadow textures. vc4: Add a bunch of type conversions. vc4: Use NIR-level lowering for idiv. vc4: Fix off-by-one in branch target validation. vc4: When asked to sample from a raster texture, make a shadow tiled copy. vc4: Separate out a bit of code for submitting jobs to the kernel. vc4: Move the blit code to a separate file. vc4: Allow submitting jobs with no bin CL in validation. vc4: Add a blitter path using just the render thread. vc4: Hook up VC4_DEBUG=perf to some useful printfs. vc4: Update the shadow texture for public textures on every draw. vc4: Don't try to use color load/stores to do depth/stencil blits. vc4: Don't try to use color load/stores to blit across format changes. Fabian Bieler (1): mesa: Add ARB_tessellation_shader to extension table. Felix Janda (1): c11/threads: Use PTHREAD_MUTEX_RECURSIVE by default Flora Cui (1): gbm: Add GBM_BO_USE_LINEAR flag Francisco Jerez (127): mesa: Rename the CEILING() macro to DIV_ROUND_UP(). mesa: Bump MAX_IMAGE_UNIFORMS to 32. glsl: Return correct number of coordinate components for cubemap array images. glsl: Forbid calling the constructor of any opaque type. i965: Factor out virtual GRF allocation to a separate object. i965: Move IR object definitions to separate header files. i965/fs: Remove dependency of fs_inst on the visitor class. i965/vec4: Remove dependency of vec4_instruction on the visitor class. i965: Move up fs_inst::regs_written to backend_instruction. i965: Move up fs_inst::flag_subreg to backend_instruction. i965/fs: Remove duplicate include of brw_shader.h i965/fs: Fix stack allocation of fs_inst and stop stealing src array provided on construction. i965/fs: Fix fs_inst::regs_written calculation for instructions with scalar dst. i965/vec4: Implement equals() method for dst_reg too. i965/vec4: Initialize vec4_instruction::predicate and ::predicate_inverse. i965/vec4: Pass dst register to the vec4_instruction constructor. i965/vec4: Make vec4_visitor::implied_mrf_writes() return zero for sends from GRF. i965/vec4: Fix the scheduler to take into account reads and writes of multiple registers. i965/vec4: Don't infer MRF dependencies for send from GRF instructions. i965/vec4: Init mlen for several send from GRF instructions. i965/vec4: Add register classes up to MAX_VGRF_SIZE. i965/vec4: Take into account non-zero reg_offset during register allocation. i965: Handle negated unsigned immediate values in constant propagation. i965/vec4: Don't set any dependency control bits for F32TO16 on Gen8. i965: Don't tile 1D miptrees. i965: Allocate binding table space for shader images. i965: Generalize the update_null_renderbuffer_surface vtbl hook to non-renderbuffers. i965/gen7-8: Implement glMemoryBarrier(). i965/vec4: Override destination register writemask in sampler message send. i965/vec4: Fix constant propagation across different types. i965/vec4: Don't attempt to reduce swizzles of send from GRF instructions. i965/fs: Replace ud_reg_to_w() with a more general helper function. i965/gen8: Fix F32TO16 in vec4 mode if the source and destination registers alias. i965: Handle F16TO32/F32TO16 with dword src/dst consistently on both back-ends. i965: Don't compact instructions with unmapped bits. i965/vec4: Calculate register allocation q values manually. i965/fs: Less broken handling of force_writemask_all in lower_load_payload(). i965/fs: Remove logic to keep track of MRF metadata in lower_load_payload(). i965/fs: Fix lower_load_payload() to take into account non-zero reg_offset. i965/fs: Fix lower_load_payload() not to use an incorrect half for immediates and uniforms. ra: Disable round-robin strategy for optimistically colorable nodes. clover: Factor out memory object flags validation to a helper function. clover: Set appropriate flag defaults on memory object creation. i965: Add missing defines for render cache messages. i965: Remove the create_raw_surface vtbl hook. i965: Set nr_params to the number of uniform components in the VS/GS path. i965: Factor out logic to build a send message instruction with indirect descriptor. i965: Don't disable exec masking for sampler message sends. i965: Pass number of components explicitly to brw_untyped_atomic and _surface_read. i965: Mask out unused Align16 components in brw_untyped_atomic. i965: Define some useful swizzle helper functions. i965/vec4: Fix signedness of brw_is_single_value_swizzle() argument. i965/vec4: Don't use GL types in the IR data structures. i965/vec4: Fix signedness of dst_reg::writemask. i965: Fix signedness of backend_reg::reg_offset. i965/vec4: Simplify opt_reduce_swizzle() using the swizzle utils. i965/vec4: Simplify reswizzle() using the swizzle utils. i965/vec4: Simplify opt_register_coalesce() using the swizzle utils. i965/vec4: Simplify visitor handling of swizzles using the swizzle utils. i965/vec4: Remove broken vector size deduction in setup_builtin_uniform_values(). i965/vec4: Remove swizzle_for_size() in favour of brw_swizzle_for_size(). i965/vec4: Pass argument by reference to src_reg/dst_reg conversion constructors. i965/vec4: Improve src_reg/dst_reg conversion constructors. i965/vec4: Some more trivial swizzle clean-up. i965/vec4: Remove unused method definition. Revert "i965/vec4: Don't lose the saturate modifier in copy propagation." i965/vec4: Don't lose copy propagation saturate bits for not written components. i965/vec4: Fix broken saturate mask check in copy propagation. i965/vec4: Add argument index and type checks to SEL saturate propagation. i965/vec4: Trivial copy propagate clean-up. i965/vec4: Remove dependency of vec4_live_variables on the visitor. i965: Define method to check whether a backend_reg is inside a given range. i965/vec4: Fix handling of multiple register reads and writes in opt_register_coalesce(). i965/vec4: Fix handling of multiple register reads and writes in split_virtual_grfs(). i965/vec4: Fix handling of multiple register reads and writes during copy propagation. i965/vec4: Fix handling of multiple register reads and writes in opt_cse(). i965/vec4: Don't lose the force_writemask_all flag during CSE. i965/vec4: Define helper functions to convert a register to a variable index. i965/vec4: Define helpers to calculate the common live interval of a range of variables. i965/vec4: Calculate live intervals with subregister granularity. i965/vec4: Fix handling of multiple register reads and writes in dead_code_eliminate(). i965: Add helper functions to calculate the slice pitch of an array or 3D miptree. i965/gen7: Factor out texture surface state set-up from gen7_update_texture_surface(). i965/gen8: Factor out texture surface state set-up from gen8_update_texture_surface(). i965: Fix the untyped surface opcodes to deal with indirect surface access. i965: Simplify generator code for untyped surface messages. i965: Don't request untyped atomic writeback message if the destination is null. i965/vec4: Add support for untyped surface message sends from GRF. i965: Pass the number of components as a source of the untyped surface read opcode. i965: Reorder sources of the untyped atomic opcode. i965: Add untyped surface write opcode. i965: Add typed surface access opcodes. i965: Add memory fence opcode. mesa: Export shader image format to mesa format conversion function. mesa: Add extern "C" guards to shaderimage.h to allow inclusion from C++ code. mesa: Add support for binding a buffer texture to a shader image unit. mesa: Call _mesa_test_texobj_completeness() before using _MaxLevel in image validation. mesa: Validate original image internal format rather than derived mesa format. mesa: Implement image uniform queries. mesa: Initialize image units to default state on context creation. mesa: Update image unit state when glBindImageTexture is called with texture=0. glsl: Forbid opaque variables as operands of the ternary operator. glsl: Split off memory qualifiers from storage qualifiers. glsl: Forbid use of image qualifiers in declarations of type other than image. glsl: Error out on invalid uses of the early_fragment_tests layout qualifier. glsl: Keep track of the early_fragment_tests flag in gl_shader. i965: Introduce the BROADCAST pseudo-opcode. i965: Perform basic optimizations on the BROADCAST opcode. i965: Introduce the FIND_LIVE_CHANNEL pseudo-opcode. i965: Perform basic optimizations on the FIND_LIVE_CHANNEL opcode. i965: Define helper function to copy an arbitrary live component from some register. i965: Fix variable indexing of UBO arrays under non-uniform control flow. i965: Fix variable indexing of sampler arrays under non-uniform control flow. i965/fs: Fix passing an immediate to half(). i965: Document brw_mask_reg(). i965: Don't forget the force_sechalf flag in lower_load_payload(). i965/fs: Fix offset() for registers with zero stride. i965/fs: Have component() set the register stride to zero. nir: Define image load, store and atomic intrinsics. nir: Add memory barrier intrinsic. nir: Fix indexing of atomic counter arrays with a constant value. nir: Translate image load, store and atomic intrinsics from GLSL IR. nir: Translate memory barrier intrinsics from GLSL IR. clover: Refactor event::trigger and ::abort to prevent deadlock and reentrancy issues. clover: Wrap event::_status in a method to prevent unlocked access. clover: Implement locking of the wait_count, _chain and _status members of event. i965: Fix PBO cache coherency issue after _mesa_meta_pbo_GetTexSubImage(). Frank Henigman (1): intel: fix EGLImage renderbuffer _BaseFormat Fredrik Höglund (42): mesa: Make sure the buffer exists in _mesa_lookup_bufferobj_err mesa: Implement CreateVertexArrays mesa: Add _mesa_lookup_vao_err mesa: Keep track of the last looked-up VAO mesa: Implement DisableVertexArrayAttrib mesa: Implement EnableVertexArrayAttrib mesa: Implement VertexArrayElementBuffer mesa: Add a vao parameter to bind_vertex_buffer mesa: Implement VertexArrayVertexBuffer mesa: Implement VertexArrayVertexBuffers mesa: Refactor VertexAttrib[I|L]Format mesa: Add a vao parameter to update_array_format mesa: Implement VertexArrayAttrib[I|L]Format mesa: Add a vao parameter to vertex_attrib_binding mesa: Implement VertexArrayAttribBinding mesa: Add a vao parameter to vertex_binding_divisor mesa: Implement VertexArrayBindingDivisor mesa: Implement GetVertexArrayiv mesa: Add a vao parameter to get_vertex_array_attrib mesa: Add support for querying GL_VERTEX_ATTRIB_ARRAY_LONG mesa: Implement GetVertexArrayIndexed[64]iv docs: Update the ARB_direct_state_access status main: Require that the texture exists in framebuffer_texture mesa: Generate GL_INVALID_VALUE in framebuffer_texture when layer < 0 mesa: Add an extension flag for ARB_direct_state_access mesa: Make GL_TEXTURE_CUBE_MAP valid in FramebufferTextureLayer mesa: Add ARB_direct_state_access checks in XFB functions mesa: Add ARB_direct_state_access checks in buffer object functions mesa: Add ARB_direct_state_access checks in FBO functions mesa: Add ARB_direct_state_access checks in renderbuffer functions mesa: Add ARB_direct_state_access checks in texture functions mesa: Add ARB_direct_state_access checks in VAO functions mesa: Add ARB_direct_state_access checks in sampler object functions mesa: Add ARB_direct_state_access checks in program pipeline functions mesa: Add ARB_direct_state_access checks in query object functions i915: Enable ARB_direct_state_access i965: Enable ARB_direct_state_access st/mesa: Enable ARB_direct_state_access docs: Update the ARB_direct_state_access status docs/relnotes: Mark off ARB_direct_state_access for 10.6 st/mesa: Flush the bitmap cache in st_BlitFramebuffer mesa: Check the lookup_framebuffer return value in NamedFramebufferRenderbuffer Gediminas Jakutis (1): gallium/hud: add more options to customize HUD panes Giuseppe Bilotta (4): gallium: remove trailing whitespace in p_screen.h gallium: introduce get_device_vendor() entrypoint for pipes gallium: implement get_device_vendor() for existing drivers clover: use get_device_vendor instead of get_vendor Glenn Kennard (4): r600g: Implement GL_ARB_draw_indirect for EG/CM