summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/gen6_vs_state.c
AgeCommit message (Collapse)Author
2011-03-01i965: bump VS thread number to 60 on SNBZou Nan hai
Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
2011-01-06i965: Rename various gen6 #defines to match the documentation.Kenneth Graunke
This should make it easier to cross-reference the code and hardware documentation, as well as clear up any confusion on whether constants like CMD_3D_WM_STATE mean WM_STATE (pre-gen6) or 3DSTATE_WM (gen6+). This does not rename any pre-gen6 defines.
2010-12-16i965: Set the alternative floating point mode on gen6 VS and WM.Eric Anholt
This matches how we did the math instructions pre-gen6, though it applies to non-math as well. Fixes vp1-LIT test 2 (degenerate case: 0 ^ 0 -> 1)
2010-12-08i965: Drop push-mode reladdr constant loading and always use constant_map.Eric Anholt
This eases the gen6 implementation, which can only handle up to 32 registers of constants, while likely not penalizing real apps using reladdr since all of those I've seen also end up hitting the pull constant buffer. On gen6, the constant map means that simple NV VPs fit under the 32-reg limit and now succeed. Fixes around 10 testcases.
2010-11-10Revert "i965: VS use SPF mode on sandybridge for now"Zhenyu Wang
This reverts commit 9c39a9fcb2c76897e9b5aff68ce197a411c4e25c. Remove VS SPF mode, conditional instruction works for VS now.
2010-10-28i965: Upload required gen6 VS push constants even when using pull constants.Eric Anholt
Matches pre-gen6, and fixes glsl-vs-large-uniform-array.
2010-10-28i965: Add user clip planes support to gen6.Eric Anholt
Fixes piglit user-clip, and compiz desktop switching when dragging a window and using just 2 desktops. Bug #30446.
2010-10-19i965: Remove the gen6 emit_mi_flushes I sprinkled around the driver.Eric Anholt
These were for debugging in bringup. Now that relatively complicated apps are working, they haven't helped debug anything in quite a while.
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-09-28i965: VS use SPF mode on sandybridge for nowZhenyu Wang
Until conditional instructions were fixed, use SPF mode instead for now.
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul
2010-03-22i965: Enable VS on SNB.Eric Anholt
It appears that the thing that was killing VS threads was the gratuitous NOP that replaced the gratuitous jump from OPCODE_END to the nearby OPCODE_END implementation. With that gone, we can move on to the rest of the pipeline.
2010-03-04intel: Remove non-kernel-exec-fencing support.Eric Anholt
Shaves 60k off the driver from removing the broken spans code. This means we now require 2.6.29, which seems fair given that it's a year old and we've removed support for non-KMS already in the last release of 2D.
2010-02-25i965: Remove unnecessary headers.Vinson Lee
2010-02-25i965: Emit SNB FF unit state after the unit's push constants.Eric Anholt
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-25i965: Re-disable the VS.Eric Anholt
There's stuff that needs to happen in the ISA before we can play with actually executing anything in the VS.
2010-02-25i965: Untested Sandybridge SF setup.Eric Anholt
2010-02-25i965: Giant pile of flushing to track down SNB bringup issues.Eric Anholt
This should go away before we push the code.
2010-02-25i965: Reconnect the index/vertex setup.Eric Anholt
2010-02-25i965: Try uploading SNB VS constants.Eric Anholt
2010-02-25i965: Try turning on the VS.Eric Anholt
2010-02-25i965: Get vp-tri batchbuffers running (no rendering).Eric Anholt
2010-02-25i965: Add untested Sandybridge passthrough VS setup.Eric Anholt