Lines Matching defs:States
31 struct States : Memset<States> struct in sw::PixelProcessor
33 States() : Memset(this, 0) {} in States() function
37 int shaderID;
39 bool depthOverride : 1; // TODO: Eliminate by querying shader.
40 bool shaderContainsKill : 1; // TODO: Eliminate by querying shader.
42 DepthCompareMode depthCompareMode : BITS(DEPTH_LAST);
43 AlphaCompareMode alphaCompareMode : BITS(ALPHA_LAST);
44 bool depthWriteEnable : 1;
45 bool quadLayoutDepthBuffer : 1;
47 bool stencilActive : 1;
48 StencilCompareMode stencilCompareMode : BITS(STENCIL_LAST);
49 StencilOperation stencilFailOperation : BITS(OPERATION_LAST);
50 StencilOperation stencilPassOperation : BITS(OPERATION_LAST);
51 StencilOperation stencilZFailOperation : BITS(OPERATION_LAST);
52 bool noStencilMask : 1;
53 bool noStencilWriteMask : 1;
54 bool stencilWriteMasked : 1;
55 bool twoSidedStencil : 1;
56 StencilCompareMode stencilCompareModeCCW : BITS(STENCIL_LAST);
57 StencilOperation stencilFailOperationCCW : BITS(OPERATION_LAST);
58 StencilOperation stencilPassOperationCCW : BITS(OPERATION_LAST);
59 StencilOperation stencilZFailOperationCCW : BITS(OPERATION_LAST);
60 bool noStencilMaskCCW : 1;
61 bool noStencilWriteMaskCCW : 1;
62 bool stencilWriteMaskedCCW : 1;
64 bool depthTestActive : 1;
65 bool fogActive : 1;
66 FogMode pixelFogMode : BITS(FOG_LAST);
67 bool specularAdd : 1;
68 bool occlusionEnabled : 1;
69 bool wBasedFog : 1;
70 bool perspective : 1;
71 bool depthClamp : 1;
73 bool alphaBlendActive : 1;
74 BlendFactor sourceBlendFactor : BITS(BLEND_LAST);
75 BlendFactor destBlendFactor : BITS(BLEND_LAST);
76 BlendOperation blendOperation : BITS(BLENDOP_LAST);
77 BlendFactor sourceBlendFactorAlpha : BITS(BLEND_LAST);
78 BlendFactor destBlendFactorAlpha : BITS(BLEND_LAST);
79 BlendOperation blendOperationAlpha : BITS(BLENDOP_LAST);
81 …nsigned int colorWriteMask : RENDERTARGETS * 4; // Four component bit masks
82 Format targetFormat[RENDERTARGETS];
83 bool writeSRGB : 1;
84 unsigned int multiSample : 3;
85 unsigned int multiSampleMask : 4;
86 TransparencyAntialiasing transparencyAntialiasing : BITS(TRANSPARENCY_LAST);
87 bool centroid : 1;
88 bool frontFaceCCW : 1;
90 LogicalOperation logicalOperation : BITS(LOGICALOP_LAST);
92 Sampler::State sampler[TEXTURE_IMAGE_UNITS];
93 TextureStage::State textureStage[8];
95 struct Interpolant
104 {