Commit graph

31522 commits

Author SHA1 Message Date
Kristian Høgsberg
a9e3669683 Remove remaining miniglx references 2010-02-25 17:40:11 -05:00
Kristian Høgsberg
79aeafd3ca Drop fb, ffb and gamma dri drivers 2010-02-25 17:40:11 -05:00
Kristian Høgsberg
40c6bb58be Drop classic mesa svga driver 2010-02-25 17:40:10 -05:00
Kristian Høgsberg
e14a5b14b2 Drop glide driver 2010-02-25 17:40:10 -05:00
Kristian Høgsberg
230d263aca Remove GGI support 2010-02-25 17:40:10 -05:00
Kristian Høgsberg
b5c3199afe Remove dos driver 2010-02-25 17:40:10 -05:00
Kristian Høgsberg
97972244d5 Remove d3d driver 2010-02-25 17:40:10 -05:00
Kristian Høgsberg
4387580e50 Remove directfb support 2010-02-25 17:40:09 -05:00
Kristian Høgsberg
dadd5094bf Remove allegro driver 2010-02-25 17:40:09 -05:00
Vinson Lee
0bca812dc4 Revert "glu/sgi: Set freed pointer to NULL."
This commit breaks flightgear fgfs. A null pointer is
dereferenced in the function MakeVertex.

This reverts commit 9be414f4b9.
2010-02-25 14:26:25 -08:00
Eric Anholt
6a9705f41d Merge branch 'sandybridge'
This brings in the initial code I've been working on for bringing up
OpenGL on Sandybridge in the i965 driver.  It doesn't work yet.
2010-02-25 10:56:18 -08:00
Eric Anholt
b43cfa9c5e docs: addition of ARB_fcc to i965. 2010-02-25 10:56:00 -08:00
Eric Anholt
38c4494092 i965: Add SNB math opcode support.
This is untested at this point.
2010-02-25 10:53:08 -08:00
Eric Anholt
078e7b62f6 i965: Emit SNB FF unit state after the unit's push constants.
There's a BUN for the WM unit that says WM_STATE must immediately
follow PS_CONSTANTS, which this addresses.  Presumably other units are
roughly the same, too.
2010-02-25 10:53:08 -08:00
Eric Anholt
c791f8a1e5 i965: Set up the SNB sampler state pointers. 2010-02-25 10:53:08 -08:00
Eric Anholt
5878c841e9 i965: Set GS rendering enabled even when the GS stage is disabled.
This is copying the behavior of other drivers.
2010-02-25 10:53:08 -08:00
Eric Anholt
f69d46150c i965: Add a couple SNB state packets I saw in other batchbuffer dumps. 2010-02-25 10:53:08 -08:00
Eric Anholt
2ab3bf2fa3 i965: Re-disable the VS.
There's stuff that needs to happen in the ISA before we can play with
actually executing anything in the VS.
2010-02-25 10:53:08 -08:00
Eric Anholt
1489f108f4 i965: Fix up some Sandybridge define checks for the structure rebase. 2010-02-25 10:53:08 -08:00
Eric Anholt
591a996ab6 i965: Move PIPELINE_SELECT to the top of gen6 3d pipeline setup. 2010-02-25 10:53:08 -08:00
Eric Anholt
ab8c37fe18 i965: Untested Sandybridge WM packets. 2010-02-25 10:53:08 -08:00
Eric Anholt
737fac7ba2 i965: Hook up remaining Sandybridge state packets besides WM. 2010-02-25 10:53:08 -08:00
Eric Anholt
70be48dff6 i965: Untested Sandybridge SF setup. 2010-02-25 10:53:08 -08:00
Eric Anholt
dd743fa36f i965: Fixup Sandybridge GS packet from doc updates. 2010-02-25 10:53:08 -08:00
Eric Anholt
da577ee880 i965: Fix up Sandybridge GS reg definitions 2010-02-25 10:53:08 -08:00
Eric Anholt
a935cb2aca i965: fix typo in SNB VS defines comment 2010-02-25 10:53:08 -08:00
Eric Anholt
305b72154f i965: fix typo in SNB GS register defines 2010-02-25 10:53:08 -08:00
Eric Anholt
0fbc0b0c17 i965: Enable clip stats. 2010-02-25 10:53:07 -08:00
Eric Anholt
1ae0cb5f28 i965: Add Sandybridge viewport setup. 2010-02-25 10:53:07 -08:00
Eric Anholt
c9065cd61f i965: Enable DRAWING_RECTANGLE emit on Sandybridge. 2010-02-25 10:53:07 -08:00
Eric Anholt
64e0c586a7 i965: Add Sandybridge scissor state. 2010-02-25 10:53:07 -08:00
Eric Anholt
93fcfc8369 i965: Fix up the VF stats packet header. 2010-02-25 10:53:07 -08:00
Eric Anholt
a38096aa94 i965: Set the state base address on Sandybridge. 2010-02-25 10:53:07 -08:00
Eric Anholt
2c3d6f8e3e i965: Free gen6 state BOs on context destroy. 2010-02-25 10:53:07 -08:00
Eric Anholt
d971375bc1 i965: Giant pile of flushing to track down SNB bringup issues.
This should go away before we push the code.
2010-02-25 10:53:07 -08:00
Eric Anholt
d512aa3d6d i965: Fix some defines of gen6 regs from docs comparison. 2010-02-25 10:53:07 -08:00
Eric Anholt
040cf3fcdc i965: Add basic decode of new gen6 packet boundaries. 2010-02-25 10:53:07 -08:00
Eric Anholt
ff3997904a i965: Reconnect the index/vertex setup. 2010-02-25 10:53:07 -08:00
Eric Anholt
c9dc6d425e i965: Set up the SNB URB.
even with vs disabled, still doesn't work.
2010-02-25 10:53:06 -08:00
Eric Anholt
0da50fa670 i965: Try sending prims down the pipeline.
Now things catch on fire.
2010-02-25 10:53:06 -08:00
Eric Anholt
8485e100b8 i965: Try uploading SNB VS constants. 2010-02-25 10:53:06 -08:00
Eric Anholt
eda1b50aa1 i965: Try turning on the VS. 2010-02-25 10:53:06 -08:00
Eric Anholt
98f9666f04 i965: Get vp-tri batchbuffers running (no rendering). 2010-02-25 10:53:06 -08:00
Eric Anholt
f58fbcf761 i965: Add untested REJECT_ALL clip state. 2010-02-25 10:53:06 -08:00
Eric Anholt
520b64ddfb i965: Add untested passthrough GS setup. 2010-02-25 10:53:06 -08:00
Eric Anholt
ba882d7827 i965: Add untested Sandybridge passthrough VS setup. 2010-02-25 10:53:06 -08:00
Eric Anholt
7ee590424c i965: Start adding support for the Sandybridge CC unit. 2010-02-25 10:53:06 -08:00
Eric Anholt
9dce60f35b i965: Set up sandybridge binding table pointers but don't enable it yet.
It hangs the GPU at the clipper stage, presumably because we're lacking
other setup.
2010-02-25 10:53:06 -08:00
Eric Anholt
0b9932ffde i965: Update WM surface state setup for sandybridge's new BLEND_STATE. 2010-02-25 10:53:06 -08:00
Eric Anholt
719f2b1d85 i965: Set up sandybridge depthbuffer. 2010-02-25 10:53:06 -08:00