gallium: Introduce separate vertex texture/sampler state.
authorMichal Krol <michal@vmware.com>
Tue, 1 Dec 2009 07:33:43 +0000 (08:33 +0100)
committerMichal Krol <michal@vmware.com>
Tue, 1 Dec 2009 08:51:56 +0000 (09:51 +0100)
commit15d1b406afd733b5f46b16dc933e29c218cdca39
tree98b2bb5a687fcc3b46dbae22f2bfad83fbe67a20
parent2fd1aee217988caacd5c87d76deab3c0caf1bb00
gallium: Introduce separate vertex texture/sampler state.

Previously, gallium shared sampler and texture state between vertex
and fragment shader stages. This change generalises this concept by
providing separate entrypoints for vertex and fragment sampler state
setting.

A new capability bit is added to query the driver for the number
of samplers that can be utilised by a vertex and fragment shader
at the same time.
src/gallium/include/pipe/p_context.h
src/gallium/include/pipe/p_defines.h
src/gallium/include/pipe/p_state.h