summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_atom_sampler.c
AgeCommit message (Collapse)Author
2007-10-29simplify code which access the current vertex/fragment shadersBrian
2007-10-26Re-implement GLSL texture sampler variables.Brian
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.
2007-10-15add 'normalized_coords' field to pipe_sampler_stateBrian
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.
2007-10-01comments/code for min/max_lod - revisit somedayBrian
2007-09-20Fix failover state binding and convert the sampler to use the newZack Rusin
state constant state object semantics.
2007-09-18Fix a silly bug on setting samplers.Zack Rusin
Bind when the currently bound state is /not/ the one we just found/created.
2007-09-18Make sampler an immutable state object.Zack Rusin
Switch the sample to be an immutable state object.
2007-08-25add names to tracked state atoms to improve debugkeithw
2007-08-09Split texfilter enums to match common hardware usage.Keith Whitwell
2007-08-08update lod bias, limitsBrian
2007-08-07plug in texture/sampler state updateBrian
2007-06-22more texture sampler workBrian