summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/gen6_sf_state.c
AgeCommit message (Collapse)Author
2011-02-22i965: Increase Sandybridge point size clamp.Kenneth Graunke
255.875 matches the hardware documentation. Presumably this was a typo. Found by inspection. Not known to fix any issues. Reviewed-by: Eric Anholt <eric@anholt.net>
2011-02-22i965: Fix shaders that write to gl_PointSize on Sandybridge.Kenneth Graunke
gl_PointSize (VERT_RESULT_PSIZ) doesn't take up a message register, as it's part of the header. Without this fix, writing to gl_PointSize would cause the SF to read and use the wrong attributes, leading to all kinds of random looking failure. Reviewed-by: Eric Anholt <eric@anholt.net>
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-10i965: support for two-sided lighting on SandybridgeXiang, Haihao
VS places color attributes together so that SF unit can fetch the right attribute according to object orientation. This fixes light issue in mesa demo geartrain, projtex.
2010-12-06i965: fix for flat shading on SandybridgeXiang, Haihao
use constant interpolation instead of linear interpolation for attributes COL0,COL1 if GL_FLAT is used. This fixes mesa demo bounce.
2010-12-04i965: Update gen6 SF state on fragment program change too.Eric Anholt
SF state depends on what inputs there are to the fragment program, not just the outputs of the VS.
2010-12-02i965: add support for polygon mode on Sandybridge.Xiang, Haihao
This fixes some mesa demos such as fslight/engine in wireframe mode.
2010-10-28i965: Update gen6 SF state when point state (sprite or attenuation) changes.Eric Anholt
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-10-08i965: Enable attribute swizzling (repositioning) in the gen6 SF.Eric Anholt
We were trying to remap a fully-filled array down to only handing the WM the components it uses. This is called attribute swizzling, and if you don't enable it you just get 1:1 mappings of inputs to outputs. This almost fixes glsl-routing, except for the highest gl_TexCoord[] indices.
2010-10-06i965: Fix gen6 pointsize handling to match pre-gen6.Eric Anholt
Fixes point-line-no-cull. Bug #30532
2010-09-28i965: fix point sprite on sandybridgeZhenyu Wang
Need to set point sprite function in fixed SF state now on sandybridge.
2010-09-28i965: enable polygon offset on sandybridgeZhenyu Wang
Depth offset function is moved to SF stage on sandybridge.
2010-09-28i965: Set up inputs to the fragment shader according to FP InputsRead.Eric Anholt
Sending down data that doesn't get read doesn't make any sense, and would make handling things like gl_FrontFacing and gl_PointCoord harder.
2010-07-19i965: Don't set up VUE space for the disabled user clip distances on gen6.Eric Anholt
2010-06-12i965: Fix gen6 front cull mode.Eric Anholt
2010-03-05i965: Try to assign SNB SF inputs to outputs.Eric Anholt
2010-03-05i965: Fix the SNB SF input size.Eric Anholt
2010-02-25i965: Remove unnecessary headers.Vinson Lee
2010-02-25i965: Untested Sandybridge SF setup.Eric Anholt