Corbin Simpson
962d2e678f
r300: Clean up PVS upload emits.
2009-02-01 23:30:30 -08:00
Corbin Simpson
2e635ef563
r300: Add dsa state emit.
...
Seeing a pattern yet?
2009-02-01 23:30:30 -08:00
Corbin Simpson
bea0c5812b
r300: Add blend color state emit.
...
Slow and steady wins the race. Or something like that.
2009-02-01 23:30:30 -08:00
Corbin Simpson
2cb90c8e80
r300: Count BEGIN_CS, END_CS, warn if count is off.
2009-02-01 23:30:29 -08:00
Corbin Simpson
f1ba451bcc
r300: Set up blend state emit, clean up blend registers.
...
Also add at least one missing register to r300_reg.
2009-02-01 23:30:29 -08:00
Corbin Simpson
2c2f819a1d
r300: Add r300_flush.
...
Haha, I always do this.
2009-02-01 23:30:29 -08:00
Corbin Simpson
3e3122467f
r300: Deobfuscate a few registers, fix inaccurate variable names.
...
It's not "pipes", it's floating-point vertex processors. Completely different.
2009-02-01 23:30:29 -08:00
Corbin Simpson
29a4f54935
r300: Working trivial/clear for RV410.
...
This might work for other people too.
2009-02-01 23:30:29 -08:00
Corbin Simpson
412cf4d38b
BROKEN
...
This commit is only to protect against data loss, so please skip it when
bisecting. Thanks.
2009-02-01 23:30:29 -08:00
Corbin Simpson
f40e6988bd
Rebased to gallium-0.2, Jan 24 2009.
2009-02-01 23:30:28 -08:00
Corbin Simpson
188f61d43a
r300: Hook up clear, set it to fallback.
2009-02-01 23:30:28 -08:00
Corbin Simpson
57b062f775
r300: Make format names legible.
2009-02-01 23:30:28 -08:00
Corbin Simpson
f045988ee1
r300: Add more capabilities.
2009-02-01 23:30:28 -08:00
Corbin Simpson
f2a7d4f2e8
r300: Newlines, dammit!
2009-02-01 23:30:28 -08:00
Corbin Simpson
161f4068aa
r300: More state setters.
2009-02-01 23:30:28 -08:00
Corbin Simpson
902b1be0ea
r300: Add some useful debugging information; remove a couple compile warnings.
...
Deck chairs on the Titanic.
2009-02-01 23:30:28 -08:00
Corbin Simpson
e54732eb3d
r300: Remove radeon_reg.
...
Wonder why this was ever committed...
2009-02-01 23:30:27 -08:00
Corbin Simpson
1aa2ecf353
r300: Put r300_blit to bed.
...
Not going to be using the blitter. Period.
2009-02-01 23:30:27 -08:00
Corbin Simpson
7d3d3c75cc
r300: Plan for the next state setters.
2009-02-01 23:30:27 -08:00
Corbin Simpson
1a503019d7
r300: Moar state handlers.
...
Ah, my code's so bad. It's amazing.
2009-02-01 23:30:27 -08:00
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