Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom. | Younes Manton | 2009-01-10 | 4 | -5/+4 |
| | |||||
* | g3dvl: Expand YCbCr to full RGB range by default. | Younes Manton | 2009-01-10 | 1 | -1/+1 |
| | |||||
* | g3dvl: Flag textures holding incoming data as dynamic. | Younes Manton | 2009-01-10 | 1 | -1/+1 |
| | |||||
* | nouveau: Put dynamic textures in GART for CPU access and don't swizzle. | Younes Manton | 2009-01-10 | 5 | -8/+17 |
| | | | | Also flag shadows as dynamic since they're for CPU access as well. | ||||
* | gallium: Define PIPE_TEXTURE_USAGE_DYNAMIC. | Younes Manton | 2009-01-10 | 1 | -0/+1 |
| | | | | | Knowing how the client intends to use the texture will give the driver the opportunity to optimize for such cases. | ||||
* | nouveau: Swizzle textures larger than nv04 SIFM limit in parts. | Younes Manton | 2009-01-10 | 2 | -24/+69 |
| | | | | Limit of SIFM on nv40 is 1024x1024, not sure about others. | ||||
* | draw: Add missing include. | José Fonseca | 2009-01-09 | 1 | -0/+2 |
| | |||||
* | gdi: Add newline at end of file. | José Fonseca | 2009-01-08 | 1 | -1/+1 |
| | |||||
* | gallium: Replace uint64 by standard uint64_t. | José Fonseca | 2009-01-08 | 10 | -15/+14 |
| | | | | | uint64 is not (so?) standard, and often redefined by third parties, causing name clashes. | ||||
* | draw: Predeclare struct. | José Fonseca | 2009-01-08 | 1 | -1/+2 |
| | |||||
* | Merge commit 'origin/gallium-0.1' into gallium-0.2 | José Fonseca | 2009-01-08 | 4 | -8/+35 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/tgsi/tgsi_exec.c src/gallium/drivers/cell/spu/spu_command.h src/gallium/include/pipe/p_shader_tokens.h src/mesa/main/config.h src/mesa/main/mtypes.h src/mesa/shader/prog_execute.c src/mesa/shader/slang/slang_emit.c src/mesa/state_tracker/st_program.c src/mesa/state_tracker/wgl/stw_wgl.h src/mesa/state_tracker/wgl/stw_wgl_pixelformat.h | ||||
| * | wgl: Do not provide DllMain inside the state tracker. | José Fonseca | 2009-01-06 | 1 | -1/+16 |
| | | | | | | | | | | | | MS CRT libraries already provide a default DllMain entrypoint, and MS Linker will complain if it finds the same symbol in two different libraries. Therefore the DllMain has to be in (each) winsys. | ||||
| * | gdi: Fix warning. | José Fonseca | 2009-01-06 | 1 | -1/+1 |
| | | |||||
| * | gallium: added centroid/invarient fields to declarations | Brian Paul | 2009-01-06 | 2 | -0/+8 |
| | | | | | | | | (cherry picked from commit 4de360e67d83cd6503fb8ad053bb8afe507db5fa) | ||||
| * | tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization | Brian Paul | 2009-01-06 | 3 | -1/+13 |
| | | | | | | | | (cherry picked from commit 434e255eae90b0f3d836d452b7d3b0c5aadf78b8) | ||||
| * | gallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV | Brian Paul | 2009-01-06 | 1 | -1/+1 |
| | | | | | | | | This is copied from Ian's commit a330933bb75c38148668637cd22b90d75d39506f | ||||
| * | gallium: implement TGSI_OPCODE_DP2A, add sqrt to NRM3/NRM4 | Brian Paul | 2008-12-24 | 1 | -3/+19 |
| | | |||||
| * | tgsi: fix incomplete rename of loop counter variable | Keith Whitwell | 2008-12-23 | 1 | -1/+1 |
| | | |||||
| * | draw: allow driver-override of draw_need_pipeline() | Keith Whitwell | 2008-12-23 | 2 | -4/+28 |
| | | |||||
| * | tgsi: Dump indirect register swizzle. | Michal Krol | 2008-12-23 | 1 | -3/+6 |
| | | |||||
| * | tgsi: Return 0.0 for negative constant register indices. | Michal Krol | 2008-12-22 | 1 | -8/+16 |
| | | |||||
| * | tgsi: Keep address register as a floating point. | Michal Krol | 2008-12-22 | 1 | -20/+9 |
| | | |||||
* | | wgl: Do not provide DllMain inside the state tracker. | José Fonseca | 2009-01-08 | 1 | -1/+16 |
| | | | | | | | | | | | | MS CRT libraries already provide a default DllMain entrypoint, and MS Linker will complain if it finds the same symbol in two different libraries. Therefore the DllMain has to be in (each) winsys. | ||||
* | | gdi: Fix warning. | José Fonseca | 2009-01-08 | 1 | -1/+1 |
| | | |||||
* | | cell: replace 0 with -1 in SPE_COUNT_USABLE_SPES query | Jonathan Adamczewski | 2009-01-06 | 1 | -1/+1 |
| | | |||||
* | | cell: fix code emit for RSQ/RCP when src arg == dst arg | Brian Paul | 2009-01-05 | 1 | -6/+8 |
| | | | | | | | | Fixes moire-like artifacts seen in fslight demo. | ||||
* | | nv50: fill image unit index in TEX varients | Ben Skeggs | 2009-01-06 | 1 | -2/+8 |
| | | |||||
* | | nv50: fix crash in nv50_program_destroy | Ben Skeggs | 2009-01-06 | 1 | -2/+2 |
| | | |||||
* | | nv50: working towards 3D textures | Ben Skeggs | 2009-01-06 | 2 | -7/+40 |
| | | |||||
* | | nv50: slightly better miptree allocation | Ben Skeggs | 2009-01-06 | 1 | -5/+6 |
| | | | | | | | | | | I swear this didn't work last time I tried it.. Anyhow, still only suitable for 2D miptrees - more coming once I know the layout. | ||||
* | | nv50: add TXP to TEX case.. not correct, but anyway.. | Ben Skeggs | 2009-01-06 | 1 | -0/+1 |
| | | |||||
* | | nv50: indentation for TEX is a little overenthusiastic | Ben Skeggs | 2009-01-06 | 1 | -18/+23 |
| | | |||||
* | | nv50: ensure we actually get contiguous regs for TEX insn. | Ben Skeggs | 2009-01-06 | 1 | -17/+42 |
| | | | | | | | | Still many more horrible things to fix here... | ||||
* | | cell: SIMDize sorting in setup_sort_vertices() | Jonathan Adamczewski | 2009-01-05 | 1 | -55/+42 |
| | | | | | | | | | | | | Put setup.v{min,mid,max,provoke} into a union with qword vertex_headers. Rewrite vertex sorting to more efficiently handle the packed data items. Reduces spu_tri.o by ~128 bytes. | ||||
* | | cell: SIMDize some subtractions | Jonathan Adamczewski | 2009-01-05 | 1 | -8/+10 |
| | | | | | | | | | | | | | | Put edge.{dx,dy} into a union with a vector and perform subtractions in setup_sort_vertices() on vectors. Reduces spu_tri.o by ~300 bytes. | ||||
* | | cell: improvements to spu_tri.c | Jonathan Adamczewski | 2009-01-04 | 1 | -42/+52 |
| | | | | | | | | | | | | | | Replace int setup.span{left,right}[2] with vec_uint4 setup.span.quad SIMDize calculate_mask() and inline into into flush_spans() Set setup.span.quad members using spu_shuffle() or spu_sel(). Reduces spu_tri.o by ~116 bytes. | ||||
* | | cell: new spu_shuffle.h header | Jonathan Adamczewski | 2009-01-04 | 1 | -0/+186 |
| | | | | | | | | | | | | | | Facilitates creation of shuffle patterns for use with spu_shuffle() and si_shufb() intrinsics. To be used by subsequent patches. | ||||
* | | cell: initial codegen support for fragment shader loops | Brian Paul | 2009-01-04 | 1 | -26/+193 |
| | | | | | | | | | | | | Basic for/while loops work now. Only one level of loop nesting is supported at this time (same for if/else). The progs/glsl/mandelbrot demo works, but the colors are too dim. | ||||
* | | cell: add support for PIPE_CAP_TEXTURE_MIRROR_REPEAT query | Brian Paul | 2009-01-04 | 1 | -0/+4 |
| | | | | | | | | We don't really support this texwrap mode yet, but this enables GL 2.1 | ||||
* | | cell: clean-up, improve SPU code generation | Brian Paul | 2009-01-04 | 1 | -622/+506 |
| | | | | | | | | Start on ARL and address-relative indexing too. | ||||
* | | cell: fix typo (s/10/0) | Brian | 2009-01-03 | 1 | -2/+2 |
| | | |||||
* | | softpipe: increase number of texture samplers/units to PIPE_MAX_SAMPLERS (16) | Brian Paul | 2009-01-02 | 1 | -2/+2 |
| | | |||||
* | | python: Pass a zero offset to util_draw_vertex_buffer. | José Fonseca | 2008-12-31 | 1 | -1/+1 |
| | | |||||
* | | util: List new file in SConscript. | José Fonseca | 2008-12-31 | 1 | -0/+1 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | José Fonseca | 2008-12-31 | 1 | -17/+34 |
|\| | |||||
| * | softpipe: Don't fill surfaces's winsys fields. | José Fonseca | 2008-12-22 | 1 | -2/+0 |
| | | | | | | | | | | This is sometimes checked to distinguish between texture views and (deprecated) standalone surfaces. | ||||
| * | softpipe: Call surface_alloc_storage to get the pipebuffer for display targets. | José Fonseca | 2008-12-22 | 1 | -15/+34 |
| | | | | | | | | | | Otherwise blitting from display target surfaces to front screen fails in several platforms. | ||||
* | | i915: Avoid ptr->int conversion. | José Fonseca | 2008-12-31 | 1 | -3/+1 |
| | | |||||
* | | draw: Avoid integer overflow converting pointers on 64bit archs. | José Fonseca | 2008-12-31 | 1 | -1/+1 |
| | | | | | | | | Not really an error, as we only care for the lower 4 bits. | ||||
* | | gallium: Initialize var before use. | José Fonseca | 2008-12-30 | 1 | -1/+1 |
| | |