Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-12 | nv50: newlines in shader bincode printing | Christoph Bumiller | |
2010-09-12 | nv50: cannot move from local mem to output reg directly | Christoph Bumiller | |
2010-09-12 | llvmpipe: Only generate the whole shader specialization for opaque shaders. | José Fonseca | |
If not opaque, then the color buffer will have to be read any way, therefore the specialization is pointless. | |||
2010-09-12 | pb: add void * for flush ctx to mapping functions | Dave Airlie | |
If the buffer we are attempting to map is referenced by the unsubmitted command stream for this context, we need to flush the command stream, however to do that we need to be able to access the context at the lowest level map function, currently we set the buffer in the toplevel map, but this racy between context. (we probably have a lot more issues than that.) I'll look into a proper solution as suggested by jrfonseca when I get some time. | |||
2010-09-12 | nv50: fix size of outputs_written array | Xavier Chantry | |
2010-09-12 | nv50: minor compiler fixes and cleanups | Christoph Bumiller | |
2010-09-12 | nv50: reduce bb_reachable_by runtime from pot to linear | Christoph Bumiller | |
As a by-product, remove the memory leak of nv_basic_blocks. | |||
2010-09-11 | nv30: fix breakage due to 10 texcoord support on nv40 | Luca Barbieri | |
2010-09-11 | r600g: Undo bo placement change. | Tilman Sauerbeck | |
This reverts a part of e795ca8f3175fa6fd97b6b2ef2775e3f8803012a that causes artefacts and a performance drop. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> | |||
2010-09-11 | llvmpipe: Silence some warnings. | José Fonseca | |
2010-09-11 | llvmpipe: Don't store display the alpha ref value in the key. | José Fonseca | |
It's never used. | |||
2010-09-11 | gallivm: s/lp_build_broadcast_aos/lp_build_swizzle_scalar_aos/ | José Fonseca | |
More accurate description of this function purpose. | |||
2010-09-11 | llvmpipe: restore larger command blocks | Keith Whitwell | |
2010-09-11 | llvmpipe: move some debug to DEBUG_SCENE | Keith Whitwell | |
2010-09-11 | llvmpipe: add DEBUG_MEM option | Keith Whitwell | |
2010-09-11 | llvmpipe: allow bigger scenes | Keith Whitwell | |
2010-09-10 | r300/compiler: Enable presubtract sources | Tom Stellard | |
The r300 compiler can now emit instructions that select from the presubtract source. A peephole optimization has been added to convert instructions like: ADD Temp[0].x, none.1, -Temp[1].x into the INV (1 - src0) presubtract operation. | |||
2010-09-10 | r600g: Fixed a bo reference leak in the draw module. | Tilman Sauerbeck | |
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> | |||
2010-09-10 | r600g: Fixed a bo leak in r600_texture_from_handle(). | Tilman Sauerbeck | |
We would leak bo if the argument check failed. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> | |||
2010-09-10 | r600g: Don't leave stale references in query_list when we cannot create bo. | Tilman Sauerbeck | |
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> | |||
2010-09-10 | r600g: Implemented the y component write for the LOG opcode. | Tilman Sauerbeck | |
This makes the 'vp1-LOG test' piglit test work. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> | |||
2010-09-10 | r600g: fixup state calculations for picking states. | Dave Airlie | |
for evergreen I ended up using a non-contig array of states, but this code needs a bit of fixing up to deal with that. | |||
2010-09-10 | r600g: fixup CB state numbering header | Dave Airlie | |
2010-09-10 | r600g: fix warning in r600 pipe driver | Dave Airlie | |
2010-09-10 | r600g: evergreen CBs are more sane to support with a single state | Dave Airlie | |
2010-09-10 | r600g: add initial evergreen support | Dave Airlie | |
adds shader opcodes + assembler support (except ARL) uses constant buffers add interp instructions in fragment shader adds all evergreen hw states adds evergreen pm4 support. this runs gears for me on my evergreen | |||
2010-09-10 | r600g: align flushing of cb/db with DDX/r600c. | Dave Airlie | |
the DDX and r600c both flush cb/db after the draw is emitted, as long as they do that, r600g can't be different, as it races. We end up with r600g flush, set CB, DDX set CB, flush. This was causing misrendering on my evergreen, where sometimes the drawing would go to an old CB. | |||
2010-09-10 | r600g: don't need 3 bos here. | Dave Airlie | |
the code should reloc correctly a single BO 3 times. | |||
2010-09-09 | nv50: fix can_load check for 3rd source | Christoph Bumiller | |
2010-09-09 | nv50: address regs are 16 bit | Christoph Bumiller | |
2010-09-09 | nv50: duplicate interps in load_proj_tex_coords | Christoph Bumiller | |
Otherwise we might clobber the origin interpolation result or use the result of the RCP before its definition. | |||
2010-09-09 | nv50: create value references with the right type | Christoph Bumiller | |
Since atm our OPs aren't typed but instead values are, we need to take care if they're used as different types (e.g. a load makes a value u32 by default). Maybe this should be changed (also to match TGSI), but it should work as well if done properly. | |||
2010-09-09 | nv50: use actual loads/stores if TEMPs are accessed indirectly | Christoph Bumiller | |
2010-09-09 | nv50: don't parse again in tgsi_2_nc | Christoph Bumiller | |
2010-09-09 | nv50: prepare for having multiple functions | Christoph Bumiller | |
At some point we'll want to support real subroutines instead of just inlining them into the main shader. Since recursive calls are forbidden, we can just save all used registers to a fixed local memory region and restore them on a return, no need for a stack pointer. | |||
2010-09-09 | nv50: save tgsi instructions | Christoph Bumiller | |
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 | |