summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Add doxygen commentsIan Romanick2010-09-202-12/+121
|
* i915g: Link with wrapper sw winsys with sconsJakob Bornecrantz2010-09-201-0/+1
|
* svga: Integer constant register file has a separate namespace.Michal Krol2010-09-203-8/+9
| | | | | | Count int and float constants independently. Since there are only few i# constants available and hundreds of c# constants, it would be too easy to end up with an i# declaration out of its range.
* svga: Fix relative addressing translation for pixel shaders.Michal Krol2010-09-201-14/+37
| | | | | | | | | | | | Pixel shaders do not have address registers a#, only one loop register aL. Our only hope is to assume the address register is in fact a loop counter and replace it with aL. Do not translate ARL instruction for pixel shaders -- MOVA instruction is only valid for vertex saders. Make it more explicit relative addressing of inputs is only valid for pixel shaders and constants for vertex shaders.
* r600g: Cleanup viewport floats.Corbin Simpson2010-09-191-10/+23
|
* r600g: Clean up PS setup.Corbin Simpson2010-09-192-16/+25
| | | | | I didn't do r600d according to the docs; I split EXPORT_MODE to be a bit more useful and obvious. Hope this is okay.
* r600g: only flush for the correct colorbuffer, not all of them.Dave Airlie2010-09-201-2/+4
|
* r600g: add missing BC_INST wrapper for evergreenDave Airlie2010-09-201-1/+1
|
* r600g: fixup r700 CB_SHADER_CONTROL register.Dave Airlie2010-09-203-35/+36
| | | | r600c emits this with a mask of each written output.
* r600g: fix r700 cube map sizing.Dave Airlie2010-09-201-4/+9
| | | | this fixes fbo-cubemap on r700.
* r600g: add color/texture support for more depth formats.Dave Airlie2010-09-203-2/+20
|
* r600g: add z16 to color setupDave Airlie2010-09-202-0/+13
|
* r600g: fix tiling support for ddx supplied buffersDave Airlie2010-09-201-9/+9
| | | | needed to emit some more relocs to the kernel.
* r600g: "tmp" is such a bad name for a texture.Corbin Simpson2010-09-191-10/+10
|
* r600g: Fix false and true.Corbin Simpson2010-09-198-17/+17
|
* r600g: Clean up some indentation and |= vs. | usage.Corbin Simpson2010-09-191-21/+22
|
* r600g: Deobfuscate and comment a few more functions in r600_hw_states.Corbin Simpson2010-09-192-11/+66
|
* r600g: Trivially deobfuscate r600_hw_states.Corbin Simpson2010-09-191-20/+40
|
* r600g: Use align() instead of handrolled code.Corbin Simpson2010-09-193-6/+3
|
* r600g: drop debugging that snuck inDave Airlie2010-09-201-1/+0
|
* r600g: clean up valgrind issues on maxtargets test.Dave Airlie2010-09-201-1/+7
|
* r600g: fix fbo-drawbuffers-maxtargetsDave Airlie2010-09-202-8/+26
| | | | | | | we were leaking buffers since the flush code was added, it wasn't dropping references. move setting up flush to the set_framebuffer_state. clean up the flush state object. make more space in the BOs array for flushing.
* r600g: send correct surface base update for multi-cbufsDave Airlie2010-09-201-2/+4
|
* r600g: modify index buffers for sizes the hw can't deal with.Dave Airlie2010-09-201-2/+37
| | | | this just uses the common code from r300g now in util to do translations on r600g.
* util/r300g: split the r300 index buffer modifier functions out to utilDave Airlie2010-09-205-108/+174
| | | | | | These can be used by other drivers, like r600g. Signed-off-by: Dave Airlie <[email protected]>
* r600g: fix exports_ps to export a number not a mask.Henri Verbeet2010-09-202-2/+2
|
* scons: Link against talloc in the Gallium DRI driversJakob Bornecrantz2010-09-201-0/+1
|
* rbug: Add function to get opcode name stringJakob Bornecrantz2010-09-202-0/+69
|
* rbug: Cast opcode to corrent int sizeJakob Bornecrantz2010-09-204-28/+28
|
* Revert "r600g: Flush upload buffers before draws instead of before flushes."Henri Verbeet2010-09-192-5/+4
| | | | | | | This reverts commit a1d9a58b825825723f1c5f7705f2ed3ef834038a. Flushing the upload buffers on draw is wrong, uploads aren't supposed to cause flushes in the first place. The real issue was radeon_bo_pb_map_internal() not respecting PB_USAGE_UNSYNCHRONIZED.
* r600g: Respect PB_USAGE_UNSYNCHRONIZED in radeon_bo_pb_map_internal().Henri Verbeet2010-09-191-0/+8
|
* gallium/docs: Fixed a typo in the SCS opcode description.Tilman Sauerbeck2010-09-191-1/+1
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* auxiliary: fix depth-only and stencil-only clearsLuca Barbieri2010-09-191-1/+1
| | | | | | | Depth-only and stencil-only clears should mask out depth/stencil from the output, mask out stencil/input from input, and OR or ADD them together. However, due to a typo they were being ANDed, resulting in zeroing the buffer.
* r600g: Buffer object maps imply a wait.Henri Verbeet2010-09-196-42/+13
| | | | Unless e.g. PB_USAGE_DONTBLOCK or PB_USAGE_UNSYNCHRONIZED would be specified.
* r600g: Remove a redundant flush in r600_texture_transfer_map().Henri Verbeet2010-09-191-1/+0
| | | | radeon_ws_bo_map() will already take care of that if needed.
* r600g: Check for other references before checking for existing mappings in ↵Henri Verbeet2010-09-191-6/+8
| | | | | | | radeon_bo_pb_map_internal(). Having a non-NULL data pointer doesn't imply it's safe to reuse that mapping, it may have been unmapped but not flushed yet.
* r600g: Flush upload buffers before draws instead of before flushes.Henri Verbeet2010-09-192-4/+5
| | | | | | | | | | If a upload buffer is used by a previous draw that's still in the CS, accessing it would need a context flush. However, doing a context flush when mapping the upload buffer would then flush/destroy the same buffer we're trying to map there. Flushing the upload buffers before a draw avoids both the CS flush and the upload buffer going away while it's being used. Note that u_upload_data() could e.g. use a pool of buffers instead of allocating new ones all the time if that turns out to be a significant issue.
* egl: Enable drm platform by default.Chia-I Wu2010-09-191-0/+3
| | | | This enables EGL_MESA_drm_display for st/egl in the default setup.
* st/egl: s/kms/drm/ on the drm backend.Chia-I Wu2010-09-193-303/+303
| | | | s/kms/drm/, s/kdpy/drmdpy/, and so forth.
* st/egl: Rename kms backend to drm.Chia-I Wu2010-09-1910-24/+24
| | | | | The main use of the backend is to support EGL_MESA_drm_display. drm should be a better name.
* st/egl: Split modeset code support to modeset.c.Chia-I Wu2010-09-193-587/+647
| | | | | The modeset code supports now obsolete EGL_MESA_screen_surface. Move it to a file of its own.
* r600g: only emit uses waterfall on r6xx hw.Dave Airlie2010-09-191-1/+1
|
* r600g; add uses waterfall to asm cf for r6xx.Dave Airlie2010-09-193-0/+3
| | | | On r6xx if an MOVA instruction is emitted we should set this bit.
* r600g: Added support for TGSI_SEMANTIC_FACE.Tilman Sauerbeck2010-09-192-2/+16
| | | | | | This makes the 'glsl1-gl_FrontFacing var (1)' piglit test pass. Signed-off-by: Tilman Sauerbeck <[email protected]>
* nv50: Remove dead initialization.Vinson Lee2010-09-181-1/+1
|
* nv50: Remove dead initialization.Vinson Lee2010-09-181-1/+1
|
* nv50: Silence missing initializer warning.Vinson Lee2010-09-181-1/+1
| | | | | | Fixes this GCC warning. nv50_state_validate.c:336: warning: missing initializer nv50_state_validate.c:336: error: (near initialization for 'validate_list[20].func')
* nv50: fix typo in fifo packet length limitChristoph Bumiller2010-09-182-2/+6
|
* glsl/builtins: Switch comparison functions to just return an expression.Kenneth Graunke2010-09-185-360/+72
|
* glsl/builtins: Fix equal and notEqual builtins.Kenneth Graunke2010-09-183-48/+48
| | | | | Commit 309cd4115b7cba669a0bf858e7809cb6dae90ddf incorrectly converted these to all_equal and any_nequal, which is the wrong operation.