Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-23 | r300g: Actually mark shaders as translated/untranslated. | Corbin Simpson | |
Also trust that Gallium will not give us TGSI that miscounts shader consts. This creates a 20x speedup on glxgears, from 8 FPS to 160 FPS. | |||
2009-07-22 | gallium: simplify tgsi_full_immediate struct | Keith Whitwell | |
Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables. | |||
2009-07-20 | r300g: Guard R500 register writes by is_r500 check. | Michel Dänzer | |
Flagged by the DRM command stream checker. This allows the driver to work on non-R500 cards. | |||
2009-07-13 | r300g: Small compile warning fixes. | Nicolai Hähnle | |
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com> | |||
2009-07-13 | r300g, radeon: Whitespace fixes. | Nicolai Hähnle | |
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com> | |||
2009-07-13 | r300g: Use align() instead of inline maths. | Corbin Simpson | |
2009-07-08 | r300g: Remove VAP_CNTL_STATUS from invariant state. | Corbin Simpson | |
Seriously. | |||
2009-07-08 | r300g: Disable MSPOS registers for glisse's CS security checker. | Corbin Simpson | |
These will come back in someday, when we can properly use them. | |||
2009-07-08 | r300-gallium: Unify sampler and texture emit. | Corbin Simpson | |
They have to cross into each other's registers. | |||
2009-07-08 | r300-gallium: Mipmap setup. | Corbin Simpson | |
(cherry picked from commit 88c01a15da5639dd68a6a0133724994cb66f1316) | |||
2009-07-08 | r300g: Add endian fix to vertex fetcher setup. | Corbin Simpson | |
As reported and initially tested by MrCooper. | |||
2009-07-01 | r300g: Fix recursive Draw flush. | Corbin Simpson | |
Also just noticed that demos/copypix walks around the overlapping blit rules. Bad, bad Mesa. :3 | |||
2009-07-01 | r300g: Use floats for surface_copy texcoords, use correct src and dest. | Corbin Simpson | |
This makes demos/copypix better-looking. Horizontal dimensions are right now. | |||
2009-06-27 | r300g: YCbCr and sRGB textures. | Corbin Simpson | |
2009-06-27 | r300g: Fix EXT_packed_depth_stencil functionality. | Corbin Simpson | |
Allow Z24S8 to be a true texture. | |||
2009-06-26 | r300g: EXT_provoking_vertex. | Corbin Simpson | |
2009-06-26 | r300g: S3TC. | Corbin Simpson | |
tests/texcompress2 doesn't work, but tests/texcmp does (more or less.) | |||
2009-06-26 | r300g: Use real texture formats. | Corbin Simpson | |
What bugs me is that the YUV444 format somehow worked properly. :3 | |||
2009-06-26 | r300g: Definitively forbid unusable Z buffer/stencil formats. | Corbin Simpson | |
2009-06-26 | r300g: Comment out assert for now. | Corbin Simpson | |
Will fix with better constant refactoring later. | |||
2009-06-26 | r300g: Be more specific on surface_copy fallbacks. | Corbin Simpson | |
2009-06-26 | r300g: PIPE_CAP_TGSI_CONT_SUPPORTED. | Corbin Simpson | |
2009-06-26 | r300-gallium: Ensure that no dirty state goes unemitted. | Corbin Simpson | |
2009-06-26 | r300-gallium: organize fragment/vertex shaders | Joakim 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-08 | r300-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-08 | r300-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-08 | r300-gallium: Don't emit UCP planes for SW TCL. | Corbin Simpson | |
2009-06-05 | r300-gallium: Use VAP_CLIP_CNTL. | Corbin Simpson | |
Makes tri-userclip work with HW TCL. | |||
2009-06-05 | r300-gallium: Emit UCP. | Corbin Simpson | |
2009-06-05 | r300-gallium: Improve vs emit. | Corbin Simpson | |
2009-06-05 | r300-gallium: Mute some debug info. | Corbin Simpson | |
Most of it is no longer interesting. | |||
2009-06-04 | r300-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-04 | r300-gallium: Fix pasta. | Corbin Simpson | |
Trivial but annoying. | |||
2009-06-04 | r300-gallium: Improve vs debug more. | Corbin Simpson | |
Still not showing me why my stuff's failing, but getting there. | |||
2009-06-04 | r300-gallium: vs: Add negation, SUB. | Corbin Simpson | |
Doesn't work. WTF. | |||
2009-06-04 | r300: Moar vs debug. | Corbin Simpson | |
2009-06-02 | r300-gallium: strip swtcl to the bare minimum | Joakim 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-01 | r300-gallium: Slightly hacky fix for glxgears-style TCL. | Corbin Simpson | |
2009-05-28 | r300-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-20 | r300-gallium: r500-fs: POW. | Corbin Simpson | |
I feel so unclean. | |||
2009-05-20 | r300-gallium: r500-fs: LRP. | Corbin Simpson | |
Goddammit. This cannot be the "easy way." :C | |||
2009-05-20 | r300-gallium: r500-fs: Combine function. | Corbin Simpson | |
2009-05-20 | r300-gallium: Prevent assert when fogcoords are present. | Corbin Simpson | |
Seems like this file is the source of all bad logic. (Pun intended.) | |||
2009-05-20 | r300-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-20 | r300-gallium: Raise constantbuf limits. | Corbin Simpson | |
Still not correct, but really I don't care. | |||
2009-05-20 | r300-gallium: fs: Remove cruft from way back when. | Corbin Simpson | |
2009-05-20 | r300-gallium: Make surface_copy actually load the texture in shader. | Corbin Simpson | |
2009-05-20 | r300-gallium: Add missing R481 PCI ID. | Corbin Simpson | |
Per 74cb2aba on xf86-video-ati. | |||
2009-05-20 | r300-gallium: Make surface_copy work, and refactor buffer validation. | Corbin Simpson | |
2009-05-20 | radeon-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. |