Ben Skeggs
f7c2010525
nv50: aniso
před 16 roky
Ben Skeggs
918fc55e5f
nv50: occlusion queries
Not quite working, but the general idea is right I think.
před 16 roky
Ben Skeggs
d2442016af
nv50: implement KIL enough for progs/fp/kil to work
před 16 roky
Jonathan Adamczewski
068107b5ad
cell: Add missing suffix to SHUFFLE macro
před 16 roky
Jonathan Adamczewski
402e6752b5
cell: allocate batch buffers w/ 16-byte alignment
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().
před 16 roky
Michel Dänzer
45604ffac7
gallivm: Make sure the bitcode buffer is followed by a 0 byte.
May fail to parse otherwise.
před 16 roky
Michel Dänzer
f43e621e22
gallivm: Print error message from ParseBitcodeFile() in case it fails.
před 16 roky
Michel Dänzer
359bbe7432
gallivm: Explicitly specify the LLVM components we need.
před 16 roky
Michel Dänzer
f586c31fa6
gallivm: Adapt to header file move in LLVM 2.4.
před 16 roky
Ben Skeggs
7a90ace9c8
nv50: make rtt work again
před 16 roky
Ben Skeggs
ac6516101b
nv50: fix handling of depth textures
před 16 roky
Ben Skeggs
39bcc39717
nv50: another typo..
před 16 roky
Ben Skeggs
ecb2eb4c99
nouveau: fix warning
před 16 roky
Ben Skeggs
73f1857aee
nv50: fix assertion failure
před 16 roky
Ben Skeggs
f935f35287
nv50: remove previous hack to manage tiled surfaces
před 16 roky
Ben Skeggs
515c3d9bc1
nv50: fix a typo and a thinko
před 16 roky
Ben Skeggs
ed8f0b753b
nv50: enable npot textures
před 16 roky
Ben Skeggs
b01d0077af
nv50: disable shader debug
před 16 roky
Ben Skeggs
08b6534bc8
nv50: any cpu access to a texture is done on its backing images
Still a little dodgy:
- RTT will hit an assertion (hopefully!) and fail
- 3D textures with depth >= 32 will cause bad things to happen
před 16 roky
Ben Skeggs
103020f264
nv50: create buffers for each image that makes up a texture
před 16 roky
Ben Skeggs
df266471b1
nouveau: return buffer map to something sane.
Sorry, but no, we're not doing this.. Correctness always takes precedence
over speed. Implement this higher up where you know it's safe to do so,
and doesn't break other things in the process.
před 16 roky
Ben Skeggs
7b6fb34e9d
nouveau: use usage, not uninitialised flags value...
před 16 roky
Brian Paul
516dd9b361
cell: optimize unpack_colors() function, saving 12 cycles
před 16 roky
Brian Paul
6324c77e01
cell: move color unpacking code into separate function
před 16 roky
Brian Paul
b27eb7cb4f
cell: re-order the z/stencil fetch/extract/convert instructions for better perf
The new instruction order is 10 cycles faster.
před 16 roky
Brian Paul
c4a782041b
cell: datatype clean-ups in SPE rtasm
před 16 roky
Brian Paul
c73b8c4131
cell: simplify the 'optional register' code
před 16 roky
Brian Paul
91fac69537
cell: asst datatype clean-ups
před 16 roky
Brian Paul
097da27f55
cell: move depth/stencil code into separate function
před 16 roky
Brian Paul
33ba88a0df
cell: clean-up, re-indent, comments
před 16 roky
Brian Paul
83a525af95
cell: use tgsi_dump_instruction() instead of spe_comment()
před 16 roky
Brian Paul
2acf07983f
gallium: use tgsi_dump_instruction() instead of ppc_comment()
před 16 roky
Brian Paul
d4394bb768
gallium: remove unused struct type
před 16 roky
Brian Paul
0c71313970
gallium: fix register clobber bug in TGSI->PPC codegen
When negating a src vector that's stored in a altivec register, need to put
negated value into a new register so we don't upset the original value.
This solves the dark colors in the mandelbrot GLSL demo.
Also, use new predicate functions to check if a TGSI temp is stored in
an altivec register.
před 16 roky
Brian Paul
1922ea965a
gallium: emit comments in TGSI->PPC codegen
před 16 roky
Brian Paul
2ebd969f0f
gallium: code to dump/debug PPC code (disabled)
před 16 roky
Brian Paul
7acaeb8775
gallium: added comment/annotation support to PPC rtasm
před 16 roky
Brian Paul
fba6dac380
cell: added rule to produce .s assembly files
před 16 roky
Brian Paul
2b26a92cd3
gallium: s/false/FALSE/
před 16 roky
Younes Manton
6cee4b8d7e
mesa: Update .gitignore
před 16 roky
Younes Manton
0b03cd4ea7
nouveau: Update nv30 swizzling.
před 16 roky
Younes Manton
8ee238be75
nouveau: Factor out common winsys bits into libnouveaudrm.a
před 16 roky
Younes Manton
734b3cb182
g3dvl: Use Gallium thread wrappers.
před 17 roky
Younes Manton
1e9c3efcc7
g3dvl: Use Gallium MALLOC wrappers.
před 17 roky
Younes Manton
db1021a37c
g3dvl: Get rid of old unbuffered motion compensation code.
před 17 roky
Younes Manton
3c1b790c31
g3dvl: Map vertex bufs once per frame/flush.
před 17 roky
Younes Manton
9beb004885
nouveau: Catch some more leaks.
před 17 roky
Younes Manton
c10db52fcd
g3dvl: Fix some memory leaks.
před 17 roky
Younes Manton
87e39466dc
g3dvl: Allocate one set of bufs, let winsys rename them as necessary.
před 17 roky
Younes Manton
af2a856caa
nouveau: Add busy() query, determines if BOs can be mapped immediately.
před 17 roky