History log of /external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
03b78ceb50b97611bcaa2d2354ff5b505306b0a1 04-Aug-2012 Marek Olšák <maraeo@gmail.com> st/mesa: don't clamp fragment color with integer colorbuffer
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
b478fcb9a99ef084674529f7db95f041db4a4796 28-Jan-2012 Marek Olšák <maraeo@gmail.com> st/mesa: simplify initialization of light_twoside

Core Mesa does this for us, see update_two_size in state.c.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
bc1c8369384b5e16547c5bf9728aa78f8dfd66cc 23-Jan-2012 Marek Olšák <maraeo@gmail.com> st/mesa: do vertex and fragment color clamping in shaders

For ARB_color_buffer_float. Most hardware can't do it and st/mesa is
the perfect place for a fallback.
The exceptions are:
- r500 (vertex clamp only)
- nv50 (both)
- nvc0 (both)
- softpipe (both)

We also have to take into account that r300 can do CLAMPED vertex colors only,
while r600 can do UNCLAMPED vertex colors only. The difference can be expressed
with the two new CAPs.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
dc4c821f0817a3db716f965692fb701079f66340 10-Jan-2012 Marek Olšák <maraeo@gmail.com> Squash-merge branch 'gallium-clip-state'

Conflicts:
src/gallium/auxiliary/tgsi/tgsi_strings.c
src/mesa/state_tracker/st_atom_clip.c

commit d919791f2742e913173d6b335128e7d4c63c0840
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 17:59:22 2012 +0100

d3d1x: adapt to new clip state

commit cfec82bca3fefcdefafca3f4555285ec1d1ae421
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 14:16:51 2012 +0100

gallium/docs: update for clip state changes

commit c02bfeb81ad9f62041a2285ea6373bbbd602912a
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 14:21:43 2012 +0100

tgsi: add TGSI_PROPERTY_PROHIBIT_UCPS

commit d4e0a785a6a23ad2f6819fd72e236acb9750028d
Author: Brian Paul <brianp@vmware.com>
Date: Thu Jan 5 08:30:00 2012 -0700

tgsi: consolidate TGSI string arrays in new tgsi_strings.h

There was some duplication between the tgsi_dump.c and tgsi_text.c
files. Also use some static assertions to help catch errors when
adding new TGSI values.

v2: put strings in tgsi_strings.c file instead of the .h file.

Reviewed-by: Dave Airlie <airlied@redhat.com>

commit c28584ce0d8c62bd92c8f140729d344f88a0b3cd
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 12:48:09 2012 +0100

gallium: extend user_clip_plane_enable to apply to clip distances

commit f1d5016c07f786229ed057effbe55fbfd160b019
Author: Marek Olšák <maraeo@gmail.com>
Date: Fri Jan 6 02:39:09 2012 +0100

nvfx: adapt to new clip state

commit 6f6fa1c26bd19f797c1996731708e3569c9bfe24
Author: Marek Olšák <maraeo@gmail.com>
Date: Fri Jan 6 01:41:39 2012 +0100

st/mesa: fix DrawPixels with GL_DEPTH_CLAMP

commit c86ad730aa1c017788ae88a55f54071bf222be12
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Tue Jan 3 23:51:30 2012 +0100

nv50: adapt to new clip state

commit 3a8ae6ac243bae5970729dc4057fe02d992543dc
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Tue Jan 3 23:32:36 2012 +0100

nvc0: adapt to new clip state

commit 6243a8246997f8d2fcc69ab741a2c2dea080ff11
Author: Marek Olšák <maraeo@gmail.com>
Date: Thu Dec 29 01:32:51 2011 +0100

draw: initalize pt.user.planes in draw_init

This fixes a crash in glean/fpexceptions.

commit e3056524b19b56d473f4faff84ffa0eb41497408
Author: Marek Olšák <maraeo@gmail.com>
Date: Mon Dec 26 06:26:55 2011 +0100

svga: adapt to new clip state

commit c5bfa8b37d6d489271df457229081d6bbb51b4b7
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 14:11:51 2011 +0100

r600g: adapt to new clip state

commit f11890905362f62627c4a28a8255b76eb7de7df2
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 14:10:26 2011 +0100

r300g: adapt to new clip state

commit e37465327c79a01112f15f6278d9accc5bf3103f
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 12:39:16 2011 +0100

draw: adapt to new clip state

This adds a regression in the LLVM clipping path. Can anybody see anything
wrong with the code? It works for every other case, just glean/fpexceptions
crashes when doing the "Infinite clip plane test".

commit b474d2b18c72d965eefae4e427c269cba5ce6ba2
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 13:14:59 2011 +0100

u_blitter: don't save/set/restore clip state

commit 9dd240ea91f523a677af45e8d0adb9e661e28602
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 13:11:56 2011 +0100

gallium: don't cso_save/set/restore clip state

The enable bits are in the rasterizer state.

commit a4f7031179f5f4ad524b34b394214b984ac950f6
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 12:58:55 2011 +0100

gallium: default depth_clip to 1

depth_clip = !depth_clamp

commit fe21147a00ab90e549d63fe12ee4625c9c2ffcc3
Author: Marek Olšák <maraeo@gmail.com>
Date: Mon Dec 26 06:14:19 2011 +0100

trace,util: update state logging to new clip state

Also dump the other missing flags.

commit 2a3b96e84ac872dcc5bc1de049fe76bb58d64b23
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 10:43:43 2011 +0100

st/mesa: adapt to new clip state

commit b7b656a42fca19d7c85267f42649a206a85a2c72
Author: Marek Olšák <maraeo@gmail.com>
Date: Sat Dec 17 15:45:19 2011 +0100

gallium: move state enable bits from clip_state to rasterizer_state
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
d44878e754e65550c0725feb76fe0cbab0ae5d93 21-Dec-2011 Paul Berry <stereotype441@gmail.com> mesa: Add _NEW_RASTERIZER_DISCARD as synonym for _NEW_TRANSFORM.

This makes it easier to keep track of which dirty bits correspond to
which pieces of context, since it makes _NEW_RASTERIZER_DISCARD
correspond with ctx->RasterDiscard.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
aee96806f049c17384a8edc11acce76257d98a57 21-Dec-2011 Paul Berry <stereotype441@gmail.com> mesa: Move RasterDiscard to toplevel of gl_context.

Previously we were storing the RasterDiscard flag (for
GL_RASTERIZER_DISCARD) in gl_context::TransformFeedback. This was
confusing, because we use the _NEW_TRANSFORM flag (not
_NEW_TRANSFORM_FEEDBACK) to track state updates to it, and because
rasterizer discard has effects even when transform feedback is not in
use.

This patch makes RasterDiscard a toplevel element in gl_context rather
than a subfield of gl_context::TransformFeedback.

Note: We can't put RasterDiscard inside gl_context::Transform, since
all items inside gl_context::Transform need to be pieces of state that
are saved and restored using PushAttrib and PopAttrib.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
c05fafa4a0fd93d4264c46578e23a83ecf2b481e 09-Dec-2011 Marek Olšák <maraeo@gmail.com> st/mesa: implement EXT_transform_feedback and ARB_transform_feedback2
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
47e3896dfd89a26abbe4ca2469c2480f3982b204 16-Feb-2011 Luca Barbieri <luca@luca-barbieri.com> gallium: implement clamping controls (ARB_color_buffer_float)

BTW this changes the gallium interface.
Some rather cosmetic changes by Marek.

Squashed commit of the following:

commit 513b37d484f0318311e84bb86ed4c93cdff71f13
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:17:54 2010 +0200

mesa/st: respect fragment clamping in st_DrawPixels

commit 546a31e42cad459d7a7a10ebf77fc5ffcf89e9b8
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:17:28 2010 +0200

mesa/st: support fragment and vertex color clamping

commit c406514a1fbee6891da4cf9ac3eebe4e4407ec13
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Tue Aug 24 21:56:37 2010 +0200

mesa/st: expose ARB_color_buffer_float if unclamping is supported

commit d0c5ea11b6f75f3da2f4ca989115f150ebc7cf8d
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 17:53:41 2010 +0200

mesa/st: use unclamped colors

This assumes that Gallium is to be interpreted as given drivers the
responsibility to clamp these colors if necessary.

commit aef5c3c6be6edd076e955e37c80905bc447f8a82
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:12:34 2010 +0200

mesa, mesa/st: handle read color clamping properly

We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where
the operation mandates it. (see the removed XXX comment. -Marek)

TODO: did I get the set of operations mandating it right?

commit 76bdfcfe3ff4145a1818e6cb6e227b730a5f12d8
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:18:25 2010 +0200

gallium: add color clamping to the interface
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
4c251b88613ae3650a7b9eb255b79a95d0c837a7 22-Jan-2011 Brian Paul <brianp@vmware.com> st/mesa: update comment, use st_fb_orientation()
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
84eba3ef71dfa822e5ff0463032cdd2e3515b888 13-Oct-2010 Ian Romanick <ian.d.romanick@intel.com> Track separate programs for each stage

The assumption is that all stages are the same program or that
varyings are passed between stages using built-in varyings.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
e22e3927b056806e9bbb089734132ad0bcb98df1 18-Sep-2010 Brian Paul <brianp@vmware.com> gallium: rework handling of sprite_coord_enable state

Implement the pipe_rasterizer_state::sprite_coord_enable field
in the draw module (and softpipe) according to what's specified
in the documentation.

The draw module can now add any number of extra vertex attributes
to a post-transformed vertex and generate texcoords for those
attributes per sprite_coord_enable. Auto-generated texcoords
for sprites only worked for one texcoord unit before.

The frag shader gl_PointCoord input is now implemented like any
other generic/texcoord attribute.

The draw module now needs to be informed about fragment shaders
since we need to look at the fragment shader's inputs to know
which ones need auto-generated texcoords.

Only softpipe has been updated so far.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
9c264642c385557d64b9bc6bbe31d2d15e703aff 14-May-2010 Keith Whitwell <keithw@vmware.com> gallium: more work on ccw flag removal

The linux-debug target builds...
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
b46750d601655c39ccb967ae525d4edcbb9fb9d2 31-Mar-2010 Ben Skeggs <bskeggs@redhat.com> st/mesa: use BITFIELD64_BIT to access shader OutputsWritten in more places
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
68f93ea3eb83cfad014b8ec93cec3564c1aa9833 04-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: add point_quad_rasterization bit to rasterizer state

This determines if points should be rasterized according to GL point rules
or as normal quads (GL point sprites / d3d points / d3d point sprites).
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
4a4daa75a85db22cd37ebd533ebbccb427e07077 03-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: clean up point sprite rasterizer state

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).
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
a407636efb6c32cee81b9a1525dbc804aacd957b 12-Jan-2010 Roland Scheidegger <sroland@vmware.com> gallium: remove point_size_min and point_size_max from rasterizer state

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.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
9038b6c8bbda49c544d777c7cf7b107887421c77 19-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'ext-provoking-vertex'

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
0e8a5a84742adf6e99236f246c77325fad174204 01-Jun-2009 Brian Paul <brianp@vmware.com> st/mesa: fix incorrect sprite origin when drawing to FBO/texture

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.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
b631d5fbf45f4df44d1c445a9defb8c8f05599e2 28-May-2009 Brian Paul <brianp@vmware.com> st: set pipe_rasterizer_state::flatshade_first according to provoking vertex state
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
106f2b031cbb83a54fa2949cb07357ecea68b92a 28-Apr-2009 Keith Whitwell <keithw@vmware.com> mesa/st: remove duplicate offset calculation
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
1bb60d25e09d71861bdb4485378880140b65b062 21-Mar-2009 Keith Whitwell <keith@tungstengraphics.com> gallium: remove remaining references to origin_lower_left
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
401cbd0d2365e5b2d371a2a01edf1cecca4a99dd 21-Mar-2009 Brian Paul <brianp@vmware.com> gallium: remove use of origin_lower_left

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.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
52406c80d67d3e101d1da0f5babaabac202d31d5 19-Dec-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix two-sided lighting test in state tracker

This fixes two-sided lighting for vertex shaders.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
f7556fdd40ed2719beaba271eee4a7551e212ad1 10-Oct-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: rasterizer state depends on ST_NEW_VERTEX_PROGRAM

Check for per-vertex point size must be done when vertex program changes.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
1a820f52f6fa125786538c1adf2aa350e66b8c1e 17-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: clean-up/fix msaa override in state tracker
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
e552140a9a55fcadfe7f28c74a7e0aa1c68cdc93 11-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: added _NEW_PROGRAM to dependencies
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
6c534b830c6f5427c391c5225c34561141c201ba 15-Jul-2008 Michal Krol <michal@tungstengraphics.com> st: Silence compiler warnings on Windows.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
489fc4d10a57538de59a89e19ce752e4b7253d22 02-Jul-2008 Roland Scheidegger <sroland@tungstengraphics.com> mesa: fix issues around multisample enable

multisample enable is enabled by default, however gl mandates multisample
rendering rules only apply if there's also a multisampled buffer.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
54507125e735ffa595e252282eaabf38095c21e1 02-May-2008 Alan Hourihane <alanh@tungstengraphics.com> Some changed for non-C99 compilers
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
8e33194837dd206d920889851d9cf22190100c99 02-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> gallium: add a flag to turn on gl rasterization rules

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.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
bc739440c29c551fcc44e9e12d0d9c170d8d24fb 02-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> gallium: add temporary facility for rasterization-time clamping of point sizes
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
cbf42c45a15d6a132c7f7d4946c422ee3de35e6c 15-Mar-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: if point size not computed per vertex, apply size clamp immediately.

Fixes glean pointAtten failure.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
339e7ec6805e6de8794514c0a935081b5d36d38f 12-Mar-2008 Brian <brian.paul@tungstengraphics.com> gallium: rework CSO-related code in state tracker

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...
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
09ba1dd4ccb0ed907510cb9403b1fb1fb0ab3658 26-Feb-2008 Brian <brian@i915.localnet.net> gallium: clamp line width when creating raster state object
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
2444f6c6a4c2f54c3198882c2256419628ca49d1 23-Jan-2008 Brian <brian.paul@tungstengraphics.com> gallium: fix computation of raster.point_size_per_vertex flag
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
dd235ff1db6a2839607931cc07f9ba6e602ac3d4 16-Jan-2008 Brian <brian.paul@tungstengraphics.com> Fix a two-sided lighting bug (fixes samples/wave.c)
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
52da6b559a47eca2c1a8ec1b713e188f38e1d16a 19-Dec-2007 Brian <brian.paul@tungstengraphics.com> fix bug on GL_VERTEX_PROGRAM_TWO_SIDE path
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
017f862de1f857bca29f09794539aaf411014f13 14-Dec-2007 Brian <brian.paul@tungstengraphics.com> Added origin_lower_left field to pipe_rasterizer_state

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.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
beefc6011bce9e99cb46430186de1c13f027cb05 22-Oct-2007 Brian <brian.paul@tungstengraphics.com> new flag to control psize (from vertex shader or fixed size)
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
1b4852345954af9b582b03a91a3d8399b8fb0e92 22-Oct-2007 Brian <brian.paul@tungstengraphics.com> add support for sprite texcoord modes
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
cd4d732773e06e462e78b8f5bc9f3f1552a198ac 22-Oct-2007 Brian <brian.paul@tungstengraphics.com> add point_sprite flag to rasterizer state
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
fe555c39bb7fd530298b5be4a8f06bff41726c86 19-Sep-2007 Zack Rusin <zack@tungstengraphics.com> Convert the rasterizer cso to the new semantics.

Basically make cso hold the driver specific struct, while
managing the template.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c
de69fc1703f79e5c97e66b654de7a93b7abce8f0 18-Sep-2007 Zack Rusin <zack@tungstengraphics.com> Finishing up rename of the setup state to the rasterizer state.
/external/mesa3d/src/mesa/state_tracker/st_atom_rasterizer.c