Corbin Simpson
1a5eea0c1e
r300: Finish basic state setup.
...
I have successfully fooled glxinfo into believing that I am a competent
writer of code. Next step is to trick trivial/clear.
2009-02-01 23:30:27 -08:00
Corbin Simpson
02c6e52330
amd: Fix uninitialized pipe_screen.
2009-02-01 23:30:27 -08:00
Corbin Simpson
5f95f0538e
amd: Fix missing break statement.
2009-02-01 23:30:26 -08:00
Corbin Simpson
45cb94217e
r300: Add fragment shader stubs.
...
Not looking forward to filling these out at all.
2009-02-01 23:30:26 -08:00
Corbin Simpson
471129c7a1
r300: Add more pipe_texture stuff.
...
This is enough to sate glxinfo, for now.
2009-02-01 23:30:26 -08:00
Corbin Simpson
8e11e01214
r300: Add initial pipe_texture handling.
...
Still primitive and needing to be fleshed out, but it's a start.
2009-02-01 23:30:26 -08:00
Corbin Simpson
2f37387786
r300: Add texture sampler state.
...
Easy compared to the actual texture handling code.
2009-02-01 23:30:26 -08:00
Corbin Simpson
0648bc9f65
r300: Add texture stubs.
2009-02-01 23:30:26 -08:00
Corbin Simpson
ecb7f29f74
amd/r300: Wire up GETPARAM ioctls.
...
Whoo, stuff is starting to look cleaner and cleaner.
2009-02-01 23:30:25 -08:00
Corbin Simpson
90a96cb2ad
r300: Add sampler state skeleton.
...
Heh, serendipitous sibilance. Anyway, need to flesh this out.
2009-02-01 23:30:25 -08:00
Corbin Simpson
0ff7cb7c89
r300: Add num_vert_pipes (and remove busted num_pipes.)
2009-02-01 23:30:25 -08:00
Corbin Simpson
7d63ff93cb
r300: Unbreak build, finish clear state.
...
Completely untested, of course.
2009-02-01 23:30:25 -08:00
Corbin Simpson
22877265f4
[BROKEN] r300: Add initial clear/fill code.
...
Copied from mesa and still broken. Gimme a few to clean it up.
2009-02-01 23:30:25 -08:00
Corbin Simpson
6885560de5
r300: Fix constness, compile warnings, indentation in r300_state.
2009-02-01 23:30:25 -08:00
Corbin Simpson
8d1f386dcb
r300: Set floating-point params.
...
Note: I took those numbers from classic Mesa. I know that points are routinely
used to clear buffers, but line width is probably wrong.
2009-02-01 23:30:24 -08:00
Corbin Simpson
54d137e079
r300: Fix indenting.
2009-02-01 23:30:24 -08:00
Corbin Simpson
2b9ecaa6dd
r300: Fix missing free().
2009-02-01 23:30:24 -08:00
Corbin Simpson
502ddfcd57
r300: Add path for pci_id in winsys.
...
Needs to be hooked up to the getparam from the kernel.
2009-02-01 23:30:24 -08:00
Corbin Simpson
43f20357c8
r300: Use chip caps for something.
...
Step two: Integration. Yay?
Time to stop messing around with this and actually go do things.
2009-02-01 23:30:24 -08:00
Corbin Simpson
538a8149af
r300: Add chipset sorting and capabilities.
...
Part one: Capabilities from classic Mesa.
Damn, if only we didn't have so many fucking Radeons!
2009-02-01 23:30:24 -08:00
Corbin Simpson
2e09845277
r300: Various flags, small state tracking things.
...
Getting these out of the way so more stuff can be put in.
2009-02-01 23:30:23 -08:00
Corbin Simpson
7961974fc2
r300: Add a basic dirty state emit.
...
I feel strangely unproductive. Must be the cold.
2009-02-01 23:30:23 -08:00
Corbin Simpson
4ea17301c6
r300: Remove r300_state.h
2009-02-01 23:30:23 -08:00
Corbin Simpson
f3b53a5cb6
r300: Add blend color.
2009-02-01 23:30:23 -08:00
Corbin Simpson
a08a830fd3
r300: Add more state.
...
pipe_rasterizer_state is big, and I'm still processing it.
Todo:
- LOL EVERYTHING
- Moar cough syrup.
- Even moar cough syrup.
2009-02-01 23:30:23 -08:00
Corbin Simpson
4ce8129494
r300: Fix errant inlines.
...
This should unbreak dynamic loading.
2009-02-01 23:30:23 -08:00
Corbin Simpson
21a5a133ff
r300: Hook up state functions.
...
Haha, should not have attempted the scissors.
2009-02-01 23:30:23 -08:00
Corbin Simpson
bbb1c6f629
r300: Add DSA state.
...
That's it for now. Just the "easy" stuff.
Todo:
- Rasterizer state, which is a lot more than just the RS.
- Miscellaneous state which doesn't currently belong to any state object.
- Shader assemblers?
- Fix dynamic loading bugs.
2009-02-01 23:30:22 -08:00
Corbin Simpson
28bb7f3206
r300: Add scissor state, fix build.
2009-02-01 23:30:22 -08:00
Corbin Simpson
74288078ea
r300: Add blend state.
...
Also switched to r300_reg instead of radeon_reg. Yay?
2009-02-01 23:30:22 -08:00
Corbin Simpson
432ab001d0
r300, amd: Add the ability to flush the CS.
...
This is probably important, yeah?
2009-02-01 23:30:22 -08:00
Corbin Simpson
fbeeb66757
r300, amd: Make everything build. (Not necessarily work, mind you.)
...
Lots of structural work, especially in getting the two parts to talk nicely.
Todo:
- Get damn blitter working.
- Add CS flush.
- Reverse order of above two items.
2009-02-01 23:30:22 -08:00
Corbin Simpson
0c59004fe3
And unbreak traditional build.
...
s/drm-radeon/drm_radeon/
2009-02-01 23:30:22 -08:00
Corbin Simpson
4aaaecbfa6
A bit of r300 cleanup.
2009-02-01 23:30:21 -08:00
Corbin Simpson
e9b08e7373
Make r300 and amd build in scons.
2009-02-01 23:30:21 -08:00
Corbin Simpson
adb74f5c52
r300: Hook up to winsys, add missing header.
...
In theory it works, which of course means that it doesn't.
2009-02-01 23:30:21 -08:00
Corbin Simpson
78b599fb4c
gallium-r300: Add primitive CS.
...
Enough to get us up and running, I suppose.
This needs to be pushed down into winsys!
2009-02-01 23:30:21 -08:00
Corbin Simpson
ad14271425
gallium-r300: Max LOD bias is 16.0.
2009-02-01 23:30:21 -08:00
Corbin Simpson
32273c01bd
gallium-r300: Set right ROP for solid fills.
...
Thanks to MrCooper for pointing me in the right direction.
2009-02-01 23:30:20 -08:00
Corbin Simpson
afe2de0a23
gallium-r300: Fit it all together now.
...
In theory, it could work, but there's still some very big gaps.
Anything marked with XXX should be taken care of first, probably.
2009-02-01 23:30:20 -08:00
Corbin Simpson
b1776eb144
gallium-r300: Add r300_surface.
...
Todo:
- Hook up surface functions.
- Take it for a spin and watch it crash 'n' burn.
2009-02-01 23:30:20 -08:00
Corbin Simpson
d6cdb9db25
gallium-r300: Add r300_blit.
...
Count the XXXs and weep?
2009-02-01 23:30:20 -08:00
Corbin Simpson
fb11fb897c
gallium-r300: Add copyrights, place (broken) CS.
...
Todo:
- Fill blits.
- Less suck.
- Ask glisse about how to get winsys+pipe talking right,
so stuff like the CS can be set up right.
2009-02-01 23:30:20 -08:00
Corbin Simpson
6236372300
gallium-r300: Add r300_clear.
...
Todo:
- Less suckage.
- Re-read bo-cs stuff, figure out how the hell to emit state.
- Blits.
2009-02-01 23:30:20 -08:00
Corbin Simpson
3b37cb49b8
gallium-r300: Make it build.
...
Still todo:
- Sort out winsys.
- Less suckage.
2009-02-01 23:30:20 -08:00
Corbin Simpson
3e09a07a26
gallium-r300: Look less like i915.
...
Todo:
- Figure out how much code goes in winsys.
- Make it build.
- Make it suck less.
2009-02-01 23:30:19 -08:00
Corbin Simpson
aa96874c7a
gallium-r300: Add some headers.
...
Oh yeah, we're cookin' now!
2009-02-01 23:30:19 -08:00
Corbin Simpson
da1928d4a6
gallium-r300: Initial commit.
...
Or should it be r300-gallium? Meh, whatever.
2009-02-01 23:30:19 -08:00
Jerome Glisse
b3cf2af13a
amd: initial winsys
2009-02-01 23:30:19 -08:00
Jerome Glisse
14f79d46a5
gallium autoconf/automake
2009-02-01 23:30:19 -08:00