summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
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-12-01vl: Update for renamed sampler/texture state setters.Michal Krol
2009-12-01draw: Update for renamed sampler/texture state setters.Michal Krol
2009-12-01cso: Add support for separate vertex sampler state.Michal Krol
2009-12-01gallium: Introduce separate vertex texture/sampler state.Michal Krol
Previously, gallium shared sampler and texture state between vertex and fragment shader stages. This change generalises this concept by providing separate entrypoints for vertex and fragment sampler state setting. A new capability bit is added to query the driver for the number of samplers that can be utilised by a vertex and fragment shader at the same time.
2009-12-01tgsi/sanity: Up MAX_REGISTERS to 1024.Michal Krol
2009-11-30fixups for interface changes (mostly state trackers)Roland Scheidegger
2009-11-30gallium: interface cleanups, remove nblocksx/y from pipe_texture and moreRoland Scheidegger
This patch removes nblocksx, nblocksy arrays from pipe_texture (can be recalculated if needed). Furthermore, pipe_format_block struct is gone completely (again, contains just derived state). nblocksx, nblocksy, block are also removed from pipe_transfer, together with the format enum (can be obtained from the texture associated with the transfer).
2009-11-30i965g: turn on texture tiling by defaultKeith Whitwell
2009-11-30i965g: pass backbuffer tiling information to driverKeith Whitwell
The gem winsys gets this information, needs to pass it on.
2009-11-30ws/i965: more debug outputKeith Whitwell
2009-11-30ws/i965: rename and change sense of I965_SEND_CMD to BRW_NO_HWKeith Whitwell
2009-11-30brw: add dumping to gem winsysKeith Whitwell
2009-11-30i965g: remove redundant nr_attrs memberKeith Whitwell
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-29i965g: remove surface from views list before freeingDave Airlie
this fixes a crash with the xorg state tracker, however it then locks up the GPU once rendering is enabled but at least it doesn't crash. Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-11-28util: Fix bad code.Corbin Simpson
Uf. How embarrassing.
2009-11-28util: Improve bitcount.Corbin Simpson
Sorry for not pushing this before, it got lost in stashes.
2009-11-28i965g: link xorg state tracker with -ldrm_intelDave Airlie
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-27gallium/util: added util_bswap32()Christoph Bumiller
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-27st/xorg: proper fix for compositing after rounding upKeith Whitwell
Basically don't round up shared textures. This fixes compiz, but I'm afraid that rounding up texture sizes here in the driver is doomed, as it will inevitably break texture wrap modes.
2009-11-27rbug: Mention where the GUI can be found.José Fonseca
2009-11-27svga: Re-add shader dumping.José Fonseca
2009-11-27Revert "st/xorg: fix composite after texture size changes"Keith Whitwell
This reverts commit 124ae596806f1a77af46f1f0e446d448da6e953a. Pushed by mistake
2009-11-27st/xorg: fix composite after texture size changesKeith Whitwell
2009-11-27wgl: Fix copy'n'paste typo in comment.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-27st/xorg: speculatively round textures up to nearest POTKeith Whitwell
I'm not sure if this is a great change, but helps with caching. Probably we want to turn this on/off on a driver-by-driver basis.
2009-11-27st/xorg: free last fenceKeith Whitwell
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-27vega: Update shader headers.Michal Krol
Drop the 1.1 version suffix.
2009-11-27python/tests: Update shader headers.Michal Krol
Drop the 1.1 version suffix.
2009-11-27svga: Update text shader header.Michal Krol
2009-11-27vl: Do not emit tgsi_version token.Michal Krol
2009-11-27tgsi: Remove tgsi_version token.Michal Krol
2009-11-27gallium: Remove tgsi_version token.Michal Krol
Not really needed, never served its purpose.
2009-11-26svga: Prevent potential null pointer dereference in vmw_surface.c.Vinson Lee
2009-11-26gallium: fix more statetrackers/drivers for not using texture ↵Roland Scheidegger
width/height/depth arrays