summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2009-07-03Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
2009-07-02trace: Add drm api integrationJakob Bornecrantz
This is okay since drm_api.h doesn't have any external dependancies, one could make it only compile on platforms that support drm.
2009-07-01r300g: Fix recursive Draw flush.Corbin Simpson
Also just noticed that demos/copypix walks around the overlapping blit rules. Bad, bad Mesa. :3
2009-07-01r300g: Use floats for surface_copy texcoords, use correct src and dest.Corbin Simpson
This makes demos/copypix better-looking. Horizontal dimensions are right now.
2009-07-01nouveau: return some supported zeta formatsBen Skeggs
2009-07-01nouveau: deal with PIPE_CAP_TGSI_CONT_SUPPORTEDBen Skeggs
2009-07-01drm/st: Remove drm_api struct from driversJakob Bornecrantz
Remove the drm_api from the functions in the softpipe and i915simple drivers. Create wrapper functions in the backends instead.
2009-06-30gallium: remove the pipe_sampler_state::shadow_ambient fieldBrian Paul
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.
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-30identity: Create a drm_api wrapperJakob Bornecrantz
2009-06-30drm/st: Return drm_api struct from a functionJakob Bornecrantz
2009-06-29softpipe: use shadow_compare4() to compare texcoord to four texture samplesBrian Paul
2009-06-29softpipe: pass sampler state to shadow_compare()Brian Paul
2009-06-29nouveau: Expect right params to tex_transfer_destroy().Younes Manton
Never crashed on x86, ptx is in the same stack slot in either case. Thanks to Bob Gleitsmann for catching this.
2009-06-29nouveau: Turn off debug cannon.Younes Manton
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-27r300g: YCbCr and sRGB textures.Corbin Simpson
2009-06-27r300g: Fix EXT_packed_depth_stencil functionality.Corbin Simpson
Allow Z24S8 to be a true texture.
2009-06-26r300g: EXT_provoking_vertex.Corbin Simpson
2009-06-26r300g: S3TC.Corbin Simpson
tests/texcompress2 doesn't work, but tests/texcmp does (more or less.)
2009-06-26r300g: Use real texture formats.Corbin Simpson
What bugs me is that the YUV444 format somehow worked properly. :3
2009-06-26r300g: Definitively forbid unusable Z buffer/stencil formats.Corbin Simpson
2009-06-26r300g: Comment out assert for now.Corbin Simpson
Will fix with better constant refactoring later.
2009-06-26r300g: Be more specific on surface_copy fallbacks.Corbin Simpson
2009-06-26r300g: PIPE_CAP_TGSI_CONT_SUPPORTED.Corbin Simpson
2009-06-26r300-gallium: Ensure that no dirty state goes unemitted.Corbin Simpson
2009-06-26Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile src/gallium/drivers/softpipe/sp_screen.c src/mesa/main/version.h
2009-06-14trace: Don't write state objects to file if dumping is not setJakob Bornecrantz
2009-06-26r300-gallium: organize fragment/vertex shadersJoakim Sindholt
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.
2009-06-24Merge branch 'mesa_7_5_branch'Brian Paul
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
2009-06-24identity: Add new identity driverJakob Bornecrantz
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.
2009-06-19i965simple: use u_reduced_prim() functionBrian Paul
2009-06-19softpipe: use u_reduced_prim()Brian Paul
2009-06-19softpipe: whitespace, reformattingBrian Paul
2009-06-19Merge branch 'ext-provoking-vertex'Brian Paul
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
2009-06-16Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/api_validate.c
2009-06-09softpipe: implement flatshade_first for trianglesBrian Paul
2009-06-09softpipe: implement flatshade_first for line setupBrian Paul
2009-06-10trace: __func__ --> __FUNCTION__.Michal Krol
2009-06-09trace/rbug: Add support for draw block ruleJakob Bornecrantz
2009-06-09trace/rbug: Return textures currently bound to contextJakob Bornecrantz
2009-06-08r300-gallium: HW TCL glxgears. (Read the rest of the log.)Corbin Simpson
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.
2009-06-08r300-gallium: Make UCP and clip work again for SW TCL.Corbin Simpson
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.
2009-06-08r300-gallium: Don't emit UCP planes for SW TCL.Corbin Simpson
2009-06-08softpipe: advertise PIPE_CAP_MAX_TEXTURE_ANISOTROPY as 16.0Brian Paul
Note that this doesn't have any real significance since PIPE_CAP_ANISOTROPIC_FILTER still returns 0.