Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: add missing prototypes | Brian Paul | 2008-11-12 | 1 | -0/+6 |
| | |||||
* | cell: move semicolons to silence warnings w/ other compilers | Brian Paul | 2008-11-12 | 1 | -189/+189 |
| | |||||
* | cell: include cell_surface.h | Brian Paul | 2008-11-12 | 1 | -0/+1 |
| | |||||
* | cell: fix typo in EMIT_ macro | Brian Paul | 2008-11-12 | 1 | -1/+1 |
| | |||||
* | cell: added -Wmissing-prototypes | Brian Paul | 2008-11-12 | 1 | -1/+2 |
| | |||||
* | cell: include cell_pipe_state.h | Brian Paul | 2008-11-12 | 1 | -0/+1 |
| | |||||
* | util: Optimise log2(). | Michal Krol | 2008-11-12 | 1 | -1/+2 |
| | |||||
* | rtasm: Use INLINE keyword. Compile for all platforms, not only GALLIUM_CELL. | Michal Krol | 2008-11-12 | 1 | -9/+5 |
| | |||||
* | util: Add log2() definition for MSC. | Michal Krol | 2008-11-12 | 1 | -0/+5 |
| | |||||
* | tgsi: Fix a bug with saving/restoring xmm registers upon func call. | Michal Krol | 2008-11-12 | 1 | -3/+3 |
| | |||||
* | rtasm: Compile only for GALLIUM_CELL. | Michal Krol | 2008-11-12 | 1 | -0/+4 |
| | |||||
* | draw: Add missing include. | Michal Krol | 2008-11-12 | 1 | -0/+1 |
| | |||||
* | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | 2008-11-11 | 83 | -3445/+3703 |
|\ | | | | | | | | | | | | | Conflicts: src/mesa/shader/prog_execute.c src/mesa/shader/slang/library/slang_vertex_builtin_gc.h | ||||
| * | mesa: fix version check in dinoshade.c | Brian Paul | 2008-11-11 | 1 | -1/+1 |
| | | |||||
| * | mesa: allow relative indexing into all register files and indirect dst ↵ | Brian Paul | 2008-11-11 | 3 | -128/+128 |
| | | | | | | | | register indexing | ||||
| * | Don't mess with emacs tab width. | Kristian Høgsberg | 2008-11-11 | 43 | -43/+0 |
| | | |||||
| * | intel: reset cliprect_mode to IGNORE_CLIPRECTS. | Xiang, Haihao | 2008-11-11 | 1 | -1/+3 |
| | | | | | | | | | | | | This ensures all batchbuffers have a same cliprect mode after calling _intel_batchbuffer_flush even if there aren't invalid commands in the current batch buffer. (fix bug#18362). | ||||
| * | mesa: restore the negate flag of dots in build_lighting. | Xiang, Haihao | 2008-11-11 | 1 | -0/+3 |
| | | | | | | | | | | Dots is re-used if more than one light is enabled. Previously the negate flag of dots may affect next light. | ||||
| * | mesa: update new state for RasterPos like other operations. | Xiang, Haihao | 2008-11-11 | 1 | -3/+3 |
| | | | | | | | | This fixes a lighting issue when drawing a bitmap. | ||||
| * | mesa: new _mesa_is_pow_two() function | Brian | 2008-11-10 | 5 | -23/+33 |
| | | |||||
| * | mesa: restore glapi/ prefix on #include | Brian Paul | 2008-11-10 | 2 | -2/+2 |
| | | |||||
| * | mesa: fix some misc breakage caused by editing auto-generated files rather ↵ | Brian Paul | 2008-11-10 | 4 | -9/+21 |
| | | | | | | | | | | | | | | | | than the python generators Specifically: #include "glapitable.h" in src/mesa/main/glapi/dispatch.h Call _mesa_bsearch() in src/mesa/main/enums.c. | ||||
| * | GLX: fix out-of-bounds memory issue in indirect glAreTexturesResident() | Brian Paul | 2008-11-10 | 6 | -165/+141 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See bug 18445. When getting array results, __glXReadReply() always reads a multiple of four bytes. This can cause writing to invalid memory when 'n' is not a multiple of four. Special-case the glAreTexturesResident() functions now. To fix the bug, we use a temporary buffer that's a multiple of four bytes in length. NOTE: this commit also reverts part of commit 919ec22ecf72aa163e1b97d8c7381002131ed32c (glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protection) which directly edited the indirect.c file rather than the python generator! I'm not repairing that issue at this time. | ||||
| * | dri: alloc __DRIscreen object with calloc() | Brian Paul | 2008-11-10 | 1 | -1/+1 |
| | | |||||
| * | mesa: track initialization status of uniform variables. Plus, asst clean-ups. | Brian Paul | 2008-11-10 | 7 | -31/+52 |
| | | |||||
| * | mesa: initial support for uniform variable initializers. | Brian Paul | 2008-11-10 | 1 | -5/+22 |
| | | | | | | | | | | This lets one specify initial values for uniforms in the code, avoiding the need to call glUniform() in some cases. | ||||
| * | mesa: fix logic error in GLSL linker when looking for main() shaders | Brian Paul | 2008-11-10 | 1 | -5/+10 |
| | | |||||
| * | mesa: allows 'f' suffix on GLSL float literals | Brian Paul | 2008-11-10 | 2 | -6/+16 |
| | | |||||
| * | undo accidental changes to multitex.frag shader | Brian Paul | 2008-11-10 | 1 | -22/+2 |
| | | |||||
| * | mesa: remove OPCODE_INT #define | Brian | 2008-11-08 | 1 | -3/+0 |
| | | |||||
| * | mesa: use NRM3 in emit_normalize_vec3() when drivers are ready | Brian | 2008-11-08 | 1 | -0/+5 |
| | | |||||
| * | mesa: add support for 'centroid' qualifier in GLSL 1.20 | Brian Paul | 2008-11-07 | 11 | -2598/+2706 |
| | | |||||
| * | mesa: add support for 'invariant' keyword for GLSL 1.20 | Brian Paul | 2008-11-07 | 11 | -2609/+2749 |
| | | |||||
| * | mesa: reformat comments, rewrap lines, etc for a little better readability | Brian Paul | 2008-11-07 | 2 | -402/+418 |
| | | |||||
* | | cell: implement NRM3 opcode | Brian Paul | 2008-11-11 | 1 | -0/+48 |
| | | |||||
* | | CELL: two-sided stencil fixes | Robert Ellison | 2008-11-11 | 12 | -208/+115 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With these changes, the tests/stencil_twoside test now works. - Eliminate blending from the stencil_twoside test, as it produces an unneeded dependency on having blending working - The spe_splat() function will now work if the register being splatted and the destination register are the same - Separate fragment code generated for front-facing and back-facing fragments. Often these are the same; if two-sided stenciling is on, they can be different. This is easier and faster than generating code that does both tests and merges the results. - Fixed a cut/paste bug where if the back Z-pass stencil operation were different from all the other operations, the back Z-fail results were incorrect. | ||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | 2008-11-10 | 3 | -3/+5 |
|\ \ | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_math.c | ||||
| * | | Mesa: fix number of buffers in st_draw_vbo(). | Pekka Paalanen | 2008-11-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | The clean-up call to pipe->set_vertex_buffers() should use the same number of buffers as the first call. Signed-off-by: Pekka Paalanen <[email protected]> | ||||
| * | | gallium: fix typos in comments | Brian Paul | 2008-11-10 | 1 | -2/+2 |
| | | | |||||
| * | | gallium: actually flip the coordinates | Zack Rusin | 2008-11-10 | 1 | -1/+2 |
| | | | |||||
| * | | util: Fix util_fast_pow/exp2/log2. | Brian | 2008-11-09 | 2 | -69/+64 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use a lookup table for log2. - Compute (float) (1 << ipart) by tweaking with the exponent directly to avoid integer overflow and float conversion. - Also table negative exponents to avoid float division and branching. - Implement util_fast_exp as function of util_fast_exp2. -------- Cherry-picked from gallium-0.2: 8415d06d90a197e16554dab98d160334fd9f9f93 This fixes some pow() glitches seen in fslight.c, spectex.c, etc. Conflicts: src/gallium/auxiliary/util/u_math.h | ||||
| * | | gallium: _debug_vprintf() should be silent if DEBUG is not defined | Brian | 2008-11-09 | 1 | -0/+2 |
| | | | |||||
| * | | mesa: use _bfc0 instead of _col0 when building back face lighting. | Brian Paul | 2008-11-07 | 1 | -3/+2 |
| | | | | | | | | | | | | cherry-picked from master: 4550b0562d5b59890fccb0e7eb0dbef967d1ccf9 | ||||
* | | | gallium: use PIPE_ARCH_SSE to protect use of SSE instrinsics only | Brian | 2008-11-09 | 3 | -11/+35 |
| | | | | | | | | | | | | | | | | | | This allows us to use SSE codegen with debug builds again. When PIPE_ARCH_SSE is set (w/ gcc -msse -msse2) we will also use the gcc SSE intrinsic functions. | ||||
* | | | gallium: implement SSE codegen for TGSI_OPCODE_NRM/NRM4 | Brian | 2008-11-08 | 1 | -1/+33 |
| | | | |||||
* | | | gallium: added SSE for DP2, DP2A | Brian Paul | 2008-11-07 | 1 | -2/+22 |
| | | | |||||
* | | | gallium: implement TGSI_OPCODE_DP2A, add sqrt to NRM3/NRM4 | Brian Paul | 2008-11-07 | 1 | -3/+19 |
| | | | |||||
* | | | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | 2008-11-07 | 2 | -4/+4 |
|\ \ \ | | |/ | |/| | |||||
| * | | mesa: forgot sqrt in NRM3/4 instructions | Brian Paul | 2008-11-07 | 1 | -2/+2 |
| | | | |||||
| * | | mesa: fix opcode table order bug | Brian Paul | 2008-11-07 | 1 | -2/+2 |
| | | |