Tag '7.9-branchpoint' created by Eric Anholt <e...@anholt.net> at 2014-03-28 07:04 +0000
Mesa 7.9 branchpoint -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABCAAGBQJTNR7mAAoJELXWKTbR/J7okzsP/RbZTtEEdzN4qkFWmrf6xjiN mPAvLN7mTHzFPuhbJhxLvAFVcAiEGnbmR+vHy6rARc3BN6XL3SxmyqqwKUVPNTXN GLQYNVktPJkzL0NDF8JUu6jHZ2uytLqna3ppNrAAoRyg/Pv4dDW+Xa8G3VZ7mTLV bV5pqOis2NUfiPNQZcs579jpvnspMIuolfyXld60EMDHtOKPuCxcjd9q+aB+Yurq elOvslLdBnb59IsNOG1Up3alCjs5+KfmFRUF7HbeHn9uCdvoYLTbI3dwEt+RIWPF b/kbd0p+wsBpDz7Fp34LiW/x4LU+4T6PsHEOm0Vw0hcRMBRTUjvrf29Arn1VkLLV mbQ2S7SUO2Nyx7RTjgiEIct2YxZr8+h4KbdlcUBesXMEaBe9eo1FiczKe/WIhWYW Tt8RzF+9nnzmZ0j/MqMOx345GLCN2QlxMFje4wR8EK5I79EFuXCjYHOSZe5OH22U /oD3bz+Zf53QofLOmg0sjxTBK0rMA6dDfvlW8Yf60iTx5Gw6Vdh8cjTsDp8gSERa 4v+TloFuLdB3cFdv865D5l+X1szXYfcpdChyE9tYJk6pU5zisY6K2NyR6C3ETMHH N1QyzRgyYiL9ePIlki6BD9jCJVCGl8glFax57EMlVGkRgzYegqVzz6YLQ05GmlUw UTqNorl9GKYN7TwLAwOq =fV7s -----END PGP SIGNATURE----- Changes since 7.8-branchpoint: Adam Jackson (1): x86-64: Make assembly routines .hidden like on x86 Alan Coopersmith (3): glx/single2.c: Don't call __builtin_expect on non-gnu compilers mklib: Fix amd64 builds on Solaris when using Sun compilers fpclassify is available on C99-compliant Solaris releases too Alan Hourihane (11): Add format B5G5R5X1 gallium: disable tests when using embedded build llvmpipe: disable half float formats llvmpipe: silence warning llvmpipe: update for half float formats gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOP mesa: silence compiler warning draw: handle some out of memory conditions draw: add alloc check util: add alloc check llvmpipe: ensure all bins are reset avoids memory corruption. Alex Corscadden (3): trace: Trace the correct version of the resource when setting the index buffer. trace: Don't immediately destroy the pipe's sampler view in the trace driver. Add a test for the KIL opcode Alex Deucher (40): r600: no need to flush on context init r600: recalculate point size, if point min/max size changes radeon/r200/r600: reset bos when validating buffers during blit radeon/r200/r600: allow src and dst BOs to be placed in GTT during blit radeon/r200/r600: enable HW accelerated gl(Read/Copy/Draw)Pixels r100: add additional blit formats r200: add additional blit formats r200: support additional blit formats r100/r200/r300/r300: only enable accelerated pixel ops with kms r100/r200/r300/r600: enable accel for Copy/DrawPixels without kms r600: avoid setting invalid bit on r7xx for blits r600: add support for more rendering formats r300g: fix vertex unit setup r600g: RS880 is r6xx-based radeon: allow driconf vblank settings with dri2 r600: fix typo in r700 assembler r600: add span support for 2D tiling r600: add new relocs for tiling support r600: add support for getting the tiling config via drm ioctl (v2) r600c: tiling require drm 2.6.0, not 2.5.0 r600c: blit emit updates r600c: fix dword miscount in blit emit code r600g: update comments about ALU src operands radeon: print chip family for evergreen in renderer string r600g: fix up default state differences between r6xx and r7xx r600c: emit DB_HTILE_DATA_BASE on evergreen r600c: add proper returns for some evergreen functions r600c: add support for more rendering formats on evergreen r600c: fix type in cb setup on evergreen r600c: fix some typos r600c: emit start3d packet on evergreen r600c: add blit support for evergreen r600c: oq updates r600c: add OQ support for evergreen r600c: add missing header r600c: remove redundant state emit on evergreen r600c/eg: emit CB_BLEND_ALPHA with the other blend values r600c/eg: remove unused emit timestamp function r600c/eg: remove obselete comment r600c: const buffer sizes must be a multiple of 16 consts Alex Kozlov (1): mesa: fpclassify dummy definition is not needed on FreeBSD. Andre Maasikas (27): r600: adjust point sprites after 911fa4a4a1 r600: enable VERT_RESULT_PSIZ - makes point size & attenuation work r600: workaround 3 comp GL_SHORT vertex attribute format on r700 r600: since 8744c36e added asserts - use another random register for shader with no output r600: fix sin,cos functions on r600 r600: relax stride/alignment requirements for vertices r600: bump glsl version radeon: fix npot mipmap alignment on r600 r600: add support for draw_elements_base_vertex r600: implement DP2 opcode r600: implement SSG instruction r600: fix vertex buffer size calculation r600: cube mipmap levels are aligned to 8 faces only starting from r7xx r600: fix rsq from negative input r600: handle LIT writemask r600: allow relative addressing of temps, inputs, outputs r600: remove mask from output intructions r600: protect cleanup instructions from double free r600: remove depth exports move, just set to output x <- z in the export intruction r600: add TXL instruction and note about TXB r600: dont bswap rgba FLOAT formats r600: set correct initial point_minmax values r600c: remove stray unmap call r600c: eg - fix uninitialized variable r600c: eg: 256 float4 constants may need more than 256 bytes r600c: eg: fix typo r600c: fix setting negative values to bitfields Andrew Randrianasulu (2): dri/nouveau: Trivially add GL_NV_blend_square dri/nv04: GL_EXT_secondary_color Aras Pranckevicius (12): glsl2: Fix stack smash when ternary selection is used. glsl2: initialize is_array and array_size of ast_parameter_declarator glsl2: Give the path within src/mesa/ for headers instead of relying on -I. glsl2: Set ir_discard::ir_type when cloning it glsl2: add gl_LightModel built-in uniform. copy_propagation: do propagation into non-out call params ir_function_inlining: Fix missing iter.next() in inlining sampler params. glsl: fix missing return in ir_structure_splitting glsl2: do not use __retval name; two underscores is reserved word according to GLSL spec (and Win7 ATI drivers do complain about that) mesa: Fix msvc build of glsl. glsl/mesa: fixes for MSVC glsl: fix crash with variable indexing into array in a struct Bas Nieuwenhuizen (4): r600g: various fixes r600g: added code for depthtesting r600g: added literals where needed for POW instruction r600g: use the values from the correct literals Ben Skeggs (29): nv50: use relocs rather than re-uploading TIC all the time nv50: rework state emission nv50: ensure enough room for state changes in current pushbuf nv50: always emit dummy relocs for all still-referenced buffers nv50: remove horrific abuse of nouveau_channel.flush_notify nv50: remove pre_pipebuffer_map hack.... nv50: avoid unnecessary vp/gp/fp state changes nv50: move magic 0x142c stuff to after state emission nv50: make use of scissor enable/disable method nv50: rip out inline push draw paths temporarily nv50: reimplement draw_arrays_instanced(), do draw_arrays() in terms of it nv50: reimplement draw_elements_instance(), use for draw_elements() too nv50: when doing inline indices, split elt lists so they fit into pushbuf nv50: re-add immediate mode vertex submission paths nv50: add option to force immediate-mode submission, disable by default nv50: move nv50_prim() into a header file rather than duplicating nv50: remove unnecessary macro nv50: remove nv50_context.state.instbuf nv50: inline nv50_state_flush_notify() nouveau: translate PIPE_BUFFER_USAGE_UNSYNCHRONIZED nv50: reset vbo_fifo before each validate nv50: fix texturing from >=4GiB mark st/mesa: use BITFIELD64_BIT to access shader OutputsWritten in more places nv50: fix assertion that caused piglit texturing/texrect-many to fail nouveau: allow multiple simultaneous maps of a pipe_transfer nouveau: Import latest nouveau_class.h from renouveau nv50: use MARK_RING correctly nv50: fix typo from gallium-msaa merge nvfx: fix typo from gallium-msaa merge Benjamin Franzke (2): targets/egl: rename pipe_radeon to pipe_r300 targets/egl: add pipe_r600 Benjamin Segovia (3): i965: Improve (i.e. remove) some grf-to-mrf unnecessary moves mesa: more/better program optimizations prog_optimize: Only merge writes to temporary registers Brian Paul (786): gallium: added util/u_sampler.c to Makefile gallium/util: rewrap comment to fit in 80 columns mesa: bump version to 7.9 docs: skeleton for 7.9 release notes Merge branch '7.8' llvmpipe: rewrap for 80 columns llvmpipe: define max texture levels softpipe: define SP_MAX_TEXTURE_2D/3D_LEVELS i965g: define BRW_MAX_TEXTURE_2D/3D_LEVELS i915g: define I915_MAX_TEXTURE_2D/3D_LEVELS svga: s/PIPE_MAX_TEXTURE_LEVELS/SVGA_MAX_TEXTURE_LEVELS/ r300g: define R300_MAX_TEXTURE_LEVELS nv: define NV30/40/50_MAX_TEXTURE_LEVELS llvmpipe/gallivm: checkpoint: array of pointers to mipmap levels vega: remove redundant DEFINES from .c.o rule gallium: update some comments, remove others which are superfluous cell: fix up assorted compilation problems gallivm: checkpoint: nearest mipmap filtering Merge branch '7.8' st/mesa: consolidate duplicated texture allocation code st/mesa: add some comments in glReadPixels code st/mesa: set strb->format field in st_render_texture() mesa: added new function comments mesa: raise an error when trying to bind non-existant texture to FBO progs/tests: add additional FBO->window test paths (disabled) progs/trivial: added clear-fbo-scissor.c to test scissored clear of FBO progs/trivial: add -t (RTT) option for clear-fbo-scissor.c softpipe: fix memcpy params to avoid static analysis warnings progs/trivial: make clear-fbo-scissor.c work with other GL drivers progs/trivial: use -c option to use glCopyPixels() llvmpipe: fix loop over mipmap levels gallivm: remove debug code. nearest minification works now. gallivm: implement bilinear sampling with nearest mipmapping gallivm: constant building for scalar zero gallivm: handle scalar floats in lp_build_floor() and lp_build_iround() gallivm: overhaul of texture sampling code svga: use memset() to initialize u to avoid warnings gallium/util: use memset() to initialize vars to avoid warnings gallivm: move declarations to silence unused var warnings gallivm: include tgsi_dump.h to silence warning gallivm: fix some bugs on the 1D texture paths gallium/os: wrapper for llvm-c/Core.h and #define HAVE_LLVM if needed gallivm/llvmpipe: include os_llvm.h instead of llvm-c/Core.h llvmpipe: fix comment typo gallivm/llvmpipe: replace 'int stride' with 'int row_stride[MAX_LEVELS]' progs/demos: added 'f' key to toggle filtering mode in stex3d.c gallivm: enable 3D texture sampling softpipe: tighten up the code in sample_cube() softpipe: further tighen up sample_cube() gallivm: added lp_build_sum_vector() gallivm: checkpoint WIP cubemap code gallivm: support non-vector float in lp_build_sgn() gallivm: fix bugs in nested if/then/else codegen gallivm: cube map sampling works now gallivm: fix incorrect floor(), itrunc() gallivm: fix incorrect clamp in lp_build_linear_mip_levels() gallivm: implement minification/magnification selection gallivm: asst clean-ups, comments, etc. gallivm: add min_lod==max_lod special-case code in lp_build_lod_selector() gallivm: fix typo/bug in lp_build_sgn() progs/objviewer: remove debug code llvmpipe: updated status in README file gallivm/llvmpipe: rename os_llvm.h to lp_bld.h gallivm: fix up some #includes gallivm/llvmpipe: rename some constant building functions gallivm: checkpoint: stencil test code regenerate gl_mangle.h to get new EGLImage functions gallium: add target-helpers/wrap_screen.c to C_SOURCES cell: add missing semicolon cell: build identity driver too glapi: fix assorted warnings progs/samples: silence warnings Merge branch '7.8' progs/samples: improve copy.c demo st/mesa: plug in default for pipe_context::surface_copy() if needed llvmpipe: remove -m32 flag from linux-llvm config llvmpipe: break lines llvmpipe: added stencil ref values to jit context state llvmpipe: use new LP_JIT_CTX_ enums for jit context field positions gallivm/llmvpipe: pass stencil refs state into z/stencil build code gallivm/llvmpipe: more asst changes for stencil testing llvmpipe: silence some pointer/casting warnings gallivm: added lp_build_andc() llvmpipe: remove incorrect depth test check gallivm/llvmpipe: basic stencil testing works progs/trivial: added comments llvmpipe: set opaque = FALSE if stencil enabled gallivm: checkpoint WIP two-sided stencil test gallivm/llvmpipe: simplify front/back stencil ref value handling llvmpipe: defines for RAST_WHOLE, RAST_EDGE_TEST gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass through progs/tests: comments and clean-ups gallivm: fix broken INCR/DECR stencil modes progs/tests: also test stencil INCR_WRAP mode if supported gallivm: support PIPE_FORMAT_Z24S8_UNORM in depth/stencil code es: added -I$(TOP)/include path gallivm: simplify and clean-up Z/stencil bit mask/shift code mesa: added GL3 ContextFlags field and query code mesa: added GL3 buffer attachment aliases mesa: added new GL3 buffer object queries mesa: added missing glGet query for GL_MAX_ARRAY_TEXTURE_LAYERS_EXT mesa: added GL3 query for GL_TEXTURE_SHARED_SIZE docs: note GL_EXT_packed_float, GL_EXT_shared_exponent extensions mesa: remove return, do as the comment says Merge branch '7.8' glslcompiler: fix build breakage glslcompiler: fix build again st/mesa: rename st_framebuffer() to st_ws_framebuffer() st/glx: fix depth/stencil format selection code Merge branch '7.8' glslcompiler: added option to do linking of vert/frag shaders st/glx: add support for multiple displays swrast: improve depth texture mipmap selection st/mesa: return GL_TRUE/GL_FALSE if return type is GLboolean st/mesa: rename st_clear() to st_Clear() st/mesa: code clean-ups, formatting fixes, comments, etc st/mesa: fix sampler_view destruction bug when texture is shared st/mesa: fix typo in prev commit progs/glsl: silence warnings, remove debug code, adjust window size, etc progs/glsl: remove/replace //-style comments progs/demos: add other modes/patterns to dissolve demo llvmpipe: fix texture reference counting bug llvmpipe: added lp_fence_signal() llvmpipe: call lp_fence_signal() llvmpipe: optimize the lp_setup_fence() function llvmpipe: fix up some questionable fence code llvmpipe: disable an assertion Revert "llvmpipe: optimize the lp_setup_fence() function" Merge branch '7.8' mesa: only call _mesa_update_state() when necessary in glGet functions glsl: remove rcp from sqrt() glsl: avoid using rcp in length() functions progs/glsl: improve the mouse drag/rotate code a little gallivm: use constant size array, added assertion check mesa: simplify query code with get_query_binding_point() mesa: initial data structures for transform feedback mesa: add EXT_transform_feedback to extension list mesa: add transform feedback queries mesa: initial check-in of transform feedback functions mesa: add transformfeedback.c to build mesa: plug in transform feedback functions, set limits mesa: add new query/buffer targets for transform feedback mesa: added glEnable/Disable state for transform feedback mesa: added glGet queries for transform_feedback glsl: add more vertex/fragment output info helpers glsl: pass datatype to _mesa_add_varying() mesa: make _mesa_copy_string() non-static glsl: append built-in, used varying vars to the varying vars list mesa: minor fixes in _mesa_GetTransformFeedbackVarying() docs: update GL3 / GL_ARB_fragment_coord_conventions status glsl: do extra link checking for transform feedback glsl: remove obsolete comment gallium: remove old comment about return values gallium/util: remove extraneous semicolon glsl: fix bad return value in link_transform_feedback() llvmpipe: limit max texture size to 2Kx2K for now glapi: fix error message glapi: new EXT_transform_feedback.xml file glapi: include/build EXT_transform_feedback.xml glapi: regenerated files for EXT_transform_feedback mesa: plug in GL_EXT_transform_feedback functions into dispatch mesa: display list support for GL_EXT_transform_feedback glapi: ARB_draw_instanced.xml file glapi: plug in ARB_draw_instanced.xml glapi: regenerated files for GL_ARB_draw_instanced mesa: new extension flag for GL_EXT/ARB_draw_instanced mesa: new validation functions for GL_ARB_draw_instanced mesa: implement core Mesa support for GL_ARB_draw_instanced st/mesa: call pipe_context::draw_arrays/elements_instanced() mesa: don't turn on GL_EXT_transform_feedback yet docs: update status of transform feedback and instanced drawing util: added util_dl_error() mesa: check for _NEW_BUFFERS for color read format queries i965g: change value of VERT_RESULT_PSIZ hack to avoid warnings mesa: remove unused var mesa: added Makefile.egl to GALLIUM_FILES st/mesa: put fragment wpos code into separate function st/mesa: reformatting gallium/draw: add additional DRAW_LLVM check draw: init draw->pt.middle.general = NULL just to be safe st/mesa: new assertions to check array indexes Merge branch '7.8' llvmpipe: fix transposed stencil ref / values comparison mesa: add -D__STDC_CONSTANT_MACROS to linux-llvm progs/tests: new stencilreaddraw.c test progs/tests: added stencilreaddraw to SConscript, Makefile llvmpipe: comments for fence functions gallivm: remove some old stuff softpipe: formatting fixes and comments gallium: comments and whitespace fixes Merge the lp-surface-tiling branch into master. softpipe: s/template/templat/ to avoid potential C++ issues st/mesa: add prototype for st_bufferobj_validate_usage() softpipe: rename vars, update comments, etc llvmpipe: print_triangle() func (disabled) llvmpipe: additional texture assertion llvmpipe: make sure state is up to date before getting vertex layout/info llvmpipe: flush upon PIPE_FLUSH_TEXTURE_CACHE too llvmpipe: check for dirty context state in lp_setup_update_state() llvmpipe: plug in draw's polygon stipple stage gallivm: init some vars to silence warnings llvmpipe: rename vars, update comments for texture->resource changes gallivm/llvmpipe: move lp_bld_interp.c to llvmpipe/ directory gallivm/llvmpipe: move lp_bld_depth.[ch] to llvmpipe/ directory gallivm/llvmpipe: move lp_bld_alpha.c to llvmpipe/ directory gallivm/llvmpipe: move lp_bld_blend* files to llvmpipe/ directory llvmpipe: updated #includes llvmpipe: fix compilation, linking of lp_test_blend llvmpipe: remove unneeded break stmt gallium/draw: fix breakage from moving lp_bld_* files llvmpipe: use unsigned type to avoid warnings llvmpipe: remove unneeded declaration (which caused a warning) llvmpipe: clean-up lp_surface_copy() llvmpipe: work-around an LLVM bug llvmpipe: fix linking for lp_test_blend llvmpipe: fix color masking nvfx: move declarations before code to silence warnings llvmpipe: update comment nvfx: move declarations before code nvfx: fix void * arithmetic warning nvfx: move declarations before code softpipe: document MAX_QUADS softpipe: clean-up and comments softpipe: fix computation of fragment[FACE] attribute tgsi: replace 0xf with TGSI_WRITEMASK_XYZW softpipe: new comment and assertion for face value tgsi: add comment about potential code removal st/mesa: s/st_get_stobj_sampler_view/st_get_texture_sampler_view/ st/mesa: s/st_sampler_view_from_texture/st_create_texture_sampler_view/ st/mesa: s/st_renderbuffer_get_sampler_view/st_get_renderbuffer_sampler_view/ st/mesa: remove st_texture_object::pipe field st/mesa: s/st_get_texobj_texture/st_get_texobj_resource/ st/mesa: s/st_get_stobj_texture/st_get_stobj_resource/ Merge branch '7.8' softpipe: add option to do polygon stipple in softpipe vs. draw module gallium/draw: use a local var to simplify some code llvmpipe: triangle function comments mesa: unmap the immediate mode VB before destroying it gallium/util: specify binding type for blit src texture llvmpipe: fix surface memory allocation bug docs: add links to old mailing list archives glext: upgraded to version 61 glxext.h: upgraded to 2010/02/10 version docs: document updated glext.h and glxext.h files mesa: start adding GL 3.1 signed normalized texture formats docs: update some GL3 status util: fix assorted problems in the image packing functions st/mesa: fix strides in (de)compress_image() functions Merge branch '7.8' st/mesa: try to get actual compressed format for GL_COMPRESSED_RGB[A] formats st/mesa: 80-column wrapping st/mesa: call is_format_supported() for compressed formats st/mesa: rename var and update st_choose_format() comments mesa: move/rename is_depth_or_stencil_format() llvmipe: update comments llvmpipe: comment-out unused field for now llvmpipe: added llvmpipe_resource_size() llvmpipe: implement max scene size llvmpipe: remove lp_scene_map_buffers(), lp_scene_unmap_buffers() osmesa: don't need to link with -lGL osdemos: replace assertion with error handler osmesa: update SRC_DIRS to fix build Merge branch '7.8' st/mesa: fill in stImage->level in st_generate_mipmap() st/mesa: fix incorrect RowStride computation gallium/util: convert //-style comments gallium/util: convert //-style comments gallium: remove trailing comma progs/demos: added code to test compressed mipmap generation (disabled) softpipe: use consistant names for local vars Merge branch '7.8' st/mesa: add missing debug entry for DEBUG_CONSTANTS st/mesa: move/improve Mesa GPU program debugging llvmpipe: remove unused write_depth softpipe: consolidate tex image offset code draw: add missing function parameter draw: put 'create' in the vs varient create function names draw: use a cast wrapper llvmpipe: dump shaders if LP_DEBUG=tgsi llvmpipe: remove some unneeded shader structure fields llvmpipe: make sampler-related functions static, clean-up initializations llvmpipe: make blend-related functions static, clean-up initializations llvmpipe: make vertex-related functions static, clean-up initializations llvmpipe: make draw-related functions static, clean-up initializations llvmpipe: make clip-related functions static, clean-up initializations llvmpipe: make shader-related functions static, clean-up initializations llvmpipe: remove old prototypes, fix-up formatting llvmpipe: update comments, fix formatting llvmpipe: make rasterizer-related functions static, clean-up initializations llvmpipe: move/rename llvmpipe_init_surface_functions() llvmpipe: remove unused psize_slot field llvmpipe: fix surface memory leak during tear-down llvmpipe: fix mem leak in llvmpipe_resource_destroy() llvmpipe: fix scene queue memory leak llvmpipe: fix scene queue memory leak llvmpipe: free vertex buffer memory in lp_setup_vbuf_destroy() draw: remove extra semicolons llvmpipe: another fix for surface memory allocation llvmpipe: checkpoint: fixes for render to 3D texture llvmpipe: fix rendering to 3D textures llvmpipe: consolidate some code in llvmpipe_set_texture_image_layout() llvmpipe: get 3D texture image stride from an array rather than computing it gallivm: pass 3D texture stride as an array llvmpipe: use llvmpipe_resource_stride() llvmpipe: remove dead code glapi: GL 3.x xml file llvmpipe: remove call to llvmpipe_set_texture_image_layout() nv50: add missing idxbias param to nv50_push_elements_instanced() gallium: replace pipe_resource::_usage with pipe_resource::usage progs/tests: asst. changes to antialias.c gallium/util: remove bogus return statement nv50: fixed void pointer arithment warning nv50: move declaration before code llvmpipe: remove dead code/comment llvmpipe: rename mode -> interp llvmpipe: fix incorrect front-facing value for fragment shader llvmpipe: fix comment/typo llvmpipe: fix depth+stencil logic error mesa: raise GL_INVALID_OPERATION for glReadPixels(GL_COLOR_INDEX) mesa: better, smaller error handling code for glEnable/Disable/IsEnabled() mesa: better, smaller error handling code for glGet*() llvmpipe: whitespace fix llvmpipe: fix cube face addressing bug llvmpipe: remove debug code and simplify llvmpipe: code consolidation st/mesa: ignore gl_texture_object::BaseLevel when allocating gallium textures mesa: remove some comments mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK query mesa: API and state for GL 3.1 primitive restart mesa: do version checking for GL 3.x queries st/glx: variable 'i' is an enum llvmpipe: consolidate texture memory allocation code gallium/draw: use local var to simplify code gallium/draw: fix point sprite handling softpipe: call draw_wide_point_sprites() gallivm: implement TGSI KILP llvmpipe: add missing dependency in Makefile progs/glsl: better comments gallivm: emit_instruction() is boolean gallivm: fix copy&paste error: s/cont_stack_size/break_stack_size/ gallivm: added some assertions in loop-gen code Merge branch '7.8' mesa: sort texel fetch/store table by format index st/mesa: refactor depth/stencil format selection code st/mesa: consolidate code for finding supported formats gallium: fix comment language, remove dangling comment gallium/docs: many updates to screen.rst progs/tests: asst. improvements to zreaddraw.c st/mesa: fix binding flags in st_ChooseTextureFormat() st/mesa: assert that binding flags are properly set for drawing surfaces gallivm: remove Z/stencil special case code in lp_build_sample_offset() gallium: use better param name llvmpipe: move LP_MAX_TEXTURE_x_LEVELS, etc to lp_tile_size.h llvmpipe: rename lp_tile_size.h to lp_limits.h llvmpipe: rename MAXWIDTH, MAXHEIGHT llvmpipe: increase max 2D texture / surface size to 4K x 4K llvmpipe: rename texture refs to resource refs mesa: faster, simpler is_compressed_format() mesa: make is_compressed_format() non-static st/mesa: get rid of default_deep_rgba_format() st/mesa: don't set RENDER_TARGET/DEPTH_STENCIL flag for compressed textures st/mesa: replace 'usage' with 'bindings' to be consistent st/mesa: replace 'usage' with 'bindings' st/mesa: re-do binding flags in st_ChooseTextureFormat(), again gallium/draw: remove old comment gallium/failover: include u_memory.h for MALLOC, FREE mesa: simplify some code in _mesa_generate_mipmap() st/mesa: clean-up: use st_context() everywhere st/mesa: remove unneeded #includes and add/update comments st/mesa: minor improvements in fallback_generate_mipmap() gallium/util: document that pack/unpack strides are in bytes softpipe: compressed formats can't be render targets xlib/sw: remove stray semicolon st/mesa: checkpoint WIP: mipmap generation for compressed textures mesa: another transform feedback error check, 80-col wrapping mesa: print enum name instead of hexadecimal value in glGet errors glxinfo: add queries and reporting for float and sRGB buffer types egl: remove duplicate ARRAY_SIZE() macro declaration mesa: enum bitfields are a gcc-only feature, use GLubyte tgsi: add a dummy function to silence warning mesa: silence void * / func * conversion warnings mesa: more info in glUniform error messages tgsi: clean up in emit_fetch() gallivm: comments, const qualifiers gallivm: added lp_sizeof_llvm_type() gallivm: added some vector length sanity checks rbug: remove extra semicolon st/mesa: call st_flush_bitmap_cache() from st_readpixels() llvmpipe: fix texture/display target memory leak gallivm: add some assertions in special-case sampler code cso: remove commented-out code, update function docs mesa: added _mesa_print_framebuffer() for debugging st/mesa: remove unused/disabled code llvmpipe: added lp_build_sample_nop() for debugging llvmpipe: fix out-of-bounds texture sampling st/mesa: restore original last_layer comparison st/mesa: remove dead code Revert "glapi: s/strcpy/strncpy/" glsl: change variable declared assertion into conditional st/mesa: updated comment progs/demos: check for GL_ARB_imaging if convolutions is requested st/mesa: remove unsupported convolution code st/mesa: remove old convolution-related vars and min pitch code st/mesa: move some texture size calculation code st/mesa: updated comments for st_texture_image_map() st/mesa: consolidate and clean-up texture memory allocation code st/mesa: rename srcImageStride -> srcRowStride and fix-up formatting st/mesa: updated comments and fix some formatting in texture storage code st/mesa: remove unused needFlush parameter to st_finalize_texture() st/mesa: remove dead code gallium: move framebuffer utility functions into a new file cso: use framebuffer utility functions gallium: move surface utility functions into u_surface.c mesa: increase MAX_DRAW_BUFFERS to 8 st/mesa: improved st_texture_image_copy() st/mesa: return success/fail from guess_and_alloc_texture() progs/demos: set line width back to 1.0 in DrawBox() llvmpipe: add some tests for malloc() returning NULL. llvmpipe: do some null pointer checking gallium/util: added is_format_compressed() llvmpipe: fix broken compressed cube maps st/mesa: need to pass srcLevel to st_texture_image_copy() draw: Adjust wideline vertex coords for D3D. llvmpipe: predicate LLVMDumpModule() on DEBUG_JIT mesa: remove trailing comma in enum list mesa: add a dummy definition for fpclassify() if needed gallium: remove trailing comma in enum list st/mesa: remove commented-out struct field osmesa: fix OSMesa for CHAN_BITS=32 mesa: remove renderbuffer adaptor calls mesa: remove unused renderbuffer adaptor code mesa: remove some color index code osmesa: remove unused var llvmpipe: added a new assertion as a hint to Coverity gallium: rework provoking vertex code llvmpipe: update driver's provoking vertex code gallium: rename draw() to draw_elements() in vbuf code gallium: added edge flag print/debug code (disabled) gallium: still more provoking vertex fixes st/mesa: when copying mipmap levels between textures, start at BaseLevel st/mesa: fix bug in compute_num_levels() st/mesa: fix compressed mipmap generation for small image sizes gallium/tgsi: remove unused tgsi_exec_labels code tgsi: fix tgsi_exec_machine_bind_shader() to handle NULL tokens, samplers tgsi: added tgsi_get_processor_name() tgsi: code refactoring tgsi: make SSE ADD instruction SOA-safe softpipe: fix dangling references to shaders in the TGSI executor tgis: fix SOA aliasing for MUL instruction in SSE codegen mesa: remove driver hooks for GetFloat/Integer/Doublev, etc gallium/draw: additional comments in the clipping code mesa: add missing cases for signed 16-bit formats mesa: added UNCLAMPED_FLOAT_TO_SHORT macro mesa: added texstore function for signed 16-bit formats mesa: use GL_RGBA16_SNORM for accum buffer mesa: added comments for signed 16-bit formats mesa: added unsigned 16-bit/channel tex format mesa: fix typos, comment in signed 16-bit tex fetch code osmesa: add mapi/glapi to SRC_DIRS to fix build osmesa: use unsigned 16-bit/channel format swrast: fix 16-bit/channel rendering st/mesa: additional assertions in dst_register() st/mesa: only set prevInstWrotePsiz if translating a vertex program st/mesa: rename vars, added comments gallivm/llvmpipe: move an old comment to a better location llvmpipe: add, update, rewrap comments llvmpipe: update image dump/debug code llvmpipe: fix up indexing of blend/colormask state for render targets llvmpipe: enable PIPE_CAP_INDEP_BLEND_ENABLE mesa: more transform feedback infrastructure llvmpipe: remove trailing whitespace, rewrap comment llvmpipe: add a simple resource tracking/debug feature llvmpipe: fix texture image size calculation docs: update GL3.txt w/ GL 3.3, 4.0 lists st/mesa: update query code for transform feedback glew: update to version 1.5.4 mesa: remove unused header mesa: remove unused header mesa: added glGet code for GL_ARB_transform_feedback2 progs/tests: update getprocaddress test since moving glapi files mesa: fix error message strings progs/tests: fix a couple bugs in the getprocaddress.c test progs/tests: disable invalid 3D texture compression tests glapi: added GL_ARB_transform_feedback2 entrypoints glapi: fix generator scripts w.r.t. GLX_USE_APPLEGL tgsi: also count instructions in tgsi_scan_shader() gallivm: added lp_typekind_name() util function gallivm/llvmpipe: add const qualifiers gallivm: add a few comments gallivm: rename texel result param gallivm: comment out LLVMUnionTypeKind case gallivm: rename vars, update comments, etc gallivm: s/bool/boolean llvmpipe: s/bool/boolean/ in test progs gallivm: additional comments gallivm: rename a var llvmpipe: additional comments gallivm: added lp_dump_llvmtype() debug helper llvmpipe: silence cast warnings in test programs llvmpipe: silence uninitialized var warnings gallivm: silence uninitialized var warning gallivm: silence casting warning llvmpipe: silence casting warnings gallivm: silence uninitialized var warning draw: silence casting warnings rtasm: fix void * / func * casting warnings llvmpipe: fix front/back tri culling mix-up nv50: fix typo: s/_/./ llvmpipe: put variant print/debug code into separate function gallium: added util_dump_logicop() llvmpipe: use util_dump_logicop() gallium: fix/update tex target dumping llvmpipe: more tweaks to dump_fs_variant_key() gallivm: handle pointer types in lp_dump_llvmtype() gallivm: fix spelling in comment gallivm: rename a var: s/val/array_size/ scons: fix llvm detection scons: add comments and whitespace cell: fix breakage from earlier draw module changes cell: assorted compilation fixes docs: update 7.8.2 relnotes with Cell driver fixes progs/tests: print more info in copypixrate.c mesa: disable building the removed demos mesa: disable building the removed demos with scons st/glx: fix incorrect parameter type st/mesa: remove unused var mesa: fix warnings about missing initializers in get.c table glsl: silence unused var warnings meta: Convert Z value from normalized to object-space in meta code st/glx: check if deleting head of buffer list sw/xlib: NULL-out pointers after freeing image data mesa: support for unsigned int uniforms mesa: unsigned int uniform functions (GL3) mesa: consolidate some glUniform code mesa: display list support for uint uniforms mesa: make a bunch of shader API functions static mesa: new GL 3.0 VertexAttrib commands mesa: added _mesa_VertexAttribIPointer() mesa: added _mesa_GetVertexAttribIiv / AttribIuiv() mesa: move all vertex array functions into varray.c mesa: move GLSL uniform functions into new source file mesa: rewrite _mesa_get_handle() and add some comments mesa: remove unused includes vbo: update/add comments vbo: remove dead code vbo: remove unused prototype vbo: comments and whitespace update linux-fbdev config fbdev: some hacking to get the driver to compile (untested) egl_g3d: add missing param to egl_g3d_st_manager_get_egl_image() egl/mks: remove extra param from function call mesa: fix incorrect GL_DEPTH_STENCIL_ATTACHMENT format check gallivm: add assertions to check type of phi variables sw/xlib: avoid dereferencing a null pointer llvmpipe: s/bool/boolean llvmpipe: s/bool/boolean/ glsl: change uniform location/offset encoding llvmpipe: add out of memory checking to triangle setup path softpipe: add PIPE_BUFFER to assertion llvmpipe: add PIPE_BUFFER to assertion mesa: use split_location_offset() in GetUniform() functions mesa: whitespace and 80 column wrapping glsl: fix bad sanity-check assertion mesa: use BITFIELD64_BIT() macro glsl: handle indirectly indexed input registers in linker glx: reformat and silence unused expression warning glx: fix indentation and remove extraneous break gallivm: bump up LP_BUILD_FLOW_MAX_VARIABLES st/mesa: fix indirect addressing of input/output regs util/u_debug: use MAX2 macro gallium: add interpolation parameter to simple shader functions tgsi: whitespace cleanup tgsi: we don't support indirect input/output registers in SSE codegen yet llvmpipe: new -s option to run single test vbo: misc clean-ups progs: remove slang subdir progs: remove tools subdir progs: remove beos subdir demos: remove fbdev subdir progs: remove rbug subdir mesa: remove old references to demo files and progs subdir mesa: remove PROGRAM_DIRS from config files docs: links to the Mesa demos git repo docs: note that the Mesa demos are in a new repo softpipe: added sp_state_so.c to file list i965: remove UseProgram driver callback mesa: refactor shader api / object code mesa: move uniforms.c to main/ mesa: move atifragshader.[ch] to main/ mesa: move arbprogram.[ch] to main/ mesa: move nvprogram.[ch] to main/ mesa: move shader/slang/* sources to main/slang/* mesa: rename src/mesa/shader/ to src/mesa/program/ i965: remove UseProgram driver callback docs: add link to 7.9 relnotes mesa: fix attachment error checking for glGetFramebufferAttachmentParameteriv() draw: mask off DRAW_PIPE_FLAG_MASK bits in prim decompose code draw: use gallium's TRUE/FALSE gallium/docs: fix definitions of TGSI_SEMANTIC_POSITION, COLOR gallium/docs: update TEXTURE_SHADOW_MAP MAX_PREDICATE_REGISTERS gallium/docs: document TGSI_SEMANTIC_EDGEFLAG Merge branch 'shader-file-reorg' gallium/docs: updated remaining semantic label docs softpipe: fix comment typo llvmpipe: fix comment typo mesa: initialize extension string when context is first bound softpipe: rename a var gallium/util: fix pipe_sampler_view_reference() calls llvmpipe: restore call to lp_setup_update_state() llvmpipe: don't crash/assert on out of memory draw: fix out of memory handling in polygon stipple stage llvmpipe: added new lp_memory.[ch] files llvmpipe: use dummy tile when out of memory llvmpipe: another null pointer check llvmpipe: silence pointer type warnings st/mesa: fix comment mesa: free xform feedback hash table gallium/cso: unbind sampler views in cso_release_all() mesa: entrypoints for GL 3.1 primitive restart mesa: extension flags and version testing for GL 3.x features gallium/cso: check for set_vertex_sampler_views != NULL before calling it mesa: make the number of draw buffers part of the texenv program key state main: change some GS field types, added comments mesa: add missing error checks in _mesa_program_parameteri() softpipe: better assertions softpipe: fix incorrect blend func index passed to blend_quad() mesa: fix texenv generation when num color bufs == 0 mesa: add geometry shader fields to gl_shader_program mesa: updated instruction comments osmesa: remove old renderbuffer before adding new mesa: initial support for unnormalized integer texture formats gallivm: finish implementation of lp_build_iceil() llvmpipe: add test program for round(), trunc(), floor(), ceil() gallivm: use trunc, not round in lp_build_nearest_mip_level() glsl: use Elements() in arrays instead of sentinal values st/mesa: fix sampler max_lod computation gallivm: fix cube map LOD computation gallivm: restore const qualifier mesa: initial support for new GL 3.0 texture formats st/mesa: additional assertions in st_translate_mesa_program() glsl: fix 'if ((x=foo()) > 1.0)' bug gallium: bump PIPE_MAX_SHADER_INPUTS/OUTPUTS to 32 glsl: fix indirect addressing of gl_TextureMatrix[] arrays glapi: use _mesa_snprintf() libgl-xlib: add depend to make clean list gallium: added CLEAN_EXTRA var for make clean target llvmpipe: delete lp_test_*.o files with make clean mesa: silence a printf warning mesa: update assertions and fix refcounting in depth/stencil renderbuffer code mesa: fix _mesa_Texture/Render/BufferObjectUnpurgeable() return values st/mesa: fix quad strip trimming bug graw: new tri-instanced.c program to test instanced drawing softpipe: re-order drawing functions to get rid of prototype draw: move prototype, update comment draw: update comments for drawing functions llvmpipe: implement instanced drawing functions mesa: return retval in _mesa_RenderObjectUnpurgeable() draw: added array element debug / bounds checking code (disabled) draw: updated debug/dump code util: add dummy field to empty structure types mesa: remove restart.c from build draw: fix incorrect instancing divisor in LLVM code graw/tests: pass -e option to test draw_elements_instanced() mesa: call ctx->Driver.ChooseTextureFormat() only when necessary. draw: correctly handle max_index=0xffffffff case in vcache code gallivm: added lp_build_const_int32() helper gallivm: fix indirect addressing of constant buffer gallivm: rename a var to avoid compiler warnings draw: whitespace clean-up gallivm: re-org, comments for get_temp_ptr() gallivm: implement correct indirect addressing of temp registers gallivm: no longer do indirect addressing in get_temp_ptr() gallivm: remove extraneous braces gallivm: added comment gallivm: refactor code into get_indirect_offsets() function tgsi: added tgsi_shader_info::indirect_files field gallivm: replace has_indirect_addressing field with indirect_files field draw: tweak aa line width threshold and sampling softpipe: fix sp_tile_cache_flush_clear() regression softpipe: add missing support for PIPE_FORMAT_S8_USCALED surfaces draw: added new assertions to clipping code draw: re-order optimization passes depending on LLVM version, 32/64-bit glsl: remove invalid _mesa_problem() call docs: document new extensions for Gallium draw: add small ybias factor for drawing wide points st/mesa: fix bug in emit_adjusted_wpos() st/mesa: get rid of unneeded ureg_writemask() util: fix unused function warning on non-x86 cell: added const qualifier cell: comment-out unneeded padding field cell: fix segfault when freeing samplers cell: make functions static cell: comment-out unused fields, functions llvmpipe: pass face+slice to llvmpipe_unswizzle_cbuf_tile() mesa: update table of opcodes used by GLSL mesa: implement RCC opcode gallivm: fix lp_build_sample_offset() crash when indexing a 1-D texture gallivm: added lp_build_assert() function to make assertions in LLVM code llvmpipe: don't call LLVMCreateJITCompiler() twice llvmpipe: also test the new lp_build_assert() function llvmpipe: silence warnings in lp_test_sincos.c draw: add vertex buffer offset in draw_print_arrays() gallium: implement bounds checking for constant buffers draw: assorted clean-ups in clipper code draw: do bounds checking of array elements (debug only) llvmpipe: added some jit debug code llvmpipe: fix on-debug build breakage tgsi: remove incorrect assertion mesa: added gl_program::IndirectRegisterFiles field st/mesa: better handling of indirect addressing of temp/const register files draw: add assertion, rearrange debug code draw: use instance divisor in draw_print_arrays() draw: added a comment gallium/translate: make generic_run() and generic_run_elts() more alike draw: check for instance divisors in vcache_check_run() glsl: fix atan(0, -1) gallium: remove stray semicolons st/mesa: remove stray semicolons mesa: fix comment typo mesa: additional program limit assertions gallivm: fix non-SSE4.1 case in lp_build_pack2() mesa: remove obsolete comments mesa: use switch stmt in init_program_limits() glsl2: remove trailing comma to silence warning glsl2: move declarations before code glsl2: remove stray semicolon glsl2: add cast to silence warning glsl2: added casts to silence warnings glsl2: remove stray semicolon glsl2: added casts to silence warnings osmesa: link with new libglsl.a lib configs: added -ltalloc to config files mesa: check for null shader->InfoLog before printing glsl: print to stderr like other program printing code mesa: assorted clean-ups, var type changes, assertions in prog_optimize.c st/mesa: clean-up pipe_get_transfer() calls mesa: use driver hook for creating new renderbuffers st/mesa: fix ReadPixels crashes when reading depth/stencil from a FBO st/mesa: added st_is_depth_stencil_combined() function tgsi: fix false CondStackTop==0 assertion mesa: remove non-existant files from tarball list mesa: added isblank() for MSVC docs: list the new GLSL compiler docs: updated info about GLSL compiler glsl2: move constructor into .cpp file to work around compiler bug glsl2: rename local variable_entry class make: Use C++ compiler to link stdc++ library. mesa: fix mixed-up function call name st/mesa: add missing packed depth/stencil formats in st_format_datatype() docs: remove link to old memory.html page docs: remove links to tungstengraphics.com, and misc updates docs: update news.html with 7.8.2 release info llvmpipe: fix PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query mesa: fix double-underscore naming mesa: free the fallback texture object in free_shared_state() glsl2: remove 'extern' keyword in .c file glsl2: restructure header file for C++ and C inclusion mesa: use atexit() handler to release GLSL compiler memory mesa: move null ptr check (fdo bug 29843) glsl2: fix bug in atan(y, x) function gallivm: fix bug in nested conditionals st/glx: re-order destruction of buffers, visuals mesa: more prog_execute.c debug code mesa: fix out of bounds memory read in mipmap gen code mesa: fix some printf warnings with casts mesa: fix code generation for ir_unop_sqrt st/mesa: clamp gl_constants::MaxVarying against MAX_VARYING st/glx: added some comments mesa: fix up a comment exec_list: replace class with struct mesa: also build galahad driver scons: added galahad to driver list libgl-xlib: enable galahad support galahad: do map/unmap counting for resources llvmpipe: remove redundant tgsi_dup_tokens() call graw: fix array size, indentation, winsys: emit warning in null_sw_displaytarget_create() graw: emit warnings when context/surface creation failes draw: minor reformatting graw: added test for finding shader mem leaks glsl2: fix comments glsl2: add case for ir_unop_noise mesa: move, redefine MESA_GEOMETRY_PROGRAM mesa: update to version 64 of GL/glext.h mesa: upgrade glxext.h to version 32 mesa: upgrade wglext.h to version 22 Carl Worth (239): Add the tiniest shell of a flex/bison-based parser. Make the lexer reentrant (to avoid "still reachable" memory). Add some compiler warnings and corresponding fixes. Add .gitignore file. Add hash table implementation from glsl2 project. Makefile: Enable debugging of parser. Implment #define Add a very simple test for the pre-processor. Add README file describing glcpp. Add test for chained #define directives. Fix to handle chained #define directives. Add a couple more tests for chained #define directives. Add tests defining a macro to be a literal and another macro. Fix defines involving both literals and other defined macros. Convert lexer to talloc and add xtalloc wrappers. Add test for an empty definition. Add test for #undef. Add support for the #undef macro. Add test case to define, undef, and then again define a macro. Simplify lexer significantly (remove all stateful lexing). Remove some redundancy in the top-level production. Make the lexer distinguish between identifiers and defined macros. Add tests for the structure of function-like macros. Add support for the structure of function-like macros. Eliminate a reduce/reduce conflict in the function-like macro production.