summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* tgsi: initial texturing support on sse pathKeith Whitwell2009-07-161-0/+1
| | | | | Most obvious problem is drawpixels comes out blocky, but this may be an existing issue of KIL on the sse path.
* tgsi: reduce x86 reg usage in tgsi_sse generated programsKeith Whitwell2009-07-161-18/+5
| | | | | | Pass the tgsi_exec_machine struct in directly and just hold a single pointer to this struct, rather than keeping one for each of its internal members.
* gallium: proper constructor and destructor for tgsi_exec_machineKeith Whitwell2009-07-161-13/+17
| | | | | Centralize the creation, initialization and destruction of this struct. Use align_malloc instead of home-brew alternatives.
* gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from ↵Patrice Mandin2009-07-147-0/+14
| | | | default extension list
* r300g: Small compile warning fixes.Nicolai Hähnle2009-07-133-2/+5
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g, radeon: Whitespace fixes.Nicolai Hähnle2009-07-131-1/+1
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g: Use align() instead of inline maths.Corbin Simpson2009-07-131-4/+7
|
* r300g: Remove VAP_CNTL_STATUS from invariant state.Corbin Simpson2009-07-081-6/+1
| | | | Seriously.
* r300g: Disable MSPOS registers for glisse's CS security checker.Corbin Simpson2009-07-081-4/+7
| | | | These will come back in someday, when we can properly use them.
* r300-gallium: Unify sampler and texture emit.Corbin Simpson2009-07-083-39/+26
| | | | They have to cross into each other's registers.
* r300-gallium: Mipmap setup.Corbin Simpson2009-07-082-10/+19
| | | | (cherry picked from commit 88c01a15da5639dd68a6a0133724994cb66f1316)
* r300g: Add endian fix to vertex fetcher setup.Corbin Simpson2009-07-081-2/+9
| | | | As reported and initially tested by MrCooper.
* Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-032-15/+13
|\ | | | | | | | | | | Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
| * gallium: fix the front face semanticsZack Rusin2009-07-012-15/+13
| | | | | | | | | | | | | | | | 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.
* | trace: Add drm api integrationJakob Bornecrantz2009-07-024-12/+265
| | | | | | | | | | | | This is okay since drm_api.h doesn't have any external dependancies, one could make it only compile on platforms that support drm.
* | r300g: Fix recursive Draw flush.Corbin Simpson2009-07-012-1/+7
| | | | | | | | | | | | Also just noticed that demos/copypix walks around the overlapping blit rules. Bad, bad Mesa. :3
* | r300g: Use floats for surface_copy texcoords, use correct src and dest.Corbin Simpson2009-07-011-16/+17
| | | | | | | | This makes demos/copypix better-looking. Horizontal dimensions are right now.
* | nouveau: return some supported zeta formatsBen Skeggs2009-07-0111-1/+51
| |
* | nouveau: deal with PIPE_CAP_TGSI_CONT_SUPPORTEDBen Skeggs2009-07-016-0/+12
| |
* | drm/st: Remove drm_api struct from driversJakob Bornecrantz2009-07-014-10/+5
| | | | | | | | | | | | Remove the drm_api from the functions in the softpipe and i915simple drivers. Create wrapper functions in the backends instead.
* | 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