Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cell: Specify constant as float for CEILF(). | Jonathan Adamczewski | 2009-01-14 | 1 | -1/+1 |
| | | | | | | Without the f, the constant is treated as a double, resulting in slower arithmetic and libgcc conversion calls each time CEILF() is used. | ||||
* | nv50: fix progs/tests/manytex | Ben Skeggs | 2009-01-13 | 1 | -0/+2 |
| | | | | | Previously all squares were textured with the same texture.. not quite what the demo was supposed to look like! | ||||
* | nv50: get glxgears showing all 3 gears instead of 1!! | Ben Skeggs | 2009-01-13 | 1 | -0/+2 |
| | | | | | This fixes a lot of other things where not all the geometry got drawn also. | ||||
* | nv50: change some magic reg, makes more things work | Ben Skeggs | 2009-01-13 | 1 | -1/+1 |
| | | | | | | No real idea what this does.. but a lot of things that misrendered and made the GPU throw a DATA_ERROR now work.. I'm wondering what side-effects we'll see from this :) | ||||
* | nv50: add DXTn formats | Ben Skeggs | 2009-01-13 | 3 | -1/+36 |
| | |||||
* | nv50: shadow mapping | Ben Skeggs | 2009-01-13 | 2 | -1/+6 |
| | |||||
* | nv50: aniso | Ben Skeggs | 2009-01-13 | 2 | -1/+22 |
| | |||||
* | nv50: occlusion queries | Ben Skeggs | 2009-01-13 | 2 | -13/+73 |
| | | | | Not quite working, but the general idea is right I think. | ||||
* | nv50: implement KIL enough for progs/fp/kil to work | Ben Skeggs | 2009-01-13 | 1 | -0/+28 |
| | |||||
* | cell: Add missing suffix to SHUFFLE macro | Jonathan Adamczewski | 2009-01-13 | 1 | -1/+1 |
| | |||||
* | cell: allocate batch buffers w/ 16-byte alignment | Jonathan Adamczewski | 2009-01-12 | 8 | -143/+111 |
| | | | | | | | | | | | Replace cell_batch{align,alloc)*() with cell_batch_alloc16(), allocating multiples of 16 bytes that are 16 byte aligned. Opcodes are stored in preferred slot of SPU machine word. Various structures are explicitly padded to 16 byte multiples. Added STATIC_ASSERT(). | ||||
* | nv50: make rtt work again | Ben Skeggs | 2009-01-12 | 1 | -1/+33 |
| | |||||
* | nv50: fix handling of depth textures | Ben Skeggs | 2009-01-12 | 2 | -7/+29 |
| | |||||
* | nv50: another typo.. | Ben Skeggs | 2009-01-12 | 1 | -1/+1 |
| | |||||
* | nv50: fix assertion failure | Ben Skeggs | 2009-01-12 | 1 | -2/+9 |
| | |||||
* | nv50: remove previous hack to manage tiled surfaces | Ben Skeggs | 2009-01-12 | 2 | -33/+1 |
| | |||||
* | nv50: fix a typo and a thinko | Ben Skeggs | 2009-01-12 | 1 | -3/+4 |
| | |||||
* | nv50: enable npot textures | Ben Skeggs | 2009-01-12 | 1 | -1/+1 |
| | |||||
* | nv50: disable shader debug | Ben Skeggs | 2009-01-12 | 1 | -1/+7 |
| | |||||
* | nv50: any cpu access to a texture is done on its backing images | Ben Skeggs | 2009-01-12 | 3 | -7/+72 |
| | | | | | | Still a little dodgy: - RTT will hit an assertion (hopefully!) and fail - 3D textures with depth >= 32 will cause bad things to happen | ||||
* | nv50: create buffers for each image that makes up a texture | Ben Skeggs | 2009-01-12 | 2 | -13/+38 |
| | |||||
* | cell: optimize unpack_colors() function, saving 12 cycles | Brian Paul | 2009-01-11 | 1 | -31/+34 |
| | |||||
* | cell: move color unpacking code into separate function | Brian Paul | 2009-01-11 | 1 | -76/+89 |
| | |||||
* | cell: re-order the z/stencil fetch/extract/convert instructions for better perf | Brian Paul | 2009-01-11 | 1 | -55/+51 |
| | | | | The new instruction order is 10 cycles faster. | ||||
* | cell: simplify the 'optional register' code | Brian Paul | 2009-01-11 | 1 | -62/+50 |
| | |||||
* | cell: asst datatype clean-ups | Brian Paul | 2009-01-11 | 1 | -73/+75 |
| | |||||
* | cell: move depth/stencil code into separate function | Brian Paul | 2009-01-11 | 1 | -179/+213 |
| | |||||
* | cell: clean-up, re-indent, comments | Brian Paul | 2009-01-11 | 1 | -95/+139 |
| | |||||
* | cell: use tgsi_dump_instruction() instead of spe_comment() | Brian Paul | 2009-01-10 | 1 | -101/+25 |
| | |||||
* | cell: added rule to produce .s assembly files | Brian Paul | 2009-01-10 | 1 | -0/+3 |
| | |||||
* | nouveau: Update nv30 swizzling. | Younes Manton | 2009-01-10 | 2 | -9/+10 |
| | |||||
* | nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom. | Younes Manton | 2009-01-10 | 2 | -3/+2 |
| | |||||
* | nouveau: Put dynamic textures in GART for CPU access and don't swizzle. | Younes Manton | 2009-01-10 | 3 | -6/+13 |
| | | | | Also flag shadows as dynamic since they're for CPU access as well. | ||||
* | nouveau: Swizzle textures larger than nv04 SIFM limit in parts. | Younes Manton | 2009-01-10 | 1 | -2/+1 |
| | | | | Limit of SIFM on nv40 is 1024x1024, not sure about others. | ||||
* | gallium: Replace uint64 by standard uint64_t. | José Fonseca | 2009-01-08 | 8 | -13/+13 |
| | | | | | uint64 is not (so?) standard, and often redefined by third parties, causing name clashes. | ||||
* | 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 |