Commit Graph

31508 Commits

Author SHA1 Message Date
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
Eric Anholt 554a8f4026 intel: Start adding defines and some bits for sandybridge bringup. 2010-02-25 10:53:06 -08:00
Francisco Jerez 51e8a66fa1 dri/nouveau: Use the XRGB8888 hardware texture format. 2010-02-25 18:37:39 +01:00
Francisco Jerez 59ddf8ca63 dri/nouveau: Use the hardware I8 format for intensity textures. 2010-02-25 18:37:39 +01:00
Francisco Jerez 4a7e9b5df4 dri/nouveau: Implement EXT_texture_from_pixmap. 2010-02-25 18:37:38 +01:00
Francisco Jerez a7b8d105a6 dri/nouveau: Support rectangle textures. 2010-02-25 18:37:38 +01:00
Francisco Jerez 7432ffbdfa dri/nouveau: Don't try to map a non-existent teximage. 2010-02-25 18:37:38 +01:00
Francisco Jerez 35041ec151 dri/nouveau: Add some RGB888 span functions. 2010-02-25 18:37:37 +01:00
Francisco Jerez 3ccfce85e2 dri/nouveau: Fake A8 and L8 texture support on nv04. 2010-02-25 18:37:37 +01:00
Francisco Jerez 7269a30b86 dri/nouveau: Restructure the nv[12]0 regcombiner code, and fake A8/L8 support. 2010-02-25 18:37:36 +01:00
Francisco Jerez 323e6bbb05 dri/nouveau: Try to validate textures earlier. 2010-02-25 18:37:36 +01:00
Francisco Jerez 44602bb23c dri/nouveau: Swizzle using the CPU when we hit a limitation of SIFM. 2010-02-25 18:37:35 +01:00
Francisco Jerez e59e5e3388 dri/nouveau: Clean up the nv04 surface code a bit. 2010-02-25 18:37:35 +01:00
Francisco Jerez 1e4c0618a8 dri/nouveau: Avoid mask overflow on nv04_surface_fill. 2010-02-25 18:37:35 +01:00
Francisco Jerez 9a8e374c46 dri/nouveau: Set _BaseFormat correctly for z24s8 renderbuffers. 2010-02-25 18:37:34 +01:00