summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2009-12-07gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safeRoland Scheidegger
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.
2009-12-04identity: fix copy&paste errorRoland Scheidegger
2009-12-04svga: fix another pipe_reference strict aliasing violationRoland Scheidegger
2009-12-03gallium: fix remaining users of pipe_reference functionRoland Scheidegger
2009-12-03gallium: fix reference counting functions to be strict-aliasing compliantRoland Scheidegger
Historically, parts of mesa code are not strict-aliasing safe, hence -fno-strict-aliasing is needed to compile (this got forgotten for scons builds for gallium, which indeed not only caused compiler warnings but also unexplicable crashes in non-debug builds). However, we should try to eliminate code not complying with strict-aliasing code at least for gallium. Hence change pipe_reference functions to make them strict-aliasing compliant. This adds a bit more complexity (especially for derived classes) but is the right thing to do, and it does in fact fix a segfault.
2009-12-02r300g, radeong: De-specialize r300_winsys into radeon_winsys.Corbin Simpson
There's like five good reasons for this, I swear.
2009-12-02r300g: No vertex textures here.Corbin Simpson
2009-12-02Revert "llvmpipe: plug in dummy pipe_context::set_vertex_sampler_textures ↵Brian Paul
function" This reverts commit 792888121b92913733daec7526c9441f27ce1231. We're instead returning 0 for the PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query.
2009-12-02llvmpipe: return 0 for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS queryBrian Paul
The driver (and draw module) don't support vertex shader textures yet.
2009-12-02llvmpipe: plug in dummy pipe_context::set_vertex_sampler_textures functionBrian Paul
Fixes immediate segfault.
2009-12-02cell: fix TGSI breakageBrian Paul
2009-12-01softpipe: setup machine->Face without a conditionalBrian Paul
2009-12-01Merge commit 'origin/tgsi-simplify-ext'Keith Whitwell
Conflicts: src/gallium/drivers/r300/r300_vs.c
2009-12-01Merge commit 'origin/mesa_7_7_branch'Keith Whitwell
Conflicts: src/gallium/drivers/svga/svga_screen_texture.c src/gallium/state_trackers/xorg/xorg_composite.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/mesa/main/texgetimage.c src/mesa/main/version.h
2009-12-01r300g: simplify allocations of VS output registersMarek Olšák
No need to parse TGSI tokens since it's easier to walk through shader semantics. Also fog coordinates now work reliably.
2009-12-01r300g: simplify allocations of FS input registersMarek Olšák
2009-12-01r300g: clean up derived statesMarek Olšák
The state setups which aren't derived anymore have been moved to the VS and FS objects.
2009-12-01r300g: VS->FS attribute routing reworkMarek Olšák
Now it always correctly pairs up VS and FS even if the semantics and indices of VS outputs and FS inputs don't match.
2009-12-01r300g: add R300 prefix in reg definitionsMarek Olšák
2009-12-01trace: Implement separate vertex sampler state.Michal Krol
2009-12-01fo: Implement separate vertex sampler state.Michal Krol
2009-12-01id: Implement separate vertex sampler state.Michal Krol
2009-12-01trace: Reduce double semicolons to single ones.Michal Krol
2009-12-01sp: Do not falsely advertise support for some SNORM formats.Michal Krol
2009-12-01sp: Implement separate vertex sampler state.Michal Krol
2009-12-01trace: Update for renamed sampler/texture state setters.Michal Krol
2009-12-01svga: Update for renamed sampler/texture state setters.Michal Krol
2009-12-01r300: Update for renamed sampler/texture state setters.Michal Krol
2009-12-01nv: Update for renamed sampler/texture state setters.Michal Krol
2009-12-01lp: Update for renamed sampler/texture state setters.Michal Krol
2009-12-01id: Update for renamed sampler/texture state setters.Michal Krol
2009-12-01i915: Update for renamed sampler/texture state setters.Michal Krol
2009-12-01fo: Update for renamed sampler/texture state setters.Michal Krol
2009-12-01cell: Update for renamed sampler/texture state setters.Michal Krol
2009-11-29nv50: update linkage on rasterizer changeChristoph Bumiller
We need to update VP_RESULT_MAP and/or COORD_REPLACE_MAP when light_twoside and/or point_sprite are changed.
2009-11-29nv50: match VP outputs to FP inputs ourselvesChristoph Bumiller
For each FP input, don't assume that the VP output will be at the same position, but scan the semantics instead, then put the correct output reg indices into VP_RESULT_MAP. Position is still assumed to be the first output/input. See 07fafc7c9346aa260829603bf3188596481e9e62, which renders previous assumptions incorrect.
2009-11-29nv50: don't permanently negate src in emit_ddyChristoph Bumiller
2009-11-27nv50: do conversion of last insn to 64 bit format firstChristoph Bumiller
Simplifies things since the second to last one will then be converted in the subsequent pass that ensures alignment automatically.
2009-11-27nv50: bswap32 the polygon stipple patternChristoph Bumiller
The hardware wants the pattern the same way it is passed to glPolygonStipple.
2009-11-27svga: fix for not using texture width/height/depth arraysRoland Scheidegger
2009-11-27r300g,llvmpipe: fix some more merge problemsRoland Scheidegger
2009-11-27Merge branch 'width0'Roland Scheidegger
Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
2009-11-27svga: Re-add shader dumping.José Fonseca
2009-11-27svga: Handle comment tokens when dumping.José Fonseca
2009-11-27svga: Use consistent names for public symbol names of shader dumping facilities.José Fonseca
2009-11-27svga: Use consistent file names for dumping facilities.José Fonseca
2009-11-27svga: flush our command buffer after the 8th distinct render targetKeith Whitwell
This helps improve the surface cache behaviour in the face of the large number of single-use render targets generated by EXA and the xorg state tracker. Without this we can reference hundreds of individual render targets from a command buffer, which leaves little scope for sharing or reuse of those targets. Flushing early means we can start reusing textures much sooner. This shouldn't have much effect on normal 3d rendering as it's pretty rare to have a command buffer with >8 different render targets in that world.
2009-11-27svga: add DEBUG_CACHE optionKeith Whitwell
2009-11-27svga: Update text shader header.Michal Krol
2009-11-26gallium: fix more statetrackers/drivers for not using texture ↵Roland Scheidegger
width/height/depth arrays