summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2009-08-14trace: Remove space next to the class attribute of the trace.José Fonseca
2009-07-27softpipe: include sp_winsys.h to silence function prototype warningBrian Paul
2009-07-15softpipe: limit blend results to [0,1]Luca Barbieri
2009-07-01gallium: fix the front face semanticsZack Rusin
mesa allocates both frontface and pointcoord registers within the fog coordinate register, by using swizzling. to make it cleaner and easier for drivers we want each of them in its own register. so when doing compilation from the mesa IR to tgsi allocate new registers for both and add new semantics to the respective declarations.
2009-06-26cell: PIPE_CAP_TGSI_CONT_SUPPORTED queryBrian Paul
2009-06-26softpipe: PIPE_CAP_TGSI_CONT_SUPPORTED queryBrian Paul
2009-06-19softpipe: return alpha=1 in shadow_compare() functionBrian Paul
The alpha value wasn't set at all before so we got unpredictable results. Note that we don't currently obey GL_DEPTH_TEXTURE_MODE in the state tracker. For now, we return the result in the default mode (r,r,r,1).
2009-06-18trace: Use size_t consistently.José Fonseca
2009-06-16softpipe: fix out of bounds quad rasterization bugBrian Paul
For some triangles we can generate quads which lie just outside the surface bounds. Just check the quad's mask before trying to emit/process the quad. Fixes failed assertion in Lightsmark.
2009-06-15softpipe: Fix softpipe_is_texture_referenced.José Fonseca
Render results are only visible when the render cache is flushed. softpipe_is_texture_referenced must reflect that or transfers to/from the textures bound in the framebuffer won't be proceeded of the necessary flush, causing transfer data to be outdated/clobbered. This fixes conform drawpix test with softpipe.
2009-06-04softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()Brian Paul
Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN. This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a. (cherry picked from commit 086ecea179ed572c89aa77c5f465671a5cef87a7)
2009-06-04softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON renderingBrian Paul
This fixes incorrect front/back-face orientation. (cherry picked from commit a64bbdaa3e0b036a880d6db65ceb4a66205062f1)
2009-05-30softpipe: fix incorrect provoking vertex color for PIPE_PRIM_POLYGONBrian Paul
This fixes the incorrect colors seen when rendering flat-shaded polygons. Note that clipped polygons were correct, but unclipped polygons were wrong. See the glean/clipFlat test for regression testing.
2009-05-18softpipe: add texture target sanity check assertionBrian Paul
2009-05-01r300-gallium, radeon-winsys: Hide radeon_cs from r300 pipe.Corbin Simpson
2009-05-01r300-gallium, radeon-winsys: Space accounting.Corbin Simpson
It is no longer optional in current libdrm, so it was time to actually start counting our BOs.
2009-05-01r300-gallium, radeon-winsys: Reorganize r300_winsys header, break ABI.Corbin Simpson
Make things more consistent, prepare for more function hooks.
2009-05-01r300-gallium: Don't bother with conditional double define.Corbin Simpson
We'll just forever leave it in r300_winsys.h since it's needed for whichever winsys is hosting the pipe.
2009-04-30i915simple: remove duplicated i915_context.c in C_SOURCESBrian Paul
2009-04-28softpipe: return PIPE_UNREFERENCED in softpipe_is_buffer/texture_referenced()Brian Paul
This allows the engine demo to run again (avoid crash in VBO code). This stuff still needs to be revisited someday though...
2009-04-26r300-gallium: Correctly flush Draw.Corbin Simpson
Should help with a few non-TCL bugs.
2009-04-26r300-gallium: Add a draw_flush() to r300_flush().Mathias Gottschlag
This fixes some missing primitives which had been drawn right before the next glClear().
2009-04-25r300-gallium: Fix vertex shader OVM counting.Corbin Simpson
Attribs must be packed: position, point size, colors, texcoords. Thanks to osiris for pointing it out.
2009-04-25r300-gallium: Clean up FB state emit.Corbin Simpson
2009-04-25r300-gallium: Set framebuffer pitch on every framebuffer change.Mathias Gottschlag
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-04-23gallium/intel/gem: Use softpipe rather than i915simple if INTEL_SOFTPIPE is set.Michel Dänzer
2009-04-21r300-gallium: Fix CS size mismatchMathias Gottschlag
This fixes some warnings which appear because the driver assumes a wrong cs size (13 vs 16 register writes in some cases).
2009-04-20softpipe: fix softpipe_is_buffer/texture_referenced() regressionBrian Paul
Return the conservative PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE value for now. This fixes a bunch of regressions seen in piglit and glean.
2009-04-20trace: Add initializer for static variablesJakob Bornecrantz
2009-04-19trace: Enable dumping to be turned on and offJakob Bornecrantz
2009-04-18softpipe: Simplify softpipe_create's prototype.José Fonseca
2009-04-18softpipe: Fix softpipe_is_texture_referenced prototype.José Fonseca
2009-04-18softpipe: Remove softpipe_winsys.José Fonseca
Not used by softpipe anyway.
2009-04-17trace: Keep screen objects on listsJakob Bornecrantz
2009-04-17trace: Fix is_referenced functionsJakob Bornecrantz
2009-04-17trace: Simplify trace_buffer functionJakob Bornecrantz
2009-04-15r300-gallium: Fixup for commit 9b75627fab5bf2ea90f27ddd31b60c54895f6de6.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-15gallium: Make sure we flush before some texture / buffer operations.Thomas Hellstrom
Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-15r300-gallium: Use viewport state.Corbin Simpson
2009-04-15r300-gallium: Don't use indexbufs for now.Corbin Simpson
They aren't working, so best to turn it off.
2009-04-15r300-gallium: Point size is at OVM position 15, not 1.Corbin Simpson
Or so sayeth osiris, and he would know. :3
2009-04-15r300-gallium: vs: Dot products.Corbin Simpson
2009-04-13nv50: fix mrt clearBen Skeggs
2009-04-10r300-gallium: Split up vertex format tallying for HW and SW TCL.Corbin Simpson
This makes things draw (again) with HW TCL. Yay?
2009-04-10r300-gallium: Finish up cleanup of vertex format state.Corbin Simpson
This makes texcoords route properly, and also fixes a few asserts.
2009-04-10r300-gallium: Clean up vertex format setup.Corbin Simpson
2009-04-10gallium: remove pipe_texture::compressed fieldBrian Paul
The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format).
2009-04-09i965simple: remove pipe_texture::compressed referenceBrian Paul
2009-04-09trace: Dump the fence, not its pointer.José Fonseca
2009-04-09trace: Use 'flags' name consistently.José Fonseca