summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* u_blitter: restore some states conditionallyMarek Olšák2011-08-161-12/+17
|
* u_blitter: rename util_blitter_copy_region -> util_blitter_copy_textureMarek Olšák2011-08-162-17/+20
|
* Merge branch 'glsl-to-tgsi'Bryan Cain2011-08-042-1/+14
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_atom_pixeltransfer.c src/mesa/state_tracker/st_program.c
| * tgsi: add support for TGSI_OPCODE_MOD in tgsi_execBryan Cain2011-08-011-1/+12
| |
| * gallium: add PIPE_SHADER_CAP_INTEGERSBryan Cain2011-08-011-0/+2
| |
* | util: fix a typo in util_format_swizzle_4fMarek Olšák2011-08-031-1/+1
| | | | | | | | Reported by Gustaw Smolarczyk.
* | gallium/util: add functions for manipulating swizzlesMarek Olšák2011-08-022-0/+69
| | | | | | | | Some of those have been in drivers already.
* | util: enable S3TC support when the force_s3tc_enable env var is set to "true"Bryan Cain2011-07-261-2/+9
| | | | | | | | NOTE: This is a candidate for the 7.10 and 7.11 branches.
* | gallium: change formats merged with pipe-video to type "other"Christian König2011-07-251-7/+7
| | | | | | | | Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39276
* | g3dvl: remove unused vs output from create_ref_vert_shaderChristian König2011-07-251-4/+1
| | | | | | | | | | The position of the quad vertex is calculated in calc_position, so we don't need the output here any more.
* | gallivm: Add a note about log2 computation and denormalized numbers.José Fonseca2011-07-221-0/+6
| |
* | gallivm: Fix lp_build_exp2 order 4-5 polynomial coefficients and bump order.José Fonseca2011-07-221-12/+12
| | | | | | | | | | | | | | Not sure how I computed these, but they were wrong (which explains why bumping the polynomial order before never improved precision). This allows to pass the EXP test cases of PSPrecision/VSPrecision DCTs.
* | gallivm: Increase lp_build_rsqrt() precision.José Fonseca2011-07-221-1/+1
| | | | | | | | | | | | | | Add an iteration step, which makes rqsqrt precision go from 12bits to 24, and fixes RSQ/NRM test case of PSPrecision/VSPrevision DCTs. There are no uses of this function outside shader translation.
* | gallivm: Update minimax comments.José Fonseca2011-07-221-6/+17
| |
* | gallivm: Fix lp_build_exp/lp_build_log.José Fonseca2011-07-221-2/+2
| | | | | | | | | | Never used so far -- we only used the base 2 variants -- which is why it went unnoticed so far.
* | util: Store alpha value too.José Fonseca2011-07-221-1/+1
| |
* | Revert "g3dvl: Preserve previously rendered components for MC output."Younes Manton2011-07-211-4/+4
| | | | | | | | | | | | This reverts commit b56daf71d2f63d044d4c53ab49c6f87e02991a28. The bug is actually in softpipe's blend and writemask interaction.
* | Merge branch 'gallium-polygon-stipple'Brian Paul2011-07-213-20/+64
|\ \
| * | util: assorted updates to polygon stipple helperBrian Paul2011-07-211-10/+33
| | |
| * | tgsi: add info fields for fragcoord origin, center, etcBrian Paul2011-07-212-10/+31
| | |
* | | u_vbuf_mgr: restore buffer offsetsChia-I Wu2011-07-211-0/+10
| | | | | | | | | | | | | | | | | | | | | u_vbuf_upload_buffers modifies the buffer offsets. If they are not restored, and any of the vertex formats is not supported natively, the next u_vbuf_mgr_draw_begin call will translate the vertex buffers with incorrect buffer offsets.
* | | g3dvl: remove unused vertex shader inputsMarek Olšák2011-07-202-4/+4
| | | | | | | | | | | | See also comments in the code.
* | | g3dvl: Preserve previously rendered components for MC output.Younes Manton2011-07-201-4/+4
| | | | | | | | | | | | Fixes xvmc-softpipe MC entrypoint, amongst others.
* | | g3dvl: Init/clean pipe fully when a shader-based decoder isn't used.Younes Manton2011-07-202-0/+26
| | | | | | | | | | | | Fixes VDPAU CSC-only mode.
* | | llvmpipe: fix build with LLVM 3.0svnTobias Droste2011-07-191-13/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | LLVM 3.0svn introduced a new type system. It defines a new way to create named structs and removes the (now not needed) LLVMInvalidateStructLayout function. See revision 134829 of LLVM. Signed-off-by: Tobias Droste <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | | gallivm: Rename createAsmInfo to createMCAsmInfo with llvm-3.0.Vinson Lee2011-07-161-0/+4
| | | | | | | | | | | | | | | llvm-3.0svn r135219 renamed createAsmInfo to createMCAsmInfo in include/llvm/Target/TargetRegistry.h.
* | | g3dvl: no need for flushing inside the compositor any moreChristian König2011-07-152-6/+2
| | | | | | | | | | | | Move that also inside the state tracker where needed.
* | | g3dvl: correctly distinct dst area and clip area in the compositorChristian König2011-07-152-10/+19
| | | | | | | | | | | | Otherwise xine won't scale correctly.
* | | g3dvl: change picture parameter of decode_bitstream to general versionChristian König2011-07-151-3/+5
| | | | | | | | | | | | Using pipe_mpeg12_picture_desc was unintentional here.
* | | gallium: put video-related enums in separate headerBrian Paul2011-07-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The forward references to video enum types in p_context.h causes a massive number of compiler warnings (ISO C forbids forward references to ‘enum’ types). By putting the new video enums in a separate header that can be included by p_context.h and p_screen.h we can avoid this. Acked-by Christian König <[email protected]>
* | | g3dvl: Remove non-constant expression array initializers.Vinson Lee2011-07-132-7/+31
| | | | | | | | | | | | The array initializer must be a constant expression in MSVC.
* | | g3dvl: Remove designated initializers.Vinson Lee2011-07-131-4/+4
| | | | | | | | | | | | MSVC does not support designated initializers.
* | | g3dvl: s/inline/INLINE/Vinson Lee2011-07-133-36/+40
| | | | | | | | | | | | The inline keyword is not available in MSVC C.
* | | utils: Add missing parenthesesEmil Velikov2011-07-131-0/+4
| | | | | | | | | | | | | | | Signed-off-by: Emil Velikov <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | | [g3dvl] don't upload all quant buffer layers at onceChristian König2011-07-133-21/+14
| | | | | | | | | | | | | | | | | | | | | There seems to be a bug in r600g when uploading more than one layer of a 3D resource at once with a hardware blit. So just do them one at a time to workaround this.
* | | Merge branch 'pipe-video'Christian König2011-07-1329-14/+8272
|\ \ \
| * | | [g3dvl] implement workaround for missing blender clamp controlChristian König2011-07-132-7/+35
| | | | | | | | | | | | | | | | It's about 20% slower, but should at least work with every hardware.
| * | | [g3dvl] keep a pointer in idct buffer to idct objectChristian König2011-07-133-20/+26
| | | | | | | | | | | | | | | | So we always know to which idct object a buffer belongs
| * | | [g3dvl] add some more PIPE_VIDEO_CAPsChristian König2011-07-124-0/+34
| | | |
| * | | [g3dvl] fix a whole bunch of memory leaksChristian König2011-07-113-4/+11
| | | |
| * | | [g3dvl] sync SConscript with MakefileChristian König2011-07-111-3/+9
| | | |
| * | | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-07-116-11/+153
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_pipe.c src/gallium/drivers/r600/r600_state_inlines.h
| * | | | [g3dvl] and finally remove pipe_video_contextChristian König2011-07-087-122/+93
| | | | |
| * | | | [g3dvl] move video buffer creation out of video contextChristian König2011-07-084-79/+91
| | | | |
| * | | | [g3dvl] move compositor creation and handling directly into the state trackersChristian König2011-07-083-83/+130
| | | | |
| * | | | [g3dvl] remove sampler view handling from video contextChristian König2011-07-081-86/+0
| | | | |
| * | | | [g3dvl] remove create_surface from video contextChristian König2011-07-081-13/+0
| | | | |
| * | | | [g3dvl] make pipe_context mandatory for creation pipe_video_contextChristian König2011-07-081-2/+0
| | | | |
| * | | | [g3dvl] rename is_format_supported to is_video_format_supported and move it ↵Christian König2011-07-083-31/+35
| | | | | | | | | | | | | | | | | | | | into screen object
| * | | | [g3dvl] rename get_param to get_video_param and move into screen objectChristian König2011-07-072-23/+17
| | | | |