summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965
AgeCommit message (Collapse)Author
2010-01-31i965g: Add missing va_end.Vinson Lee
2010-01-29tgsi: add caps for fragment coord conventions (v3)Luca Barbieri
Changes in v3: - Renumber caps to accomodate caps to add to master in the meantime - Document caps - Add unsupported caps to *_screen.c too Changes in v2: - Split for properties patch - Use positive caps instead of negative caps This adds 4 caps to indicate support of each of the fragment coord conventions. All drivers are also modifed to add the appropriate caps. Some drivers were incorrectly using non-Gallium-default conventions, and caps for them have them set so that they will behave correctly after the later state tracker patches. This drivers are softpipe/llvmpipe (uses integer rather than half integer) and pre-nv50 Nouveau (uses lower left rather than upper left). Other drivers might be broken. With this patchset, fixing them is only a matter of exposing the appropriate caps that match the behavior of the existing code. Drivers are encouraged to support all conventions themselves for better performance, and this feature is added to softpipe in a later patch.
2010-01-28Merge commit 'origin/perrtblend'Roland Scheidegger
Conflicts: src/gallium/drivers/softpipe/sp_screen.c src/gallium/include/pipe/p_defines.h
2010-01-27i965g: Remove unnecessary headers.Vinson Lee
2010-01-26i965g: Silence uninitialized variable warning.Vinson Lee
2010-01-25i965g: adapt to blend changesRoland Scheidegger
2010-01-20gallium/i965: Make brw_batchbuffer prototypes match in source & headerAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-15Merge branch 'gallium-noconstbuf'Roland Scheidegger
Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c src/mesa/state_tracker/st_draw_feedback.c
2010-01-12gallium: remove point_size_min and point_size_max from rasterizer stateRoland Scheidegger
The state tracker is responsible for clamping to any graphics API enforced size min/max limits for both the static point_size setting as well as per vertex point size (in the vertex shader). Note that mesa state tracker didn't actually use these values.
2010-01-11gallium: remove const qualifier from pipe_buffer argument in set_constant_bufferRoland Scheidegger
2010-01-07i965g: updates for draw retvalKeith Whitwell
2010-01-06i965g: fix invalid assertion in emit_xpd(), againBrian Paul
2010-01-06gallium: remove PIPE_TEX_FILTER_ANISOLuca Barbieri
This patch removes PIPE_TEX_FILTER_ANISO. Anisotropic filtering is enabled if and only if max_anisotropy > 1.0. Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be considered equivalent, and meaning to turn off anisotropic filtering. This approach has the small drawback of eliminating the possibility of enabling anisotropic filter on either minification or magnification separately, which Radeon hardware seems to support, is currently support by Gallium but not exposed to OpenGL. If this is actually useful it could be handled by splitting max_anisotropy in two values and adding an appropriate OpenGL extension. NOTE: some fiddling & reformatting by keithw to get this patch to apply. Hopefully nothing broken in the process.
2010-01-05i965g: fix invalid assertion in emit_xpd()Brian Paul
Invalid assertion found by Roel Kluin <roel.kluin@gmail.com>
2010-01-04i965g: Fix assert.Vinson Lee
2010-01-02i965: Add missing include.José Fonseca
2009-12-24i965g: get trivial/tri working again after edgeflag changesKeith Whitwell
2009-12-24i965g: strict aliasing changesKeith Whitwell
2009-12-24i965g: calculate depth min/maxKeith Whitwell
Previously hard-wired to 0..1
2009-12-24gallium: adapt drivers to pipe_constant_buffer removalRoland Scheidegger
2009-12-23i965g: Rename {pf->util_format}_is_depth_or_stencil()Tomas Carnecky
2009-12-23[i965] Rename {pf -> util}_format_is_depth_or_stencil()Tomas Carnecky
The function was moved and renamed in 0bed834b. Signed-off-by: Tomas Carnecky <tom@dbservice.com>
2009-12-22i965g: fix for edgeflag changes (untested)Roland Scheidegger
2009-12-22i965g: fix bo_referenceKeith Whitwell
2009-12-22i965g: update for u_format changesKeith Whitwell
2009-12-21i965g: fixes to build after merge of masterKeith Whitwell
2009-12-21i965g: remove half-finished change to tgsi_parseKeith Whitwell
2009-12-21i965g: hook vertex state emit up to PIPE_NEW_VERTEX_BUFFERKeith Whitwell
2009-12-21i965g: keep refcounts to bound vertex buffersKeith Whitwell
2009-12-21i965g: add DEBUG_WINSYS flagKeith Whitwell
2009-12-21i965g: remove duplicate set_viewport_state, fixes samples/depthKeith Whitwell
2009-12-10gallium: Silence compiler warnings.michal
2009-12-10i965: Fix after sampler view changes.michal
2009-12-01i965g: nasty hack for clearing y-tiled surfacesKeith Whitwell
2009-12-01i965g: add missing headerKeith Whitwell
2009-12-01i965g: don't reference unused vars in RSQKeith Whitwell
Probably overly pedantic
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-30brw: add dumping to gem winsysKeith Whitwell
2009-11-30i965g: remove redundant nr_attrs memberKeith Whitwell
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-23i965g: gs nr_attrs also tracks nr fragment shader inputsKeith Whitwell
Or, equivalently, nr of outputs of active vertex shader varient.
2009-11-23i965g: correct test for unfilled modesKeith Whitwell
2009-11-23i965g: use correct key size for vs uploadKeith Whitwell
2009-11-23i965g: apply linear math to both linear and perspective attrsKeith Whitwell
2009-11-21i965g: get basic texturing working againKeith Whitwell
Revert to fixed-layout surface binding table -- it's probably the best way to do this. Pass sampler and texture numbers separately even though we're always keeping them the same at present.
2009-11-19i965g: fix typo converting wm src regsKeith Whitwell
2009-11-19i965g: fragment shader immediates workingKeith Whitwell
2009-11-19i965g: first pass at vs immediates in curbeKeith Whitwell
2009-11-19i965g: get linear vs perspective interpolation working againKeith Whitwell