Lines Matching defs:States
47 struct States : Memset<States> struct in sw::VertexProcessor
49 States() : Memset(this, 0) {} in States() argument
53 uint64_t shaderID;
55 bool fixedFunction : 1; // TODO: Eliminate by querying shader.
56 bool textureSampling : 1; // TODO: Eliminate by querying shader.
57 …unsigned int positionRegister : BITS(MAX_VERTEX_OUTPUTS); // TODO: Eliminate by querying shader.
58 …unsigned int pointSizeRegister : BITS(MAX_VERTEX_OUTPUTS); // TODO: Eliminate by querying shader.
60 unsigned int vertexBlendMatrixCount : 3;
61 bool indexedVertexBlendEnable : 1;
62 bool vertexNormalActive : 1;
63 bool normalizeNormals : 1;
64 bool vertexLightingActive : 1;
65 bool diffuseActive : 1;
66 bool specularActive : 1;
67 bool vertexSpecularActive : 1;
68 unsigned int vertexLightActive : 8;
69 MaterialSource vertexDiffuseMaterialSourceActive : BITS(MATERIAL_LAST);
70 MaterialSource vertexSpecularMaterialSourceActive : BITS(MATERIAL_LAST);
71 MaterialSource vertexAmbientMaterialSourceActive : BITS(MATERIAL_LAST);
72 MaterialSource vertexEmissiveMaterialSourceActive : BITS(MATERIAL_LAST);
73 bool fogActive : 1;
74 FogMode vertexFogMode : BITS(FOG_LAST);
75 bool rangeFogActive : 1;
76 bool localViewerActive : 1;
77 bool pointSizeActive : 1;
78 bool pointScaleActive : 1;
79 bool transformFeedbackQueryEnabled : 1;
80 uint64_t transformFeedbackEnabled : 64;
81 unsigned char verticesPerPrimitive : 2; // 1 (points), 2 (lines) or 3 (triangles)
83 bool preTransformed : 1;
84 bool superSampling : 1;
86 struct TextureState
93 TextureState textureState[8];
95 Sampler::State sampler[VERTEX_TEXTURE_IMAGE_UNITS];
97 struct Input
110 struct Output
139 Input input[MAX_VERTEX_INPUTS];
140 Output output[MAX_VERTEX_OUTPUTS];