summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-12-17Move the remaining format pf_get_* functions to u_format.h.Michal Krol
Previously they depended on format blocks, but after removing those they started depending on format encoding.
2009-12-17util: Remove util_format_get_block().Michal Krol
2009-12-17Merge branch 'master' into pipe-format-simplifyMichal Krol
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
2009-12-17util/format: Fix bogus assertion.Michal Krol
2009-12-17s/desc->type/desc->channel[0].type/Michal Krol
2009-12-17glsl/apps: Add dummy install target to fix 'make install'Sedat Dilek
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-12-17Merge branch 'glsl-pp-rework-2'Michal Krol
2009-12-17radeon: drop assert accessing cref which is meant to be hiddenDave Airlie
2009-12-17radeon: drop unused members of radeon_state.Dave Airlie
2009-12-17r600: move structs for legacy cmdbuf into cmdbuf C file.Dave Airlie
these really shouldn't be exposed here
2009-12-16r600 : clean a bit to prepare to enable gl2.Richard Li
2009-12-16llvmpipe: add LP_DEBUG env varJosé Fonseca
Cherry-picked from dec35d04aeb398eef159aaf8cde5e0d04622b811.
2009-12-16llvmpipe: fix broken TGSI_OPCODE_FRC codegenBrian Paul
2009-12-16llvmpipe: fix broken lp_build_abs()Brian Paul
2009-12-15r300g: fix emission of which textures are enabledMarek Olšák
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).
2009-12-15r300g: clean up the invariant stateMarek Olšák
2009-12-15r300g: clamp vertex indices to [min,max] everywhereMarek Olšák
2009-12-15r300g: if no colorbuffers are set, disable blending and set the color mask to 0Marek Olšák
This seems to be the only way to disable the first colorbuffer.
2009-12-15r300g: set the number of colorbuffers in RB3D_CCTLMarek Olšák
2009-12-15r300g: remove unnecessary flush in set_sampler_texturesMarek Olšák
2009-12-15r300g: add Z24X8 to the list of unsupported sampler formats on R3xx-R4xxMarek Olšák
2009-12-15r300g: add acceleration of the clear, surface_copy, and surface_fill functionsMarek Olšák
2009-12-15r300g: flush CS if a buffer being deleted is referenced by itMarek Olšák
2009-12-16r300: Fix typo on < R5xx RS setup for blits.Michel Dänzer
2009-12-15util/blitter: kill the draw_quad callbackMarek Olšák
2009-12-15util/blitter: allocate most of the state objects on-demandMarek Olšák
2009-12-15util/blitter: use PIPE_MAX_* limits, and fix a memory leakMarek Olšák
2009-12-15pipe: add PIPE_MAX_TEXTURE_TYPESMarek Olšák
2009-12-15util: add blitterMarek Olšák
2009-12-15util: add a function which converts 2D coordinates to cubemap coordinatesMarek Olšák
The code was taken over from u_gen_mipmap.
2009-12-15util: add new fragment shaders to simple_shadersMarek Olšák
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.
2009-12-15llvmpipe: Fix yet another copynpaste typo in lp_build_log2_approx.José Fonseca
Now fslight looks perfect.
2009-12-15llvmpipe: Fix lp_build_polynomial comment.José Fonseca
2009-12-15llvmpipe: Fix typo in lp_build_log constant.José Fonseca
2009-12-15util: Fix unity value for swizzle 1.José Fonseca
It should be 255 for ubytes, and not 1. Thanks Michal for spotting this.
2009-12-15llvmpipe: Fix bad SI -> FP conversion into lp_build_log2_approx.José Fonseca
It should be a bitcast as the integer value is actually an encoded FP already.
2009-12-15util: Add dl wrappers.José Fonseca
Borrowed from Mesa, slightly changed for more type safety.
2009-12-15tgsi/text: Don't use strncasecmp(), it breaks windows build.Michal Krol
Also, break out of the for-loop when a matching property is found.
2009-12-15r600: use _mesa_insert_instructions to fixup wpos instead of manual ins insertAndre Maasikas
this keeps branch targets correct. glsl/trirast works correctly now afaics
2009-12-15r600: fix typos for vert-texAndre Maasikas
at least i think this is how it was meant to work
2009-12-15r600: fix fragment.positionAndre Maasikas
wpos.y seems inferted to what opengl expexts, so calculate correct value from window dimension and replace references in fragmentprog with calculated value
2009-12-15r600: add support for FRAG_ATTRIB_PNTCAndre Maasikas
2009-12-15r600: add DDX DDY opcodesAndre Maasikas
2009-12-14r600 : add texture support for vertex shader.Richard Li
2009-12-14tgsi: add properties and system value registerZack Rusin
adds support for properties to all parts of the tgsi framework, plus introduces a new register which will be used for system generated values.
2009-12-14nouveau: avoid running out of relocsMaarten Maathuis
- 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.
2009-12-14nv50: be more cautious about using reg_instanceChristoph Bumiller
Trying to free part of nv50_pc->reg_instances[] for an nv50_reg representing an indirect constant resulted in a segmentation fault.
2009-12-14tgsi/ureg: Add ureg_DECL_gs_input().Michal Krol
Allows one to declare GS input registers.
2009-12-14nv50: store immediates as uint32Christoph Bumiller
Sometimes we want non-float immediates, hacking them into floats isn't nice. Sorry, this should have already been committed before.
2009-12-13nouveau: nv50: Add missing ctor_immd_4u32 functionPatrice Mandin