summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2009-08-11gallium/trace: remove stray semicolonsBrian Paul
2009-08-11gallium/identity: remove stray semicolonsBrian Paul
2009-08-12i915g: Check relocs as wellJakob Bornecrantz
2009-08-11gallium: Add texture usage information to surface_buffer_createJakob Bornecrantz
We need aditional meta data about the usage of the surface in softpipe because we need to be able tell the diffrence between PRIMARY and DISPLAY_TARGET surfaces.
2009-08-11r300g: Fix up remaining VAP_CNTL_STATUS writes for big endian.Michel Dänzer
2009-08-11r300g: Emit relocations for pitch registers.Michel Dänzer
Fixes CS failures with tiling enabled kernels.
2009-08-11r300g: a typo of debug messageCooper Yuan
2009-08-07r300g: Knock out another fragment of invariant state.Corbin Simpson
Colorbuffer setup will always happen.
2009-08-07gallium: Move minify() to u_math.Corbin Simpson
minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3
2009-08-07r300g: Remove r300_constant_buffer::user_count.Corbin Simpson
Not needed with new compiler.
2009-08-08i915g: Don't forget x/y coords in transfersJakob Bornecrantz
Fixes demos/ray.
2009-08-06identity: Use the correct textureJakob Bornecrantz
2009-08-06i915g: Dirty fix for VBO module double flush assertJakob Bornecrantz
2009-08-05i915g: Treat primary textures as scanout buffersJakob Bornecrantz
2009-08-05trace: Use correct texture in drm_api wrapperJakob Bornecrantz
2009-08-05softpipe: Also defere primary textures to backendJakob Bornecrantz
2009-08-04r300g: Slightly saner initialization of some texture / transfer fields.Michel Dänzer
2009-08-02Merge commit 'nha/r300-compiler-gallium'Corbin Simpson
2009-07-31Rename TGSI LOOP instruction to better match theri usage.Michal Krol
The LOOP/ENDLOOP pair is renamed to BGNFOR/ENDFOR as its behaviour is similar to a C language for-loop. The BGNLOOP2/ENDLOOP2 pair is renamed to BGNLOOP/ENDLOOP as now there is no name collision.
2009-07-30r300g: Use radeon compiler for fragment programsNicolai Hähnle
This is entirely untested on R500, and needs more testing on R300.
2009-07-30r300g: Remove extraneous printfNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-30r300g: Use r300compiler for vertex shadersNicolai Hähnle
2009-07-30softpipe: Mark texture dirty when unmapped.Chia-I Wu
When a texutre transfer is mapped for writing, mark the texture dirty when unmapped. This was done in surface creation, and this commit moves it to happen in texture unmapping. This fixes subtex test in progs/tests/. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-29nv50: support non-blocking query_result()Ben Skeggs
2009-07-29nouveau: map_range returning -EBUSY isn't necessarily an errorBen Skeggs
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: use new 2D surface format namesChristoph Bumiller
2009-07-29nv50: support more vtxelt formatsChristoph Bumiller
NOTE: we must not try to emit buffer relocations when vtxbuf_nr is 0 but vtxelt_nr is not
2009-07-29nv50: should use uint32_t ptr in draw_elements_inline_u32Christoph Bumiller
2009-07-29nv50: TIC/TSC fixes and additionsChristoph Bumiller
Red and blue were interchanged in TIC. Add border color and some formats.
2009-07-29nv50: fix sx/dx typo in transfer_rect_m2mfChristoph Bumiller
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-27nouveau: swizzle a single row or column, doing it one pixel at a timePatrice Mandin
2009-07-26r300g: Fix two trivial texture size issues.Corbin Simpson
Next thing to fix: progs/tests/mipgen.
2009-07-26r300g: Add some debugging, correct little bits of math in texture setup.Corbin Simpson
Simple stuff still works, but not sure about some of the more complex things.
2009-07-26nouveau: only swizzle square textures for copyPatrice Mandin
2009-07-26nouveau: Take into account destination position for copy_swizzle, need to ↵Patrice Mandin
split copy a bit more
2009-07-26nouveau: Recursively swizzle an NPOT sized copyPatrice Mandin
2009-07-24nouveau: use nv04_surface_copy_swizzle only for POT sizesPatrice Mandin
2009-07-23r300g, radeon-gallium: Fix API, cleanup.Corbin Simpson
Something called "validate" should return FALSE on failure, not TRUE.
2009-07-23r300g: PIPE_CAP_BLEND_EQUATION_SEPARATE.Corbin Simpson
2009-07-23gallium: remove deprecated TGSI opcodesKeith Whitwell
Various opcodes which can be implemented trivially with other TGSI opcodes, such as matrix multiplication and negation. These were not used by any state tracker or implemented by any of the drivers.
2009-07-23r300g: Actually mark shaders as translated/untranslated.Corbin Simpson
Also trust that Gallium will not give us TGSI that miscounts shader consts. This creates a 20x speedup on glxgears, from 8 FPS to 160 FPS.
2009-07-22cell: update TGSI_OPCODE_ casesBrian Paul
2009-07-22nouveau: nv30: wrong variable for formatPatrice Mandin
2009-07-22nouveau: Take into account sx,sy parameters to read from source surfacePatrice Mandin
2009-07-22gallium: simplify tgsi_full_immediate structKeith Whitwell
Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables.
2009-07-20gallium/trace: Fix SCons build.Michel Dänzer
2009-07-20r300g: Guard R500 register writes by is_r500 check.Michel Dänzer
Flagged by the DRM command stream checker. This allows the driver to work on non-R500 cards.