History log of /external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
23c71839e994c9c0ca684e54630991e16b0530af 15-Oct-2012 Marek Olšák <maraeo@gmail.com> st/mesa: fix integer texture border color for some formats (v2)

And the clear color too, though that may be an issue only with GL_RGB if it's
actually RGBA in the driver.

NOTE: This is a candidate for the stable branches.

Reviewed-by: Brian Paul <brianp@vmware.com>

v2: The types of st_translate_color parameters were changed to gl_color_union
and pipe_color_union as per Brian's comment.
(cherry picked from commit 2bbd307fa638f6d256d020ddf1cff5fc7f735fd2)
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
f3c3aff6efed49b7740a144f767c713cb22561e2 10-Aug-2012 Brian Paul <brianp@vmware.com> st/mesa: add support for GS textures and samplers
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
6c8a13215813841703e7c2efa233e8d4cf517dfd 10-Aug-2012 Brian Paul <brianp@vmware.com> st/mesa: combine vertex/fragment sampler state in arrays

As with other recent changes, put the vertex and fragment sampler state
into arrays indexed by the shader type. This will let us easily add
support for other types of shaders in the future.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
8eeeef37057e8f31834e421902c529b273295d0b 06-Aug-2012 Brian Paul <brianp@vmware.com> st/mesa: merge fragment/vertex sampler update code

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
819e786339fe0eebcd6e8e0ec9e501da548846ba 06-Aug-2012 Brian Paul <brianp@vmware.com> st/mesa: massage update_vertex_samplers() code

...to look like update_fragment_samplers() code, as with the previous
commit. The next step would be to merge the two functions.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
5749ae919e386e49dbf373e362dd74b513c96360 06-Aug-2012 Brian Paul <brianp@vmware.com> st/mesa: rename some vertex/fragment state fields for better consistency

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
ea6f035ae90895bd4ee3247408eb179dfdf96d22 02-Aug-2012 Brian Paul <brianp@vmware.com> gallium: consolidate CSO sampler and sampler_view functions

Merge the vertex/fragment versions of the cso_set/save/restore_samplers()
functions. Now we pass the shader stage (PIPE_SHADER_x) to the function
to indicate vertex/fragment/geometry samplers. For example:

cso_single_sampler(cso, PIPE_SHADER_FRAGMENT, unit, sampler);

This results in quite a bit of code reduction, fewer CSO functions and
support for geometry shaders.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
ea2aca036c742474cda03e3b7012b188a14d0287 13-Feb-2012 Brian Paul <brianp@vmware.com> st/mesa: remove st_get_default_texture()

Just use _mesa_get_fallback_texture() instead.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
23c52caafba52c77092b9721bd4601f8ea592625 08-Feb-2012 Dave Airlie <airlied@redhat.com> st/mesa: exit the update fragment samplers/textures loops early.

If we have no more enabled samplers and we've reset all the previously
used ones, no need to keep going around this loop.

(just moved some stuff around to clean it up a bit).

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
833a33bf6e085a79ec74c5f296a8e55ebec9f9b5 07-Feb-2012 Dave Airlie <airlied@redhat.com> st/mesa: avoid vertex texture and sampler updates for 0 case

If we had no vertex textures or samplers previously and we have none now,
don't bother doing the enables dance.

I was profiling nexuiz on noop and noticed these two functions in the
profile, this drops their usage from 0.86% to 0.03% and 0.23% to 0.03%
for texture and samplers.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
9f61e43b4903c6cf0ac03a479ec9ed7b15fd6ccf 27-Sep-2011 Dave Airlie <airlied@redhat.com> gallium: move border color to be a color union

EXT_texture_integer also specifies border color should be a color
union, the values are used according to the texture sampler format.

(update docs)

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
3751aa4592fb9e97823876ae1b434bf573d4639b 14-Jun-2011 Brian Paul <brianp@vmware.com> st/mesa: fix indentation, whitespace
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
99feecc7d1d0a6efb2511859973d6029d9fed9fd 14-Jun-2011 Brian Paul <brianp@vmware.com> st/mesa: replace st->ctx with ctx
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
6bd8647b54054a59bdb4f0c170c4481eaadc81ff 16-May-2011 Dave Airlie <airlied@redhat.com> st/mesa: only memset sampler when about to use it.

This function was taking a lot more CPU than required due to it memsetting
a bunch of memory that didn't require it from what I can see.

We should only memset here when we are about to fill out the sampler,
otherwise we end up doing a bunch of memsets for everytime this function
is called, basically setting 0 memory to 0.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
c9aa3bbda44470c0a92c675abf4bbab83aba3fb7 14-May-2011 Dave Airlie <airlied@redhat.com> st/mesa: overhaul vertex/fragment sampler and sampler views.

This fixes piglits fragment-and-vertex-texturing test on llvmpipe for me.

I've no idea if someone had another plan for this that is smarter than what
I've done here, but what I've basically done is

split fragment and vertex sampler and sampler_view setup function, factor
out the common chunks of both.

side-cleanups:
drop st->state.sampler_list - unused
don't update border color if we have no border color.

should fix https://bugs.freedesktop.org/show_bug.cgi?id=35849

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
a5f0a11477ae90f47f3adb59a93c5576dc8c7325 02-May-2011 Marek Olšák <maraeo@gmail.com> gallium: implement seamless cubemap extensions

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
1f32c665c8af0622e2bbf451edb999ffbcd7d0fe 20-Apr-2011 Eric Anholt <eric@anholt.net> intel: Add support for ARB_sampler_objects.

This extension support consists of replacing
"gl_texture_obj->Sampler." with "_mesa_get_samplerobj(ctx, unit)->".
One instance of referencing the texture's base sampler remains in the
initial miptree allocation, where I'm not sure we have a clear
association with any texture unit.

Tested with piglit ARB_sampler_objects/sampler-objects.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
ecfaab88b2577bd0395bc05d75a036126806a9c4 10-Apr-2011 Brian Paul <brianp@vmware.com> mesa: move sampler state into new gl_sampler_object type

gl_texture_object contains an instance of this type for the regular
texture object sampling state. glGenSamplers() generates new instances
of gl_sampler_object which can override that state with glBindSampler().
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
79db70bd8aa04e19a4e1b9ee98eb568d90bb6d62 17-Jan-2011 Henri Verbeet <hverbeet@gmail.com> st/mesa: Clamp min_lod to the max miplevel as well.

Otherwise min_lod can potentially be larger than the clamped max_lod. The
code that follows will swap min_lod and max_lod in that case, resulting in a
max_lod larger than MAX_LEVEL.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
2ecb73379e4d88873cbe1cafdd056f7f687ea743 17-Jan-2011 Henri Verbeet <hverbeet@gmail.com> st/mesa: Set samplers views' first_level.

Base level and min LOD aren't equivalent. In particular, min LOD has no
effect on image array selection for magnification and non-mipmapped
minification.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
5d5db24a26415cdec4b3d3f2a92bae7112c9f884 25-Mar-2011 Fabian Bieler <der.fabe@gmx.net> st/mesa: Apply LOD from texture object

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
d863bd7d7baa0a71529f195b0025d57b9d65089a 25-Mar-2011 Fabian Bieler <der.fabe@gmx.net> st/mesa: Apply LOD bias from correct texture unit

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
e2d108ec828bdbebdc7e8f9df30c86f0b521aa8d 22-Feb-2011 Brian Paul <brianp@vmware.com> st/mesa: need to translate clear color according to surface's base format

When clearing a GL_LUMINANCE_ALPHA buffer, for example, we need to convert
the clear color (R,G,B,A) to (R,R,R,A). We were doing this for texture border
colors but not renderbuffers. Move the translation function to st_format.c
and share it.

This fixes the piglit fbo-clear-formats test.

NOTE: This is a candidate for the 7.9 and 7.10 branches.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
e5aa69f6a6779d1e0fb3d413ad7007b0fb90b176 29-Nov-2010 Marek Olšák <maraeo@gmail.com> st/mesa: fix texture border color for RED and RG base formats

The spec says the border color should be consistent with the internal
format.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
9755539116fd0b818cc0636a6d6ed10b19b639be 07-Jul-2010 Brian Paul <brianp@vmware.com> st/mesa: fix sampler max_lod computation

This change makes gallium behave like other GL implementations and fixes
a conformance failure.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
e648d4a1d1c0c5f70916e38366b863f0bec79a62 29-Apr-2010 Brian Paul <brianp@vmware.com> st/mesa: ignore gl_texture_object::BaseLevel when allocating gallium textures

Previously, when we created a gallium texture for a corresponding Mesa
texture we'd only allocate space for mipmap levels >= BaseLevel.

This patch undoes that mechanism. This fixes a render-to-texture bug
when rendering to level 0 when BaseLevel=1.

Also, it makes sense to allocate the whole texture object memory when
BaseLevel > 0 since a common use of GL_TEXTURE_BASE_LEVEL is to
progressively load/render mipmaps. Eventually, the app almost always
fills in the level=0 mipmap image.

Finally, the texture image code is bit easier to understand now.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
ebe12d50064370e4ddec21a1e087b24295940319 12-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: make max_anisotropy a unsigned bitfield member

saves us a dword in sampler state, hw can't do non-integer aniso degree anyway.
To allow aniso 1x (which seems of dubious value but some hardware (radeons)
have such a mode, and even d3d allows specifiying it) redefine anisotropic
filtering as disabled only if max_anistropy is 0.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
cd8614b0287dc5a69725ec4ee0208fad61f7789e 22-Jan-2010 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
src/gallium/auxiliary/pipebuffer/Makefile
src/gallium/auxiliary/pipebuffer/SConscript
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/gallium/auxiliary/tgsi/tgsi_scan.c
src/gallium/drivers/i915/i915_surface.c
src/gallium/drivers/i915/i915_texture.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/softpipe/sp_prim_vbuf.c
src/gallium/state_trackers/xorg/xorg_dri2.c
src/gallium/winsys/drm/intel/gem/intel_drm_api.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
src/gallium/winsys/drm/radeon/core/radeon_drm.c
src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c
src/mesa/state_tracker/st_cb_clear.c
bc639f291bd6127730845f9e6208e48e51cb83ff 16-Jan-2010 Vinson Lee <vlee@vmware.com> st/mesa: Remove unnecessary header from st_atom_sampler.c.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
f02347374819a9b145a3e26c625709aea0c6f61b 06-Jan-2010 Luca Barbieri <luca@luca-barbieri.com> gallium: remove PIPE_TEX_FILTER_ANISO

This patch removes PIPE_TEX_FILTER_ANISO.

Anisotropic filtering is enabled if and only if max_anisotropy > 1.0.
Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be
considered equivalent, and meaning to turn off anisotropic filtering.

This approach has the small drawback of eliminating the possibility of
enabling anisotropic filter on either minification or magnification
separately, which Radeon hardware seems to support, is currently
support by Gallium but not exposed to OpenGL. If this is actually
useful it could be handled by splitting max_anisotropy in two values
and adding an appropriate OpenGL extension.

NOTE: some fiddling & reformatting by keithw to get this patch to
apply. Hopefully nothing broken in the process.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
f6c2d1f94ffa8f87b22ed1ff5c465d0e9aa1489e 05-Jan-2010 Brian Paul <brianp@vmware.com> mesa: make texture BorderColor a union of float/int/uint

When we have integer-valued texture formats, the texture border color
must also store integer and uint values.

With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions
can set the border color to int or uint values.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
853d4807fe220b17cf5af5a76b24f2466238013b 01-Dec-2009 Michal Krol <michal@vmware.com> mesa: Update vertex texture code after gallium changes.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
ef089604a9cdcb4efa0850de393e04aa8d002fae 28-Sep-2009 Brian Paul <brianp@vmware.com> mesa: use texture format functions
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
89276e2aafd837dbf4eefaa28388109271d6d07d 06-Apr-2009 Brian Paul <brianp@vmware.com> st: as with swrast, interpret texture border color according to texture format

Depending on the hardware driver this might not be needed, but it will
cause no harm.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
a07e68df6826d979d6a9575d17599f14afd51fe9 06-Apr-2009 Brian Paul <brianp@vmware.com> st: rename a helper function
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
9271662ae9acda08ed6e444d1ee18384eebf8987 03-Dec-2008 Brian <brian.paul@tungstengraphics.com> gallium: check vertex shaders for samplers/texture usage as we do for fragment shaders
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
8f6d9e12be0be086ca2aab0b56dff8d2181addd9 14-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: use a default texture in update_textures(), update_samplers() when needed

The default texture is used when the current fragment shader has texture
sample instructions but the user has not provided/bound a texture.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
98b7174ad6f6a74361e58136bdd235a092b07a40 03-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: replace an assertion with "if (!texobj) continue"

It's possible to call update_samplers() between the time a fragment shader
is bound and when a texture image is defined (such as glClear). This
fixes the case where we don't have a complete texture object yet.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
c921a29b3a696f6fa99b648d6cd975dbcf106429 24-Jun-2008 José Fonseca <jrfonseca@tungstengraphics.com> mesa: Replace abort by asserts.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
93deede760e5a1309f1b948d91eae3d27f59ed97 17-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: check if sampler->max_lod < sampler->min_lod
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
809dd9089bae70cf35cea6a75258e700e7455738 06-May-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: sync up texture/sampler changes with master
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
09e6be9b5782870f1f225653687e0d3e7be2a5a9 06-May-2008 Keith Whitwell <keith@tungstengraphics.com> Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces

Conflicts:

src/mesa/state_tracker/st_atom_sampler.c
src/mesa/state_tracker/st_cb_texture.c
ffde4e03cf178719c06c300939f8f469d7fc5e9c 04-May-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix some BaseLevel, lastLevel bugs
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
736f535b4f1c5e6912b5b2fe9415a3b44a678844 03-May-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix warnings
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
3837d401cc665eccf079eba5822b1a3eec565b81 03-May-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix sampler->max_lod computation
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
3668d20a9f382a174e002dc9b226710bdd983992 03-May-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix computation of sampler->min_lod

The texture BaseLevel is accounted for in texture layout so it doesn't factor
in here. May also need to adjust max_lod...
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
54507125e735ffa595e252282eaabf38095c21e1 02-May-2008 Alan Hourihane <alanh@tungstengraphics.com> Some changed for non-C99 compilers
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
de7277f81a0f4330f11ec429bf46e93d0a748dfe 01-May-2008 Michel Dänzer <michel@tungstengraphics.com> gallium: Set sampler->min_lod instead of always reallocating pipe_textures.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
216603348c399b58fadf39b972d3f708e82f253b 29-Apr-2008 Roland Scheidegger <sroland@tungstengraphics.com> gallium: set border color
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
5615ab78b03cf1cb5fb19fc04fef52818f91b0be 28-Mar-2008 Roland Scheidegger <sroland@tungstengraphics.com> gallium: remove redundant compare bit in sampler state
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
0dd79011b9c407191e40c2697c68946f35bc557a 12-Mar-2008 Brian <brian@poulsbo.localnet.net> gallium: pass NULL to cso_single_sampler() when the sampler isn't used.

This fixes an AA line crash/regression.
The aaline stage needs to find a free/unused sampler to do its thing.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
98ae83d5cc73b61826823c915b5c59746c2e85c7 12-Mar-2008 Keith Whitwell <keith@tungstengraphics.com> gallium: Add TEX_FILTER_ANISO img filter

Hardware almost universally expects us to set a special filtering mode
when anisotropic filtering is enabled, as opposed to varying a max-aniso
values. Do this once in the state tracker & simplify the driver code.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.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_sampler.c
4528287e040415c2071012d02f20979ff995c754 05-Mar-2008 Keith Whitwell <keith@tungstengraphics.com> gallium: michel's patch to rework texture/sampler binding interface

Bind all the samplers/textures at once rather than piecemeal.
This is easier for drivers to understand.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
48e223a0db85e83e180a49f3c3c7ea4101a86f40 13-Feb-2008 Brian <brian.paul@tungstengraphics.com> gallium: clamp min_lod so it's never negative
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
f3b3ea9742e6511fa46332c2c6d2433f96cc5c10 14-Dec-2007 Brian <brian.paul@tungstengraphics.com> update_samplers() didn't respect the sampler->texunit mapping.

This fixes the glsl/texdemo1.c program.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
c3af68dc5022715cc8f126b7df12f3f5248aefe7 11-Dec-2007 Keith Whitwell <keith@tungstengraphics.com> gallium: remove set_sampler_units interface

The effect of this mapping can be acheived by the state tracker and
setting up the pipe texture state pointers to incorporate its affects.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
a736670219c67a45483f58b07ab9d55095efdbbd 08-Nov-2007 Brian <brian.paul@tungstengraphics.com> set sampler state for shadow test
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
cc0b55c242e9f53a8e45c5d4392f964af44f396e 29-Oct-2007 Brian <brian.paul@tungstengraphics.com> simplify code which access the current vertex/fragment shaders
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
8fed2466e4056668a76a87cf935b5fbff8ae15ca 27-Oct-2007 Brian <brian.paul@tungstengraphics.com> Re-implement GLSL texture sampler variables.

GLSL sampler variables indicate which texture unit to use for TEX instructions.
Previously, this was baked into the fragment/vertex program and couldn't be
readily changed once set.
Now, SamplerUnits[] array indicates which texture unit is to be used for
each sampler variable. These values are set with glUniform1i().
This is extra state that must be passed to the fragment/vertex program
executor at runtime.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
369eefc34c8d7acdb881ea5b0516406d71344fc4 15-Oct-2007 Brian <brian.paul@tungstengraphics.com> add 'normalized_coords' field to pipe_sampler_state

This controls whether texcoords are interpreted as-is or scaled up from [0,1].
Fixes glDrawPixels/glBitmap problems on i915 when image is non power-of-two.
Also, cleans up the CSO sampler state for i915 a bit.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
cdf99a9fad0fcb080244faa7d32b33b1cfaf6ff7 02-Oct-2007 Brian <brian.paul@tungstengraphics.com> comments/code for min/max_lod - revisit someday
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
7a06c026ad24b74048f6d125383faf25deb1dfbb 20-Sep-2007 Zack Rusin <zack@tungstengraphics.com> Fix failover state binding and convert the sampler to use the new
state constant state object semantics.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
29789ca026c03dff64b6286e202561faf111fde9 17-Sep-2007 Zack Rusin <zack@tungstengraphics.com> Fix a silly bug on setting samplers.

Bind when the currently bound state is /not/ the one
we just found/created.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
f117327a3f246713abfd4dc4320d4a1a7f1b811a 17-Sep-2007 Zack Rusin <zack@tungstengraphics.com> Make sampler an immutable state object.

Switch the sample to be an immutable state object.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
4185da4681405f3cc4d0cc601d428f2f44d0dda8 25-Aug-2007 keithw <keithw@keithw-laptop.(none)> add names to tracked state atoms to improve debug
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
78b1a29a0da8d1877408421df5012d37084a96de 09-Aug-2007 Keith Whitwell <keith@tungstengraphics.com> Split texfilter enums to match common hardware usage.
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
562fdca12de5bbba491fafc7a26d86b23b5f7c93 09-Aug-2007 Brian <brian@i915.localnet.net> update lod bias, limits
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
d78dab126724e6e9d475289a086fb6f85adc3985 07-Aug-2007 Brian <brian@i915.localnet.net> plug in texture/sampler state update
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c
13682d959ddacde1ce65843aa8c5b43dc9017b32 22-Jun-2007 Brian <brian.paul@tungstengraphics.com> more texture sampler work
/external/mesa3d/src/mesa/state_tracker/st_atom_sampler.c