Home | History | Annotate | Download | only in gpu

Lines Matching defs:header

191     // --------DO NOT MOVE HEADER ABOVE THIS LINE--------------------------------------------------
192 // Because header is a pointer into the dynamic array, we can't push any new data into the key
194 KeyHeader* header = desc->atOffset<KeyHeader, kHeaderOffset>();
196 // make sure any padding in the header is zeroed.
197 memset(header, 0, kHeaderSize);
198 header->fOutputSwizzle = shaderCaps.configOutputSwizzle(pipeline.proxy()->config()).asKey();
199 header->fSnapVerticesToPixelCenters = pipeline.snapVerticesToPixelCenters();
200 header->fColorFragmentProcessorCnt = pipeline.numColorFragmentProcessors();
201 header->fCoverageFragmentProcessorCnt = pipeline.numCoverageFragmentProcessors();
203 if (header->fColorFragmentProcessorCnt != pipeline.numColorFragmentProcessors() ||
204 header->fCoverageFragmentProcessorCnt != pipeline.numCoverageFragmentProcessors()) {
207 header->fHasPointSize = hasPointSize ? 1 : 0;