Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-01 | mesa: Update vertex texture code after gallium changes. | Michal Krol | |
2009-09-27 | mesa: use texture format functions | Brian Paul | |
2009-04-06 | st: as with swrast, interpret texture border color according to texture format | Brian Paul | |
Depending on the hardware driver this might not be needed, but it will cause no harm. | |||
2009-04-06 | st: rename a helper function | Brian Paul | |
2008-12-04 | gallium: check vertex shaders for samplers/texture usage as we do for ↵ | Brian | |
fragment shaders | |||
2008-08-14 | gallium: use a default texture in update_textures(), update_samplers() when ↵ | Brian Paul | |
needed The default texture is used when the current fragment shader has texture sample instructions but the user has not provided/bound a texture. | |||
2008-07-02 | gallium: replace an assertion with "if (!texobj) continue" | Brian Paul | |
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. | |||
2008-06-24 | mesa: Replace abort by asserts. | José Fonseca | |
2008-06-17 | gallium: check if sampler->max_lod < sampler->min_lod | Brian Paul | |
2008-05-06 | gallium: sync up texture/sampler changes with master | Brian Paul | |
2008-05-06 | Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | |
Conflicts: src/mesa/state_tracker/st_atom_sampler.c src/mesa/state_tracker/st_cb_texture.c | |||
2008-05-03 | gallium: fix some BaseLevel, lastLevel bugs | Brian Paul | |
2008-05-03 | gallium: fix warnings | Brian Paul | |
2008-05-03 | gallium: fix sampler->max_lod computation | Brian Paul | |
2008-05-03 | gallium: fix computation of sampler->min_lod | Brian Paul | |
The texture BaseLevel is accounted for in texture layout so it doesn't factor in here. May also need to adjust max_lod... | |||
2008-05-02 | Some changed for non-C99 compilers | Alan Hourihane | |
2008-05-01 | gallium: Set sampler->min_lod instead of always reallocating pipe_textures. | Michel Dänzer | |
2008-04-29 | gallium: set border color | Roland Scheidegger | |
2008-03-28 | gallium: remove redundant compare bit in sampler state | Roland Scheidegger | |
2008-03-12 | gallium: pass NULL to cso_single_sampler() when the sampler isn't used. | Brian | |
This fixes an AA line crash/regression. The aaline stage needs to find a free/unused sampler to do its thing. | |||
2008-03-12 | gallium: Add TEX_FILTER_ANISO img filter | Keith Whitwell | |
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. | |||
2008-03-11 | gallium: rework CSO-related code in state tracker | Brian | |
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... | |||
2008-03-05 | gallium: michel's patch to rework texture/sampler binding interface | Keith Whitwell | |
Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand. | |||
2008-02-12 | gallium: clamp min_lod so it's never negative | Brian | |
2007-12-14 | update_samplers() didn't respect the sampler->texunit mapping. | Brian | |
This fixes the glsl/texdemo1.c program. | |||
2007-12-11 | gallium: remove set_sampler_units interface | Keith Whitwell | |
The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects. | |||
2007-11-08 | set sampler state for shadow test | Brian | |
2007-10-29 | simplify code which access the current vertex/fragment shaders | Brian | |
2007-10-26 | Re-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-15 | add 'normalized_coords' field to pipe_sampler_state | Brian | |
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-01 | comments/code for min/max_lod - revisit someday | Brian | |
2007-09-20 | Fix failover state binding and convert the sampler to use the new | Zack Rusin | |
state constant state object semantics. | |||
2007-09-18 | Fix a silly bug on setting samplers. | Zack Rusin | |
Bind when the currently bound state is /not/ the one we just found/created. | |||
2007-09-18 | Make sampler an immutable state object. | Zack Rusin | |
Switch the sample to be an immutable state object. | |||
2007-08-25 | add names to tracked state atoms to improve debug | keithw | |
2007-08-09 | Split texfilter enums to match common hardware usage. | Keith Whitwell | |
2007-08-08 | update lod bias, limits | Brian | |
2007-08-07 | plug in texture/sampler state update | Brian | |
2007-06-22 | more texture sampler work | Brian | |