Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-18 | r600g: fixup pitch alignment like r600c. | Dave Airlie | |
This still needs work, passes tex3d, fbo-scissor-bitmap, scissor-bitmap | |||
2010-08-18 | r600g: fix height calcs for miptree | Dave Airlie | |
h needs to be rounded up, this probably needs revisiting when we get to tiling etc. fixes fbo-generatemipmap-npot | |||
2010-08-18 | r600g: emit texture level offset in CB/DB setup. | Dave Airlie | |
8 more piglit tests pass, fbo-clearmipmap, fbo-copyteximage, fbo-generatemipmap, fbo-generatemipmap-nonsquare, fbo-generatemipmap-scissor, fbo-generatemipmap-viewport, gen-teximage, gen-texsubimage | |||
2010-08-17 | r600g: fix fake pixel output | Jerome Glisse | |
Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-08-17 | nv50: initialize edgeflag input index | Christoph Bumiller | |
2010-08-17 | nv50: check dst compatibility in CSE | Christoph Bumiller | |
2010-08-17 | nv50: fix PSIZ and PRIMID mapping | Christoph Bumiller | |
Initializing map to 0x40 (0x80) instead of 0 now, so need to clear it first. | |||
2010-08-17 | nv50: more TGSI opcodes (SIN, SCS, ARL, RET, KILP) | Christoph Bumiller | |
2010-08-17 | r300g: fix context destroy under hyperz | Dave Airlie | |
we were destroying the mm before unrefing all the objects, so segfault. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-08-17 | r600g: add user clip plane support. | Dave Airlie | |
Apart from the fact that the radeon.h/r600_states.h editing is a nightmare, this wasn't so bad. passes piglit user-clip test now also trivial tests. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-08-17 | nv50: generate JOINs for outermost IF clauses | Christoph Bumiller | |
2010-08-17 | nv50: fix thinko in store to output reg possible check | Christoph Bumiller | |
2010-08-17 | nv50: flatten simple IF/ELSE/ENDIF constructs | Christoph Bumiller | |
Less branching means less instructions and less thread divergence. | |||
2010-08-16 | r300g: fix assert in the rasterizer block for r3xx-r4xx | Marek Olšák | |
Reported-by: Niels Ole Salscheider <niels_ole@salscheider-online.de> | |||
2010-08-16 | r300g: fix an invalid pointer in free | Marek Olšák | |
2010-08-16 | r300g: Let hyperz init fail | nobled | |
Signed-off-by: Marek Olšák <maraeo@gmail.com> | |||
2010-08-16 | r300g: Fix leaks in failed context creation | nobled | |
This changes r300_destroy_context() so it can be called on a partially-initialized context, and uses it when r300_create_context() hits a fatal error. This makes sure r300_create_context() doesn't leak memory or neglect to call r300_update_num_contexts() when it fails. Signed-off-by: Marek Olšák <maraeo@gmail.com> | |||
2010-08-16 | r300g: Fix macro | nobled | |
This fixes a potential bug if (has_hyperz) is false (it would still init the atom as if has_hyperz were true). Signed-off-by: Marek Olšák <maraeo@gmail.com> | |||
2010-08-16 | r300/compiler: implement DP2 opcode | Marek Olšák | |
2010-08-16 | r300/compiler: implement SSG opcode | Marek Olšák | |
2010-08-15 | llvmpipe: special case triangles which fall in a single 16x16 block | Keith Whitwell | |
Check for these and route them to a dedicated handler with one fewer levels of recursive rasterization. | |||
2010-08-15 | nv50: loops part 2 | Christoph Bumiller | |
At least the mesa demo glsl/mandelbrot should work now. | |||
2010-08-15 | nv50: more constant folding | Christoph Bumiller | |
2010-08-15 | llvmpipe: consolidate several loops in lp_rast_triangle | Keith Whitwell | |
2010-08-15 | llvmpipe: remove all traces of step arrays, pos_tables | Keith Whitwell | |
No need to calculate these values any longer, nor to store them in the bin data. Improves isosurf a bit more, 115->123 fps. | |||
2010-08-15 | llvmpipe: eliminate last usage of step array in rast_tmp.h | Keith Whitwell | |
For 16 and 64 pixel levels, calculate a mask which is linear in x and y (ie not in the swizzle layout). When iterating over full and partial masks, figure out position by manipulating the bit number set in the mask, rather than relying on postion arrays. Similarly, calculate the lower-level c values from dcdx, dcdy and the position rather than relying on the step array. | |||
2010-08-15 | llvmpipe: don't refer to plane->step when dcdx or dcdy would do | Keith Whitwell | |
2010-08-15 | llvmpipe: also use build_mask at 16, 64 pixel levels | Keith Whitwell | |
2010-08-15 | llvmpipe: version of block4 which doesn't need the full step array | Keith Whitwell | |
No noticable slowdown with isosurf. | |||
2010-08-15 | llvmpipe: reorganize block4 loop, nice speedup | Keith Whitwell | |
isosurf 95->115 fps just by exchanging the two inner loops in this function... | |||
2010-08-15 | r300g: mark HiZ/ZMask_clear atoms as non-dirty after emission in clear | Marek Olšák | |
2010-08-15 | r300g: do not use HiZ if HiZ RAM is not properly initialized | Marek Olšák | |
2010-08-15 | r300g: rename dirty_zmask -> zmask_in_use | Marek Olšák | |
2010-08-15 | r300g: do not clear with blitter if we clear just the ZMask RAM | Marek Olšák | |
This skips the blitter clear path entirely if the color is not cleared and the depth+stencil is cleared with the ZMask. | |||
2010-08-15 | r300g: do not use fastfill if ZMask RAM is not properly initialized | Marek Olšák | |
z_fastfill -> dirty_zmask[level]. | |||
2010-08-15 | r300g: separate num_cs_end_dwords out from prepare_for_rendering | Marek Olšák | |
2010-08-13 | r300g: do not support separate depth/stencil clear in the driver | Marek Olšák | |
It doesn't work well with Hyper-Z, so put the burden on the state tracker. | |||
2010-08-13 | r300g: fix fastfill when color and Z clear are invoked separately | Marek Olšák | |
This always restores the previous depth clear value after CBZB clear. | |||
2010-08-13 | r600g: update shader caps | Marek Olšák | |
Sent on ML by Владимир. These values are what fglrx returns. | |||
2010-08-13 | r300g: disable depth clamp for now | Marek Olšák | |
It breaks Regnum Online in that it renders random triangles all over the screen. https://bugs.freedesktop.org/show_bug.cgi?id=29518 | |||
2010-08-13 | r600g: fix memory leaks running gears. | Dave Airlie | |
I noticed gears memory usage was heading skywards, some r600 "states" aren't properly refcounted, and the ctx->state is never freed. | |||
2010-08-12 | Revert "u_blitter: unify clear_depth_stencil and flush_depth_stencil" | Marek Olšák | |
This reverts commit de4784e36505316c2a5ab34cc5b371d17f38d3c5. | |||
2010-08-12 | r600g: fix typo in stencil translate. | Dave Airlie | |
fixes piglit stencil-twoside and stencil-wrap | |||
2010-08-12 | r600g: fix provoking-vertex piglit test. | Dave Airlie | |
2010-08-12 | r600g: improve texture format checker. | Dave Airlie | |
This takes the r300g texture format checker and fixes it up for r600g, it passes glean texSwizzle, pixelformats, and texture_srgb tests, however I think it L8S8_SRGB is broken as is L8_SRGB, need to investigate. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-08-12 | u_blitter: unify clear_depth_stencil and flush_depth_stencil | Marek Olšák | |
No need to enable depth test for clear. | |||
2010-08-11 | r300/compiler: Implement the CONT opcode. | Tom Stellard | |
2010-08-11 | r600g: accept empty frag prog shader | Jerome Glisse | |
Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-08-11 | r600g: add src negation support | Jerome Glisse | |
Should fix few glBitmap cases. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-08-11 | r600g: add point/sprite rendering support | Jerome Glisse | |
Signed-off-by: Jerome Glisse <jglisse@redhat.com> |