summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-01-20Cell: use depth/stencil state to enable ztestBrian
Move z-test code into do_depth_test(). Add ZSIZE symbol to support 2 or 4-byte Z values.
2008-01-20enable call to cell_emit_state()Brian
2008-01-19Cell: improve "finished copying batch buffer" signalling.Brian
When the SPU is done copying a batch buffer to local store, use an mfc_put() to write a "done" message back to the buffer status array in main memory. We were previously using a mailbox message for synchronization.
2008-01-18s/varible/variable/Brian
2008-01-18set param type to PROGRAM_CONSTANT when parsing immediatesBrian
2008-01-18use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵Brian
immediates/literals
2008-01-18Unify copy_rect helpers.Michel Dänzer
Some of the copies were buggy.
2008-01-17Revert "temporarily don't emit TGSI immediates, use the constant buffer"José Fonseca
This reverts commit 310e7ca44b33558a9aa22f43024d1bfb63642128.
2008-01-17Back-port miscellaneous fixes from internal branch (mostly portability fixes).José Fonseca
These are changes that are in our internal branch, but somehow were skipped so far. It was done using visual comparison of the branches -- it is likely that changes are being carried on the wrong way
2008-01-17gallium: Pass PIPE_BUFFER_USAGE_PIXEL to buffer_data.José Fonseca
2008-01-17gallium: Handle TGSI_OPCODE_END on sse2.José Fonseca
2008-01-17temporarily don't emit TGSI immediates, use the constant bufferBrian
This allows a few more programs to run and not crash. Need to get constant buffer uploads working...
2008-01-17gallium: Fix cut-n-paste error.José Fonseca
2008-01-17gallium: Alternative mm_bufmgr_create_from_buffer constructor for mm pool ↵José Fonseca
managers.
2008-01-17gallium: Detect if a null buffer is passed.José Fonseca
2008-01-17gallium: fix warningKeith Whitwell
2008-01-17gallium: fix warningKeith Whitwell
2008-01-17gallium: hardwire reset_temps functionalityKeith Whitwell
2008-01-17gallium: whitespace changesKeith Whitwell
2008-01-17gallium: Ignore generated files.José Fonseca
2008-01-16use NEGATE_X/Y/Z/W tokensBrian
2008-01-16clean-up swizzle fields in fog code, fix NegateBaseBrian
2008-01-16Fix broken fog.Brian
Note that fogcoord and front-facing attribs are in the same register, in the X and Y channels, respectively.
2008-01-16Fix incorrect [0,1] clamping in store_dest().Brian
2008-01-16tweaks to quad drawing, set UsesKill in bitmap shaderBrian
2008-01-16copy UsesKill state in _mesa_combine_programs()Brian
2008-01-16vbuf updates/fixes (KeithW)Brian
Plus, update i915 and Cell drivers for latest vbuf->draw() params.
2008-01-16s/DBG/DRAW_DBGBrian
2008-01-16remove useless assertionsBrian
2008-01-16init front/back color attrib indexes to 0, not -1Brian
2008-01-16Fix a two-sided lighting bug (fixes samples/wave.c)Brian
2008-01-15typedef uintptr_t for non-HAVE_POSIX_MEMALIGN buildBrian
2008-01-15Don't include stdint.h or inttypes. Use the uint64 typedef instead of uint64_t.Brian
2008-01-15replace _mesa_printf() with fprintf()Brian
2008-01-15remove redundant llvm subdirBrian
2008-01-15include pipe/draw/draw_context.hBrian
2008-01-15Add surface status/clear_value fields, PIPE_SURFACE_STATUS_x tokensBrian
2008-01-14free stvp->draw_shaderBrian
2008-01-14Fix problems with vertex shaders and the private draw module.Brian
The CSO returned by pipe->create_vs_state() can't be passed to the private draw module. That was causing glRasterPos to blow up. Add a 'draw_shader' field to st_vertex_program for use with the private draw module. Change st_context->state.vs type from cso_vertex_shader to st_vertex_program.
2008-01-14disable debug printfBrian
2008-01-14Cell: after sending a batch, wait for a DMA completion signal.Brian
This fixes sporadic rendering glitches. Using a mailbox msg for now, until spe_mfcio_tag_status_read() or similar is found to work.
2008-01-14clamp colors during float->int conversionBrian
2008-01-14Cell: update surface map code to match recent changes in pipe_surface structBrian
2008-01-14Remove pipe->get/put_tile_rgba.Michel Dänzer
pipe_get/put_tile_rgba() now use pipe->get/put_tile internally. Also simplify the <format>_get/put_tile_rgba() helper functions and clean up some inconsitencies in them.
2008-01-14Remove mapping fields from struct pipe_surface.Michel Dänzer
It's now the responsibility of surface users to keep track of their mappings.
2008-01-12Cell: remove fb parameter to get/put_tile()Brian
2008-01-12Cell: disable cell_emit_state() for nowBrian
2008-01-12Cell: collect vars in a spu_global structBrian
2008-01-12Cell: first state object (depth/stencil/alpha) emitted to SPUsBrian
2008-01-12Cell: whitespace/cleanupBrian