summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300
AgeCommit message (Collapse)Author
2009-06-26r300g: PIPE_CAP_TGSI_CONT_SUPPORTED.Corbin Simpson
2009-06-26r300-gallium: Ensure that no dirty state goes unemitted.Corbin Simpson
2009-06-26r300-gallium: organize fragment/vertex shadersJoakim Sindholt
Appart from separating r3xx/r5xx fragment shaders, a more consistent naming scheme has been applied. From now on: r300 = all chips r3xx = R300/R400 only r5xx = R500 only This way r300_fragment_shader is the master struct, and the structs r3xx_fragment_shader and r5xx_fragment_shader inherits it.
2009-06-08r300-gallium: HW TCL glxgears. (Read the rest of the log.)Corbin Simpson
Um. So, yeah. Two massive WTF moments here. The first one is that, somehow, I never actually hooked up vertex shader emission, so the only time that the VAP gets set up is during surface_copy/surface_fill. That's why acidgears was happening. The second one is that, somehow, once I actually hooked it up, glxgears just magically worked. Without any actual, real testing, I somehow accidentally made the shader compiler work. Go figure.
2009-06-08r300-gallium: Make UCP and clip work again for SW TCL.Corbin Simpson
SW TCL: tri-clip works, tri-userclip works HW TCL: tri-clip fails, tri-userclip works That is a 200% improvement over the previous situation. Woot.
2009-06-08r300-gallium: Don't emit UCP planes for SW TCL.Corbin Simpson
2009-06-05r300-gallium: Use VAP_CLIP_CNTL.Corbin Simpson
Makes tri-userclip work with HW TCL.
2009-06-05r300-gallium: Emit UCP.Corbin Simpson
2009-06-05r300-gallium: Improve vs emit.Corbin Simpson
2009-06-05r300-gallium: Mute some debug info.Corbin Simpson
Most of it is no longer interesting.
2009-06-04r300-gallium: vs: Fix negation calculation.Corbin Simpson
Still doesn't draw right, but at least it's the right numbers now. Thanks to taiu in #dri-devel.
2009-06-04r300-gallium: Fix pasta.Corbin Simpson
Trivial but annoying.
2009-06-04r300-gallium: Improve vs debug more.Corbin Simpson
Still not showing me why my stuff's failing, but getting there.
2009-06-04r300-gallium: vs: Add negation, SUB.Corbin Simpson
Doesn't work. WTF.
2009-06-04r300: Moar vs debug.Corbin Simpson
2009-06-02r300-gallium: strip swtcl to the bare minimumJoakim Sindholt
This was originally taken from i915 and it shows. Basically most the stuff in r300_render.c was never needed and shouldn't have worked in the first place
2009-06-01r300-gallium: Slightly hacky fix for glxgears-style TCL.Corbin Simpson
2009-05-28r300-gallium, radeon-gallium: Make add_buffer indicate when a flush is needed.Corbin Simpson
On a side note, why is RADEON_MAX_BOS 24? Should ask airlied about that.
2009-05-20r300-gallium: r500-fs: POW.Corbin Simpson
I feel so unclean.
2009-05-20r300-gallium: r500-fs: LRP.Corbin Simpson
Goddammit. This cannot be the "easy way." :C
2009-05-20r300-gallium: r500-fs: Combine function.Corbin Simpson
2009-05-20r300-gallium: Prevent assert when fogcoords are present.Corbin Simpson
Seems like this file is the source of all bad logic. (Pun intended.)
2009-05-20r300-gallium: Another constantbuf shader recompile test.Corbin Simpson
Less briefly... Shaders need to be recompiled if their constantbuf offsets have changed. However, since we only change them from shaders if immediates need to be emitted, we shouldn't bother if the shader doesn't use immediates.
2009-05-20r300-gallium: Raise constantbuf limits.Corbin Simpson
Still not correct, but really I don't care.
2009-05-20r300-gallium: fs: Remove cruft from way back when.Corbin Simpson
2009-05-20r300-gallium: Make surface_copy actually load the texture in shader.Corbin Simpson
2009-05-20r300-gallium: Add missing R481 PCI ID.Corbin Simpson
Per 74cb2aba on xf86-video-ati.
2009-05-20r300-gallium: Make surface_copy work, and refactor buffer validation.Corbin Simpson
2009-05-20radeon-gallium: Don't permit reading and writing a BO in one CS.Corbin Simpson
This fixes some silent problems in current libdrm_radeon. surface_copy still locks up hard.
2009-05-18r300-gallium: Fix (another) wrong value in MSPOS.Corbin Simpson
Again, thanks to agd5f.
2009-05-18r300-gallium: Cleanup viewport state setup.Corbin Simpson
2009-05-18r300-gallium: Always do VTE, never software viewport.Corbin Simpson
This makes glxgears draw properly with SW TCL.
2009-05-17r300-gallium: Enable GLSL for r500.Corbin Simpson
Before you get all excited, this is *not* to be construed as actual support for GLSL shaders. The GL version is still 1.3, and stuff still sucks. Just flicking it on so that it can be tested and developed a bit easier.
2009-05-17r300-gallium: r500-fs: DDX and DDY support.Corbin Simpson
Oh, look, GLSL instructions. I wonder what I'll do next.
2009-05-17r300-gallium: Add half-right COS and SIN.Corbin Simpson
HW trig does a premultiply by 2pi, where Mesa does another premultiply by pi. This is a problem.
2009-05-17r300-gallium: Size mismatch.Corbin Simpson
2009-05-17r300-gallium, radeon-gallium: Nuke gb_pipes from orbit.Corbin Simpson
See the previous commit for an explanation. This is just all the support code for GB_TILE_CONFIG.
2009-05-17r300-gallium: Don't set GB_TILE_CONFIG (in userspace.)Corbin Simpson
This accompanies kernel patches that make GB_TILE_CONFIG's various members completely controlled in DRM. GB_TILE_CONFIG has the following controls: - The number of GB (pixel) pipes enabled - The size and style of tiling - Subpixel precision (either 1/12 or 1/16) Per airlied and glisse, userspace and kernel will now agree (always) on a subpixel precision of 1/12, and tiling will always be kernel-controlled.
2009-05-17r300-gallium: Clean up more invariant state.Corbin Simpson
GA_ENHANCE is now the kernel's problem.
2009-05-17r300-gallium: Update XXX.Corbin Simpson
Lops work fine as long as HW TCL is off. (I think I know why.)
2009-05-17r300-gallium: Correct default MSPOS.Corbin Simpson
Per agd5f.
2009-05-17r300-gallium: vs: Fix vert shader init.Corbin Simpson
Makes the last three commits suck much less. :3
2009-05-17r300-gallium: r500-fs: Enable depth writes, kinda.Corbin Simpson
Should work, but doesn't. Hm.
2009-05-17r300-gallium: Comment out useless debugging code.Corbin Simpson
Those parts are nearly solid compared to the shaders.
2009-05-17r300-gallium: vs: Dupe tokens, better debug, count spurious insts.Corbin Simpson
2009-05-16r300-gallium: Die on bad texture formats.Corbin Simpson
Odds are good that we'll die later anyway, so we might as well do it before we start dancing on random memory.
2009-05-16r300-gallium: Update floating-point params too.Corbin Simpson
Even though we *can* render 10,000-pixel-wide lines, let's not advertise it.
2009-05-16r300-gallium: Update screen caps.Corbin Simpson
Anisotropic filtering should work, and OQ is broken.
2009-05-16r300-gallium: Various cleanups leftover from before.Corbin Simpson
BEGIN/END_CS pair, a few asserts, and a slightly more correct VTE setup.
2009-05-14r300-gallium: Correct VTE setup for surface_fill, make surface_copy emit right.Corbin Simpson