aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom_rasterizer.c
Commit message (Collapse)AuthorAgeFilesLines
* gallium: more work on ccw flag removalKeith Whitwell2010-05-141-45/+29
| | | | The linux-debug target builds...
* st/mesa: use BITFIELD64_BIT to access shader OutputsWritten in more placesBen Skeggs2010-03-311-1/+1
|
* gallium: add point_quad_rasterization bit to rasterizer stateRoland Scheidegger2010-02-041-1/+2
| | | | | This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
* gallium: clean up point sprite rasterizer stateRoland Scheidegger2010-02-031-12/+13
| | | | | | | | | | Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
* gallium: remove point_size_min and point_size_max from rasterizer stateRoland Scheidegger2010-01-121-3/+0
| | | | | | | The state tracker is responsible for clamping to any graphics API enforced size min/max limits for both the static point_size setting as well as per vertex point size (in the vertex shader). Note that mesa state tracker didn't actually use these values.
* Merge branch 'ext-provoking-vertex'Brian Paul2009-06-191-0/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
| * st: set pipe_rasterizer_state::flatshade_first according to provoking vertex ↵Brian Paul2009-05-281-0/+3
| | | | | | | | state
* | st/mesa: fix incorrect sprite origin when drawing to FBO/textureBrian Paul2009-06-011-1/+2
|/ | | | | | | Need to take the draw buffer's up/down orientation into consideration when setting the sprite_coord_mode field. Fixes inverted sprites when drawing into an FBO.
* mesa/st: remove duplicate offset calculationKeith Whitwell2009-04-281-16/+1
|
* gallium: remove remaining references to origin_lower_leftKeith Whitwell2009-03-211-3/+0
|
* gallium: remove use of origin_lower_leftBrian Paul2009-03-201-0/+1
| | | | | | | | | | | | | | This was used to indicate OpenGL's lower-left origin for fragment window coordinates for polygon stipple and gl_FragCoord. Now: - fragment coordinate origin is always upper-left corner - GL polygon stipple is inverted and shifted before given to gallium - GL fragment programs that use INPUT[WPOS] are modified to use an inverted window coord which is placed in a temp register. Note: the origin_lower_left field still exists in pipe_rasterizer_state. Remove it when all the drivers, etc. no longer reference it.
* gallium: fix two-sided lighting test in state trackerBrian Paul2008-12-181-3/+6
| | | | This fixes two-sided lighting for vertex shaders.
* mesa: rasterizer state depends on ST_NEW_VERTEX_PROGRAMBrian Paul2008-10-091-1/+4
| | | | Check for per-vertex point size must be done when vertex program changes.
* gallium: clean-up/fix msaa override in state trackerBrian Paul2008-09-171-1/+1
|
* gallium: added _NEW_PROGRAM to dependenciesBrian Paul2008-08-111-6/+12
|
* st: Silence compiler warnings on Windows.Michal Krol2008-07-151-1/+1
|
* mesa: fix issues around multisample enableRoland Scheidegger2008-07-021-1/+1
| | | | | multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
* Some changed for non-C99 compilersAlan Hourihane2008-05-021-6/+6
|
* gallium: add a flag to turn on gl rasterization rulesKeith Whitwell2008-04-021-0/+2
| | | | | | | Use this to set up hardware rasterization (if your hardware can do it) or otherwise turn on various tweaks in the draw module. Currently only hooked up to point biasing code.
* gallium: add temporary facility for rasterization-time clamping of point sizesKeith Whitwell2008-04-021-0/+4
|
* gallium: if point size not computed per vertex, apply size clamp immediately.Brian Paul2008-03-141-1/+6
| | | | Fixes glean pointAtten failure.
* gallium: rework CSO-related code in state trackerBrian2008-03-111-56/+52
| | | | | | | | | | Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers...
* gallium: clamp line width when creating raster state objectBrian2008-02-251-2/+12
|
* gallium: fix computation of raster.point_size_per_vertex flagBrian2008-01-231-1/+14
|
* Fix a two-sided lighting bug (fixes samples/wave.c)Brian2008-01-161-1/+8
|
* fix bug on GL_VERTEX_PROGRAM_TWO_SIDE pathBrian2007-12-181-1/+1
|
* Added origin_lower_left field to pipe_rasterizer_stateBrian2007-12-141-0/+2
| | | | | | This controls whether the window origin is considered to be the lower-left or upper-left corner. This effects computation of gl_FragCoord and the application of polygon stipple.
* new flag to control psize (from vertex shader or fixed size)Brian2007-10-221-0/+1
|
* add support for sprite texcoord modesBrian2007-10-221-0/+12
|
* add point_sprite flag to rasterizer stateBrian2007-10-221-0/+1
|
* Convert the rasterizer cso to the new semantics.Zack Rusin2007-09-191-5/+5
| | | | | Basically make cso hold the driver specific struct, while managing the template.
* Finishing up rename of the setup state to the rasterizer state.Zack Rusin2007-09-181-0/+224