summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_state_validate.c
AgeCommit message (Collapse)Author
2009-10-23nv50: add depth texture formats, and a few others, tooChristoph Bumiller
2009-10-19nv50: use SIFC for TIC, TSC uploadChristoph Bumiller
Add proper flushes for TIC and TSC and remove the costly 2D.0110 flush in nv50_flush. Correct TIC and TSC bo sizes.
2009-10-19drm/nv50: write tic/tsc setup to correct slots when skipping unitsBen Skeggs
2009-10-06nv50: fix segfault when there's gaps in enabled texture unitsBen Skeggs
Tested with progs/demos/multiarb.
2009-10-05nv50: support PIPE_FORMAT_X8R8G8B8_UNORMBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-09-25nv50: actually enable view volume clippingChristoph Bumiller
Until now, only primitives wholly outside the view volume were not drawn. This was only visibile when using a viewport smaller than the window size, naturally.
2009-09-15nv50: use flush_notify to reduce number of relocsMaarten Maathuis
2009-09-15nv50: proper linkage between VP and FPChristoph Bumiller
This moves construction of the mapping between VP outputs and FP inputs into validation. The map also contains slots for special outputs like clip distance and point size, so we need to at least merge the VP related and FP related parts on validation if we want to support those. Now we match every single FP input component with results from the VP and leave those not read out of the map, or replace those not written by 0 (xyz) or 1 (w). The bitmap indicating linear interpolants is also filled, and flat FP inputs are mapped in only after non-flat ones, as is required. Furthermore, we can save some space by only fetching VP attrs we actually use, and avoid wasting any output regs because of TGSI using less than 4 components.
2009-09-10nv50: Fix tiling mode for lower mipmap levels.Marcin Kościelnicki
2009-08-31nouveau: introduce nouveau_miptree common to all nouveau pipe driversBen Skeggs
The winsys once again has to know about textures it seems, so we need a common representation between all our pipe drivers to store some information the winsys will need. Only the nv50 driver has been fixed so far.
2009-08-20nv50: use VTX_ATTR_nF for constant vtxeltsChristoph Bumiller
2009-08-17nv50: whitespace fixes and deobfuscationMaarten Maathuis
2009-08-15nv50: avoid a NULL-ptr dereference when the pipe context changesMaarten Maathuis
- We cannot assume all state objects are present when the pipe context changes.
2009-08-14nv50: make sure we don't re-emit outdated scissor stateChristoph Bumiller
Since we don't turn off scissors, we need to update the stateobj when the framebuffer size changes.
2009-08-14nv50: make use of the y-origin switchChristoph Bumiller
Now that we know how to make the hardware have y-coordinate origin top, we can get rid of all the inversion introduced earlier.
2009-07-29nv50: correct zeta formatsChristoph Bumiller
What was Z24S8 before is actually S8Z24, and what we had for Z16 is actually X8Z24. Now, we also have the REAL Z24S8 and I added Z32_FLOAT as well; most of the formats need different tile_flags.
2009-07-29nv50: fix viewport transformChristoph Bumiller
The translation also needs to be inverted, and in bypass mode the state tracker incorrectly assumes that Y = 0 = TOP, so we need inversion there to; NDC clipping has to be deactivated explicitly.
2009-07-29nv50: use correct scissor regChristoph Bumiller
2009-07-01nouveau: return some supported zeta formatsBen Skeggs
2009-06-06nv50: support non-normalized texture coordsBen Skeggs
2009-06-05nv50: use larger tile sizesBen Skeggs
2009-06-05nv50: create textures with nouveau_bo, for flexibility with tiling laterBen Skeggs
2009-06-05nouveau: move channel creation into pipe driversBen Skeggs
2009-06-05nouveau: pass nouveau_bo instead of pipe_buffer to so_ callsBen Skeggs
2009-04-03nv50: fix viewport state updateChristoph Bumiller
2009-03-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
2009-03-14nouveau: bypass_vs_clip_and_viewportYounes Manton
2009-03-07nouveau: make stateobjs start off with refcount of 1Ben Skeggs
2009-02-04nouveau: link against libdrm_nouveau (installed with libdrm)Ben Skeggs
2009-02-02gallium: remove pipe_buffer from surfacesZack Rusin
this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures.
2009-01-27gallium: standardize api on the prefix "nr"Zack Rusin
2008-08-11nouveau: pf_sprint_name -> pf_nameBen Skeggs
2008-07-11nv50: split tic construction out into own fileBen Skeggs
2008-07-11nv50: add license headers to .c filesBen Skeggs
2008-07-11nv50: get clear-scissor workingBen Skeggs
2008-07-08nv50: make use of nouveau drm 0.0.11 to get 3d goingBen Skeggs
2008-06-29nv50: maybe some scissor fixes..Ben Skeggs
2008-06-29nv50: vpt translate/scale backwardsBen Skeggs
2008-06-29nv50: maintain pipe surface status fieldBen Skeggs
2008-06-29nv50: make sure static buffers (constbuf, tex control etc) get on reloc listBen Skeggs
2008-06-29nv50: get tri-scissor-tri workingBen Skeggs
2008-06-29nv50: separate state validation and upload, similar to nv40Ben Skeggs
2008-06-29nv50: fix blend colourBen Skeggs
2008-06-29nv50: use stateobjs for sampler/image_control uploadsBen Skeggs
2008-06-29nv50: do tsc/tic upload + stub out shader TEX stuffBen Skeggs
2008-06-29nv50: flag to indicate to winsys we want a surface for use as a zeta bufferBen Skeggs
NVIDIA love to make life difficult.. we need different flags in PTEs for zeta.. yay.. not.
2008-06-29nv50: remove some cruft, don't upload program unless really neededBen Skeggs
2008-06-29nv50: use "real" constbufs for shaders + tcb uploadsBen Skeggs
2008-06-29nv50: import current "state of the art" nv50 codeBen Skeggs
2008-03-12nv50: start on fb stateBen Skeggs