aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'gallium-edgeflags'Roland Scheidegger2009-12-222-9/+5
|\ | | | | | | | | Conflicts: src/mesa/state_tracker/st_draw.c
| * gallium: fix up drivers for edgeflag changesRoland Scheidegger2009-12-192-9/+5
| | | | | | | | | | several drivers which chose to ignore edgeflags might require some more work, while edgeflags never worked there they might now crash.
* | r300g: Add a few more params.Corbin Simpson2009-12-201-0/+4
| |
* | r300g: add texture compare modesMarek Olšák2009-12-196-37/+148
| |
* | r300g: Fix provoking vertex for non-quads.Corbin Simpson2009-12-181-6/+25
| | | | | | | | | | Read the comments. In short, we can't possibly pass piglit's glean/clipFlat without some help from Gallium and an API/spec change.
* | r300g: Respect provoking vertex for trifans.Corbin Simpson2009-12-182-6/+31
| | | | | | | | Fixes part of piglit's clipFlat test; next up is to get quads right.
* | r300g: Eliminate a couple more asserts.Corbin Simpson2009-12-181-3/+2
| |
* | r300g: Nuke r300_vbo.Corbin Simpson2009-12-184-126/+8
| |
* | Move the remaining format pf_get_* functions to u_format.h.Michal Krol2009-12-173-10/+11
| | | | | | | | | | Previously they depended on format blocks, but after removing those they started depending on format encoding.
* | Merge branch 'master' into pipe-format-simplifyMichal Krol2009-12-1719-177/+461
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | 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: fix routing of vertex streams if TCL is bypassedMarek Olšák2009-12-094-25/+29
| | | | | | | | | | | | Generating mipmaps finally works, among other things. Yay!
| * | r300g: always disable unused colorbuffersMarek Olšák2009-12-091-1/+14
| | |
| * | r300g: make pow(0,0) return 1 instead of NaN in the R500 fragment shaderMarek Olšák2009-12-091-1/+1
| | | | | | | | | | | | | | | Unfortunately we can't fix this easily in the R300 fragment shader, and it's probably not worth the effort.
| * | r300g: clean up r300_emit_aosMarek Olšák2009-12-093-26/+59
| |/
| * Merge branch 'gallium-strict-aliasing'Roland Scheidegger2009-12-081-4/+6
| |\
| | * gallium: fix more potential strict aliasing issuesRoland Scheidegger2009-12-081-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, gcc man page warns that union a_union { int i; double d; }; int f() { double d = 3.0; return ((union a_union *) &d)->i; } "might" not be ok (why not?), even though it doesn't seem to generate any warnings. Hence don't use this and do the extra step to actually use assignment to get the values in/out of the union. This changes parts of 3456f9149b3009fcfce80054759d05883d3c4ee5.
| | * gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safeRoland Scheidegger2009-12-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | use pointer to union instead of void pointer. gcc complained a lot, depending what the pointer originally actually was. Looks like it's in fact maybe legal to cast for instance uint pointers to union pointers as long as union contains a uint type, hence use this with some callers, other just use union util_color in the first place.
| * | Merge branch 'mesa_7_7_branch'Andre Maasikas2009-12-081-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/main/version.h
| | * \ Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-12-071-1/+1
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: progs/demos/projtex.c progs/xdemos/glxinfo.c src/mesa/main/version.h To fix the confilicts in projtex.c and glxinfo.c I just took the code from mesa_7_6_branch. The conflicts seem to have occured from cherry-picks from mesa_7_7_branch to mesa_7_6_branch followed by commmits just to mesa_7_6_branch.
| | | * | r300g: use $(MAKE) variableColeman Kane2009-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | Fixes bug 24501
| * | | | r300g: Clean up previous commit.Corbin Simpson2009-12-061-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | If *I* can't read it, there's a strong possibility others can't, either.
| * | | | r300g: enhance ZTOP conditionsMarek Olšák2009-12-061-6/+31
| | | | |
| * | | | r300g: don't render if everything is culled by scissoringMarek Olšák2009-12-063-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | Otherwise a CS is refused by kernel 2.6.31 (and maybe all later versions, not sure).
| * | | | r300g: remove redundant code and clean upMarek Olšák2009-12-063-46/+57
| | | | |
| * | | | r300g: Need to emit a hardware scissor rectangle even if scissor is disabled.Michel Dänzer2009-12-053-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just make it cover the whole framebuffer in that case. Otherwise the kernel CS checker may complain, e.g. running progs/demos/gearbox. That runs fast now here, but doesn't look right yet.
| * | | | radeong: flush CS if a buffer being mapped is referenced by itMarek Olšák2009-12-041-2/+0
| | | | | | | | | | | | | | | | | | | | Also, overlapping occlusion queries seems to work now.
| * | | | r300g, radeong: fix the CS overflowMarek Olšák2009-12-042-2/+9
| | | | |
| * | | | r300g: fix warningsMarek Olšák2009-12-042-2/+4
| | | | |
| * | | | Merge branch 'gallium-noblocks'Roland Scheidegger2009-12-043-19/+14
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
| | * | | gallium: adapt drivers to interface cleanupsRoland Scheidegger2009-12-023-19/+14
| | | | |
* | | | | s/desc->type/desc->channel[0].type/Michal Krol2009-12-171-2/+2
| | | | |
* | | | | Revert "Simplify the redundant meaning of format layout."Michal Krol2009-12-091-2/+4
| | | | | | | | | | | | | | | | | | | | This reverts commit eb926ddf9eee1095c7fc12013f0b8375bbaeca6f.
* | | | | Simplify the redundant meaning of format layout.Michal Krol2009-12-081-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | We really just need to know whether the format is compressed or not. For more detailed information format colorspace should suffice.
* | | | | Format layout cannot be used to distinguish scaled/normalised formats.Michal Krol2009-12-081-1/+1
| | | | |
* | | | | Remove remaining pipe format utility functions.Michal Krol2009-12-081-30/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Depricate pf_type(), pf_size_*(), pf_layout() and pf_exp2(). Map depricated PIPE_FORMAT_TYPE to new UTIL_FORMAT_ values: UNKNOWN = TYPE_VOID UNORM = TYPE_UNSIGNED + LAYOUT_ARITH SNORM = TYPE_SIGNED + LAYOUT_ARITH FIXED = TYPE_FIXED FLOAT = TYPE_FLOAT USCALED = TYPE_UNSIGNED + LAYOUT_ARRAY SSCALED = TYPE_SIGNED + LAYOUT_ARRAY SRGB = TYPE_COLORSPACE_SRGB
* | | | | Remove pf_swizzle_* internal macros.Michal Krol2009-12-031-4/+9
| | | | |
* | | | | Move pf_get_bits/size() to u_format auxiliary module.Michal Krol2009-12-031-6/+7
| | | | |
* | | | | Move pf_get_block() to u_format auxiliary module.Michal Krol2009-12-031-1/+2
|/ / / /
* | | | r300g, radeong: De-specialize r300_winsys into radeon_winsys.Corbin Simpson2009-12-028-86/+23
| | | | | | | | | | | | | | | | There's like five good reasons for this, I swear.
* | | | r300g: No vertex textures here.Corbin Simpson2009-12-021-0/+7
| | | |
* | | | Merge commit 'origin/tgsi-simplify-ext'Keith Whitwell2009-12-011-15/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_vs.c
| * | | | tgsi: rename fields of tgsi_full_src_register to reduce verbosityKeith Whitwell2009-11-241-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect