aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into pipe-format-simplifyMichal Krol2009-12-17213-2355/+6961
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/auxiliary/draw/draw_pipe_pstipple.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/auxiliary/util/u_surface.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/drivers/cell/ppu/cell_texture.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/softpipe/sp_tile_cache.c src/gallium/drivers/svga/svga_state_vs.c src/gallium/include/pipe/p_format.h src/gallium/state_trackers/dri/dri_drawable.c src/gallium/state_trackers/egl/egl_surface.c src/gallium/state_trackers/python/p_device.i src/gallium/state_trackers/python/st_softpipe_winsys.c src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/image.c src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/vg_tracker.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/gallium/state_trackers/xorg/xvmc/surface.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_buffer.c src/gallium/winsys/egl_xlib/sw_winsys.c src/gallium/winsys/g3dvl/xlib/xsp_winsys.c src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c src/gallium/winsys/gdi/gdi_softpipe_winsys.c src/gallium/winsys/xlib/xlib_cell.c src/gallium/winsys/xlib/xlib_llvmpipe.c src/gallium/winsys/xlib/xlib_softpipe.c src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_texture.c
| * Merge branch 'glsl-pp-rework-2'Michal Krol2009-12-171-1/+1
| |\
| | * Merge branch 'master' into glsl-pp-rework-2Michal Krol2009-12-12761-43888/+59630
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: progs/perf/drawoverhead.c progs/perf/teximage.c progs/perf/vbo.c progs/perf/vertexrate.c src/mesa/shader/slang/library/slang_common_builtin_gc.h
| | * | scons: Get GLSL code building correctly when cross compiling.José Fonseca2009-12-101-1/+1
| | | | | | | | | | | | | | | | | | | | This is quite messy. GLSL code has to be built twice: one for the host OS, another for the target OS.
| | * | gdi: Link to glslcl.Michal Krol2009-11-131-1/+1
| | | |
| | * | Merge commit 'origin/master' into glsl-pp-rework-2Michal Krol2009-09-1773-939/+1788
| | |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/winsys/gdi/SConscript
| | * \ \ Merge commit 'origin/master' into glsl-pp-rework-2Michal Krol2009-09-1492-834/+3841
| | |\ \ \
| | * | | | gdi: Fix prototype of gdi_softpipe_surface_buffer_create().Michal Krol2009-09-081-0/+1
| | | | | |
| | * | | | gdi: Add glsl to LIBS.Michal Krol2009-09-071-1/+1
| | | | | |
| * | | | | llvmpipe: add LP_DEBUG env varJosé Fonseca2009-12-163-59/+151
| | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked from dec35d04aeb398eef159aaf8cde5e0d04622b811.
| * | | | | llvmpipe: fix broken TGSI_OPCODE_FRC codegenBrian Paul2009-12-161-1/+1
| | | | | |
| * | | | | llvmpipe: fix broken lp_build_abs()Brian Paul2009-12-161-1/+2
| | | | | |
| * | | | | r300g: fix emission of which textures are enabledMarek Olšák2009-12-151-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It fixes most of the "Bad CS" issues in piglit/texCombine and piglit/fbo. Some other issues of this kind will get fixed in the kernel soon (depth-only rendering, S3TC, and RGTC).
| * | | | | r300g: clean up the invariant stateMarek Olšák2009-12-151-10/+3
| | | | | |
| * | | | | r300g: clamp vertex indices to [min,max] everywhereMarek Olšák2009-12-152-7/+6
| | | | | |
| * | | | | r300g: if no colorbuffers are set, disable blending and set the color mask to 0Marek Olšák2009-12-152-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | This seems to be the only way to disable the first colorbuffer.
| * | | | | r300g: set the number of colorbuffers in RB3D_CCTLMarek Olšák2009-12-153-3/+6
| | | | | |
| * | | | | r300g: remove unnecessary flush in set_sampler_texturesMarek Olšák2009-12-151-2/+0
| | | | | |
| * | | | | r300g: add Z24X8 to the list of unsupported sampler formats on R3xx-R4xxMarek Olšák2009-12-151-1/+7
| | | | | |
| * | | | | r300g: add acceleration of the clear, surface_copy, and surface_fill functionsMarek Olšák2009-12-157-45/+162
| | | | | |
| * | | | | r300g: flush CS if a buffer being deleted is referenced by itMarek Olšák2009-12-153-0/+8
| | | | | |
| * | | | | util/blitter: kill the draw_quad callbackMarek Olšák2009-12-152-25/+6
| | | | | |
| * | | | | util/blitter: allocate most of the state objects on-demandMarek Olšák2009-12-151-75/+179
| | | | | |
| * | | | | util/blitter: use PIPE_MAX_* limits, and fix a memory leakMarek Olšák2009-12-151-13/+27
| | | | | |
| * | | | | pipe: add PIPE_MAX_TEXTURE_TYPESMarek Olšák2009-12-151-1/+2
| | | | | |
| * | | | | util: add blitterMarek Olšák2009-12-154-0/+851
| | | | | |
| * | | | | util: add a function which converts 2D coordinates to cubemap coordinatesMarek Olšák2009-12-155-52/+161
| | | | | | | | | | | | | | | | | | | | | | | | The code was taken over from u_gen_mipmap.
| * | | | | util: add new fragment shaders to simple_shadersMarek Olšák2009-12-154-12/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New shaders: * Fragment shader which writes depth sampled from a texture * Fragment shader which copies COLOR[0] to multiple render targets Additional improvements: * The fragment 'tex' shaders now take a sampler type (TGSI_TEXTURE_*) so that they can sample from any type of texture, not only from a 2D one.
| * | | | | llvmpipe: Fix yet another copynpaste typo in lp_build_log2_approx.José Fonseca2009-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Now fslight looks perfect.
| * | | | | llvmpipe: Fix lp_build_polynomial comment.José Fonseca2009-12-151-1/+1
| | | | | |
| * | | | | llvmpipe: Fix typo in lp_build_log constant.José Fonseca2009-12-151-1/+1
| | | | | |
| * | | | | util: Fix unity value for swizzle 1.José Fonseca2009-12-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It should be 255 for ubytes, and not 1. Thanks Michal for spotting this.
| * | | | | llvmpipe: Fix bad SI -> FP conversion into lp_build_log2_approx.José Fonseca2009-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It should be a bitcast as the integer value is actually an encoded FP already.
| * | | | | util: Add dl wrappers.José Fonseca2009-12-154-0/+142
| | | | | | | | | | | | | | | | | | | | | | | | Borrowed from Mesa, slightly changed for more type safety.
| * | | | | tgsi/text: Don't use strncasecmp(), it breaks windows build.Michal Krol2009-12-151-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | Also, break out of the for-loop when a matching property is found.
| * | | | | tgsi: add properties and system value registerZack Rusin2009-12-1418-21/+475
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adds support for properties to all parts of the tgsi framework, plus introduces a new register which will be used for system generated values.
| * | | | | nouveau: avoid running out of relocsMaarten Maathuis2009-12-1411-18/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added flush notify functions for NV30 and NV40. - Flushing mid frame will call flush notify, which will resubmit all relocs. - We don't try to recover from reloc failure yet.
| * | | | | nv50: be more cautious about using reg_instanceChristoph Bumiller2009-12-141-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trying to free part of nv50_pc->reg_instances[] for an nv50_reg representing an indirect constant resulted in a segmentation fault.
| * | | | | tgsi/ureg: Add ureg_DECL_gs_input().Michal Krol2009-12-142-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | Allows one to declare GS input registers.
| * | | | | nv50: store immediates as uint32Christoph Bumiller2009-12-142-33/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes we want non-float immediates, hacking them into floats isn't nice. Sorry, this should have already been committed before.
| * | | | | nouveau: nv50: Add missing ctor_immd_4u32 functionPatrice Mandin2009-12-131-2/+15
| | | | | |
| * | | | | nv50: add proper zslice offset in miptree_surfaceChristoph Bumiller2009-12-132-20/+21
| | | | | |
| * | | | | nv50: use m2mf z pos instead of calculating offset manuallyChristoph Bumiller2009-12-131-13/+10
| | | | | |
| * | | | | nv50: add craziness for non-constant TXB and TXLChristoph Bumiller2009-12-131-44/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If lod or bias can be non-constant across a quad of fragments, we need to execute TEX separately for each value. Don't ask why.
| * | | | | Revert "nouveau: nv30: Disable swizzled surface usage if any dimension is 1 ↵Patrice Mandin2009-12-121-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Warsow creates a 1x1 front buffer)" This reverts commit ec7844537ecdb0b598447e37bf0b7120acd029f3.
| * | | | | nouveau: nv30: Disable swizzled surface usage if any dimension is 1 (Warsow ↵Patrice Mandin2009-12-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | creates a 1x1 front buffer)
| * | | | | nv50: support TXB and TXLChristoph Bumiller2009-12-122-57/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... and don't set the 'live' flag for TEX anymore, we'd have to know if results affect the inputs for another TEX, and I'm not going to do that kind of analysis now.
| * | | | | nv50: add S8Z24 depth texture format tooChristoph Bumiller2009-12-123-0/+3
| | | | | |
| * | | | | nv50: fix depth comparison func TSC bitsChristoph Bumiller2009-12-121-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately it seems that if depth comparison is active and we read a 2D texture, i.e. provide only 2 inputs, the second is used for comparison ...
| * | | | | nv50: add src_mask case for IF opcodeChristoph Bumiller2009-12-121-0/+2
| | | | | |