summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-08-20galahad, i915g: Copy over constant buffer index check.Corbin Simpson
2010-08-20galahad, i915g: Move over a few state asserts.Corbin Simpson
2010-08-19galahad: Make it obvious on stderr that Galahad's active.Corbin Simpson
2010-08-19r300g: do not use fastfill with 16-bit zbuffersMarek Olšák
To my knowledge, there is no way to flush zmask and thus write the clear value. This fixes zbuffer reads, among other things.
2010-08-19r600g: update comments about ALU src operandsAlex Deucher
2010-08-19r600g: add sin/cosDave Airlie
This pretty much ports the code from r600c, however it doesn't always seem to work quite perfectly, but I can't find anything in this code that is wrong. I'm guessing either literal input or constants aren't working always.
2010-08-19r600g: add a chiprev type for r600/r700/evergreen instead of using familyDave Airlie
2010-08-19r600g: add SSG, SEQ, SGT and SNEDave Airlie
2010-08-18r600g: add FRC, FLR, DDX and DDYDave Airlie
the first two are straight op2's and the DDX/DDY are taken from r600c.
2010-08-18r600g: add SGE and SLE opcodesDave Airlie
fixes fp-set-01 and glsl-fs-step
2010-08-18r600g: add TXB supportDave Airlie
fixes biased texturing tests
2010-08-18r600g: fix TXP vs TEX in shader.Dave Airlie
Don't do perspective for TEX, and also copy input to a temporary for TEX also add tex opcode names
2010-08-18r600g: add two simple tgsi opcodes.Dave Airlie
makes glsl-fs-log2 and glsl1-integer division with uniform var pass
2010-08-18r600g: fix point sizeDave Airlie
fixes piglit pointAtten and point-sprite tests
2010-08-18r600g: fixup pitch alignment like r600c.Dave Airlie
This still needs work, passes tex3d, fbo-scissor-bitmap, scissor-bitmap
2010-08-18r600g: fix height calcs for miptreeDave Airlie
h needs to be rounded up, this probably needs revisiting when we get to tiling etc. fixes fbo-generatemipmap-npot
2010-08-18r600g: 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-17r600g: fix fake pixel outputJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-08-17r300g: fix context destroy under hyperzDave Airlie
we were destroying the mm before unrefing all the objects, so segfault. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-08-17r600g: 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-16r300g: fix assert in the rasterizer block for r3xx-r4xxMarek Olšák
Reported-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
2010-08-16r300g: fix an invalid pointer in freeMarek Olšák
2010-08-16r300g: Let hyperz init failnobled
Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-08-16r300g: Fix leaks in failed context creationnobled
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-16r300g: Fix macronobled
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-16r300/compiler: implement DP2 opcodeMarek Olšák
2010-08-16r300/compiler: implement SSG opcodeMarek Olšák
2010-08-15llvmpipe: special case triangles which fall in a single 16x16 blockKeith Whitwell
Check for these and route them to a dedicated handler with one fewer levels of recursive rasterization.
2010-08-15llvmpipe: consolidate several loops in lp_rast_triangleKeith Whitwell
2010-08-15llvmpipe: remove all traces of step arrays, pos_tablesKeith 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-15llvmpipe: eliminate last usage of step array in rast_tmp.hKeith 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-15llvmpipe: don't refer to plane->step when dcdx or dcdy would doKeith Whitwell
2010-08-15llvmpipe: also use build_mask at 16, 64 pixel levelsKeith Whitwell
2010-08-15llvmpipe: version of block4 which doesn't need the full step arrayKeith Whitwell
No noticable slowdown with isosurf.
2010-08-15llvmpipe: reorganize block4 loop, nice speedupKeith Whitwell
isosurf 95->115 fps just by exchanging the two inner loops in this function...
2010-08-15r300g: mark HiZ/ZMask_clear atoms as non-dirty after emission in clearMarek Olšák
2010-08-15r300g: do not use HiZ if HiZ RAM is not properly initializedMarek Olšák
2010-08-15r300g: rename dirty_zmask -> zmask_in_useMarek Olšák
2010-08-15r300g: do not clear with blitter if we clear just the ZMask RAMMarek 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-15r300g: do not use fastfill if ZMask RAM is not properly initializedMarek Olšák
z_fastfill -> dirty_zmask[level].
2010-08-15r300g: separate num_cs_end_dwords out from prepare_for_renderingMarek Olšák
2010-08-13r300g: do not support separate depth/stencil clear in the driverMarek Olšák
It doesn't work well with Hyper-Z, so put the burden on the state tracker.
2010-08-13r300g: fix fastfill when color and Z clear are invoked separatelyMarek Olšák
This always restores the previous depth clear value after CBZB clear.
2010-08-13r600g: update shader capsMarek Olšák
Sent on ML by Владимир. These values are what fglrx returns.
2010-08-13r300g: disable depth clamp for nowMarek 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-13r600g: 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-12Revert "u_blitter: unify clear_depth_stencil and flush_depth_stencil"Marek Olšák
This reverts commit de4784e36505316c2a5ab34cc5b371d17f38d3c5.
2010-08-12r600g: fix typo in stencil translate.Dave Airlie
fixes piglit stencil-twoside and stencil-wrap
2010-08-12r600g: fix provoking-vertex piglit test.Dave Airlie
2010-08-12r600g: 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>