Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-09 | llvmpipe: remove redundant tgsi_dup_tokens() call | Brian Paul | |
We were calling this twice so the first allocation was orphaned/leaked. | |||
2010-09-08 | r600g: add initial bank swizzle support. | Dave Airlie | |
this is ported from r600c mostly, bank swizzling is real messy and I don't think I got enough sleep last night to fully understand it. | |||
2010-09-08 | r600g: Added missing r600_bc_add_literal() calls to XPD implementation. | Tilman Sauerbeck | |
Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-09-08 | r600g: Added preliminary support for the LOG opcode. | Tilman Sauerbeck | |
Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-09-08 | r600g: Added missing abs-ification to RSQ. | Tilman Sauerbeck | |
This makes the 'fp1-RSQ test 2' piglit test work. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-09-08 | r600g: split opcodes out and add wrapper around usage. | Dave Airlie | |
This splits the r600 opcodes out of the sq file and adds a wrapper so we can convert to evergreen opcodes later without touching these functions too much. | |||
2010-09-08 | r600g: add support for constants in memory buffers. | Dave Airlie | |
DX9 constants were in the constant file, and evergreen no longer support cfile. r600/700 can also use constants in memory buffers, so add the code (disabled for now) to enable that as precursor for evergreen. | |||
2010-09-08 | r600g: abstract the hw states out behind a vtbl. | Dave Airlie | |
this is step one towards evergreen support, it lets us plug in whole new hw level states. | |||
2010-09-07 | llvmpipe: Add lp_rast_debug.c to Makefile. | Chia-I Wu | |
2010-09-07 | llvmpipe: Refactor lp_scene_add_resource_reference | José Fonseca | |
Less goto spaghetti. | |||
2010-09-07 | llvmpipe: Fix negated logic in lp_scene_add_resource_reference(). | José Fonseca | |
Fixes performance regression. | |||
2010-09-07 | llvmpipe: move more coef setup into lp_setup_coef.c | Keith Whitwell | |
2010-09-07 | llvmpipe: declare fence handle struct | Keith Whitwell | |
2010-09-07 | llvmpipe: rasterization debugging helpers | Keith Whitwell | |
2010-09-07 | llvmpipe: use opcodes instead of function pointers in bins | Keith Whitwell | |
Also, move some state from rasterizer struct to the scene. | |||
2010-09-07 | llvmpipe: rearrange queries | Keith Whitwell | |
2010-09-07 | llvmpipe: enforce fixed memory limit on scenes | Keith Whitwell | |
2010-09-07 | llvmpipe: clean up deferred zstencil clears | Keith Whitwell | |
2010-09-07 | llvmpipe: rework fences and queries | Keith Whitwell | |
2010-09-07 | llvmpipe: move whole-tile emit into a function | Keith Whitwell | |
2010-09-07 | llvmpipe: put fs variant dumping in a function | Keith Whitwell | |
2010-09-06 | nvfx: fix return in vp main | Luca Barbieri | |
2010-09-06 | r600g: add error print for no literals for r700s as well | Dave Airlie | |
2010-09-06 | r600g: fixup r700 assembler for clamp/relative addressing | Dave Airlie | |
2010-09-06 | r600g: add script to generate header file with offsets into state objects. | Dave Airlie | |
This was inherently fragile as any changes to r600_states.h would also need manual updating of all of the bits in radeon.h. Just add a simple python script to do the conversion, its not hooked up to make at all. This also will make adding evergreen a bit easier. | |||
2010-09-06 | r600g: fix up surface references | Dave Airlie | |
We end up referencing the new surf and derefing the old surface which is a copy of the pointer to the new surf. So just bump the ref count directly. | |||
2010-09-06 | r600g: search for sampler views in context on removal. | Dave Airlie | |
Need to remove from context as well. | |||
2010-09-06 | r600g: add missing printf operand | Dave Airlie | |
2010-09-05 | nvfx: support nv30 simulation on nv40 | Luca Barbieri | |
2010-09-05 | nouveau: delete nouveau_class.h, move nv50 regs to nv50_reg.h | Luca Barbieri | |
nv50 should switch to rules-ng-ng too at some point. The classic Mesa Nouveau driver also includes a copy of nouveau_class.h, and should convert to rules-ng-ng too and remove it. | |||
2010-09-05 | nvfx: move nv04_2d to rules-ng-ng | Luca Barbieri | |
2010-09-05 | nvfx: switch to rules-ng-ng register headers | Luca Barbieri | |
This is the new register generation toolkit in use by nouveau. As far as I know, this is the best register description toolkit in existence, and you should use it too for your hardware :) Thanks to Marcin Kościelnicki for inventing it and performing invaluable reverse engineering work of nVidia chips. | |||
2010-09-05 | nvfx: remove remaining BEGIN_RING/eng3d uses | Luca Barbieri | |
2010-09-05 | nvfx: pause occlusion queries during blitter usage | Luca Barbieri | |
Thanks for Dave Airlie and Jerome Glisse for their code which made me realize I need this too. | |||
2010-09-05 | nvfx: properly return fogcoord.w == 1 | Luca Barbieri | |
Hardware sets it to 0, so we add an ADD to put an 1 there if the application really wants the alpha channel. | |||
2010-09-05 | nvfx: support saturate in vp | Luca Barbieri | |
Completely untested, since Mesa apparently never uses this currently. In particular, it might not work with scalar slot op. | |||
2010-09-05 | nvfx: add rewritten swtnl support | Luca Barbieri | |
The old swtnl code was broken by the new shader linkage support for GLSL. This is a rewrite of swtnl support, which should instead work properly, be faster and more closer to the much more tested hardware pipeline. | |||
2010-09-05 | nvfx: use a piglit-ignored format for unknown cap message | Luca Barbieri | |
2010-09-05 | llvmpipe: Remove some broken MinGW hacks in the sin/cos reference code. | José Fonseca | |
2010-09-05 | llvmpipe: Fix perspective divide interpolation. | José Fonseca | |
Intuition != mathematics, so this time I actually worked out the right formula for first order approximation of perspective interpolation. Ironically, per quad divide actually makes things slower when compared with per pixel divide -- probably because the divide hardware unit is rarely used, whereas the multiply unit is typically already saturated and the first order approximation imply more multiplications. | |||
2010-09-05 | llvmpipe: Relax the colormask constraint on opaque. | José Fonseca | |
Also, include the color buffer in the key. Not having it there causes a tight knots in the logic to determine when it is OK or not to discard previous color buffer contents. | |||
2010-09-05 | gallivm: Pass condition masks as an unsigned bitmask. | José Fonseca | |
Much more convenient than boolean arrays. | |||
2010-09-05 | r300g,r300c: memset the compiler struct to zeros | Marek Olšák | |
This should fix bogus reports "Too many temporaries." and maybe some others. | |||
2010-09-05 | nvfx: support unlimited constants and immediates in fp | Luca Barbieri | |
2010-09-05 | nvfx: support using blitter to copy depth/stencil resources, fix Heaven | Luca Barbieri | |
We might want to copy them as color ones though. Also works around crash in Unigine Heaven due to failing to allocate a 64 MB temporary in GART for a CPU copy. Unigine Heaven now works on nv40, albeit with very heavy glitches (with the floating branch with render_hdr 0). | |||
2010-09-04 | nvfx: support rendering to more formats | Luca Barbieri | |
2010-09-04 | nvfx: move 2D format selection logic to 2D code | Luca Barbieri | |
2010-09-04 | nvfx: fix swizzling of high bpp surfaces | Luca Barbieri | |
2010-09-04 | nvfx: fix some subrectangle copies | Luca Barbieri | |
Actually, we may want to get rid of the x/y coordinates for linear surfaces, and realign the origin from scratch if necessary, instead of doing this "on-demand realignment". | |||
2010-09-04 | nvfx: fix inlinining in nv04_2d.c | Luca Barbieri | |