summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* gallium: remove the pipe_sampler_state::shadow_ambient fieldBrian Paul2009-06-301-1/+0
| | | | | | | This was only present for the sake of GL_ARB_shadow_ambient which we never implemented in Gallium. If we someday want GL_ARB_shadow_ambient we can implement it in the state tracker by adding a MAD after the relevant TEX instructions.
* identity: Create a drm_api wrapperJakob Bornecrantz2009-06-303-1/+224
|
* drm/st: Return drm_api struct from a functionJakob Bornecrantz2009-06-304-5/+10
|
* softpipe: use shadow_compare4() to compare texcoord to four texture samplesBrian Paul2009-06-291-12/+78
|
* softpipe: pass sampler state to shadow_compare()Brian Paul2009-06-291-19/+17
|
* nouveau: Expect right params to tex_transfer_destroy().Younes Manton2009-06-291-1/+1
| | | | | Never crashed on x86, ptx is in the same stack slot in either case. Thanks to Bob Gleitsmann for catching this.
* nouveau: Turn off debug cannon.Younes Manton2009-06-291-2/+1
|
* r300g: YCbCr and sRGB textures.Corbin Simpson2009-06-273-1/+15
|
* r300g: Fix EXT_packed_depth_stencil functionality.Corbin Simpson2009-06-272-2/+10
| | | | Allow Z24S8 to be a true texture.
* r300g: EXT_provoking_vertex.Corbin Simpson2009-06-262-4/+6
|
* r300g: S3TC.Corbin Simpson2009-06-262-6/+36
| | | | tests/texcompress2 doesn't work, but tests/texcmp does (more or less.)
* r300g: Use real texture formats.Corbin Simpson2009-06-263-25/+42
| | | | What bugs me is that the YUV444 format somehow worked properly. :3
* r300g: Definitively forbid unusable Z buffer/stencil formats.Corbin Simpson2009-06-261-1/+12
|
* r300g: Comment out assert for now.Corbin Simpson2009-06-261-0/+2
| | | | Will fix with better constant refactoring later.
* r300g: Be more specific on surface_copy fallbacks.Corbin Simpson2009-06-261-1/+1
|
* r300g: PIPE_CAP_TGSI_CONT_SUPPORTED.Corbin Simpson2009-06-261-0/+3
|
* r300-gallium: Ensure that no dirty state goes unemitted.Corbin Simpson2009-06-261-2/+4
|
* Merge branch 'mesa_7_5_branch'Brian Paul2009-06-262-0/+4
|\ | | | | | | | | | | | | | | Conflicts: Makefile src/gallium/drivers/softpipe/sp_screen.c src/mesa/main/version.h
| * cell: PIPE_CAP_TGSI_CONT_SUPPORTED queryBrian Paul2009-06-261-0/+2
| |
| * softpipe: PIPE_CAP_TGSI_CONT_SUPPORTED queryBrian Paul2009-06-261-0/+2
| |
* | trace: Don't write state objects to file if dumping is not setJakob Bornecrantz2009-06-141-0/+60
| |
* | r300-gallium: organize fragment/vertex shadersJoakim Sindholt2009-06-2620-495/+674
| | | | | | | | | | | | | | | | | | | | Appart from separating r3xx/r5xx fragment shaders, a more consistent naming scheme has been applied. From now on: r300 = all chips r3xx = R300/R400 only r5xx = R500 only This way r300_fragment_shader is the master struct, and the structs r3xx_fragment_shader and r5xx_fragment_shader inherits it.
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-243-5/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c
| * softpipe: return alpha=1 in shadow_compare() functionBrian Paul2009-06-191-0/+2
| | | | | | | | | | | | | | 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).
| * trace: Use size_t consistently.José Fonseca2009-06-182-5/+5
| |
* | identity: Add new identity driverJakob Bornecrantz2009-06-249-0/+1711
| | | | | | | | | | | | | | | | | | | | | | | | This driver does no transformation of the gallium calls going to the real driver, like the identity matrix. It is intended to be the basis for transforming and/or debug drivers like trace and rbug. Authors of this patch are: Michal Krol, orignal heavy lifting. José Fonesca, object wrapping code stolen from trace. Jakob Bornecrantz, put it all toghether and renamed a stuff.
* | i965simple: use u_reduced_prim() functionBrian Paul2009-06-191-16/+3
| |
* | softpipe: use u_reduced_prim()Brian Paul2009-06-191-15/+2
| |
* | softpipe: whitespace, reformattingBrian Paul2009-06-191-8/+5
| |
* | Merge branch 'ext-provoking-vertex'Brian Paul2009-06-192-66/+168
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
| * | softpipe: implement flatshade_first for trianglesBrian Paul2009-06-091-58/+182
| | |
| * | softpipe: implement flatshade_first for line setupBrian Paul2009-06-091-1/+4
| | |
| * | Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON"Brian Paul2009-06-033-6/+1
| | | | | | | | | | | | This reverts commit 5d75124db480b37977c353511b4e228905b7cc95.
* | | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-165-3/+28
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: src/mesa/main/api_validate.c
| * | softpipe: fix out of bounds quad rasterization bugBrian Paul2009-06-161-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | softpipe: Fix softpipe_is_texture_referenced.José Fonseca2009-06-154-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()Brian Paul2009-06-041-2/+12
| | | | | | | | | | | | | | | | | | | | | 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)
| * | softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON renderingBrian Paul2009-06-041-1/+1
| | | | | | | | | | | | | | | | | | This fixes incorrect front/back-face orientation. (cherry picked from commit a64bbdaa3e0b036a880d6db65ceb4a66205062f1)
* | | trace: __func__ --> __FUNCTION__.Michal Krol2009-06-101-1/+1
| | |
* | | trace/rbug: Add support for draw block ruleJakob Bornecrantz2009-06-093-3/+91
| | |
* | | trace/rbug: Return textures currently bound to contextJakob Bornecrantz2009-06-093-3/+17
| | |
* | | r300-gallium: HW TCL glxgears. (Read the rest of the log.)Corbin Simpson2009-06-081-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Um. So, yeah. Two massive WTF moments here. The first one is that, somehow, I never actually hooked up vertex shader emission, so the only time that the VAP gets set up is during surface_copy/surface_fill. That's why acidgears was happening. The second one is that, somehow, once I actually hooked it up, glxgears just magically worked. Without any actual, real testing, I somehow accidentally made the shader compiler work. Go figure.
* | | r300-gallium: Make UCP and clip work again for SW TCL.Corbin Simpson2009-06-082-19/+21
| | | | | | | | | | | | | | | | | | | | | SW TCL: tri-clip works, tri-userclip works HW TCL: tri-clip fails, tri-userclip works That is a 200% improvement over the previous situation. Woot.
* | | r300-gallium: Don't emit UCP planes for SW TCL.Corbin Simpson2009-06-083-4/+12
| | |
* | | softpipe: advertise PIPE_CAP_MAX_TEXTURE_ANISOTROPY as 16.0Brian Paul2009-06-081-1/+1
| | | | | | | | | | | | | | | Note that this doesn't have any real significance since PIPE_CAP_ANISOTROPIC_FILTER still returns 0.
* | | trace/rbug: Sleep on windows when blockedJakob Bornecrantz2009-06-081-1/+3
| | |
* | | nouveau: forgotten makefile...Ben Skeggs2009-06-071-0/+8
| | |
* | | nv50: fix multi-texturingBen Skeggs2009-06-063-5/+16
| | |
* | | nv50: support non-normalized texture coordsBen Skeggs2009-06-064-8/+18
| | |
* | | r300-gallium: Use VAP_CLIP_CNTL.Corbin Simpson2009-06-052-4/+5
| | | | | | | | | | | | Makes tri-userclip work with HW TCL.