Lines Matching refs:mDriverUniforms
2041 mRenderEncoder.setVertexData(mDriverUniforms, mtl::kDriverUniformsBindingIndex);
2156 mDriverUniforms.viewport[0] = glViewport.x;
2157 mDriverUniforms.viewport[1] = glViewport.y;
2158 mDriverUniforms.viewport[2] = glViewport.width;
2159 mDriverUniforms.viewport[3] = glViewport.height;
2161 mDriverUniforms.halfRenderArea[0] =
2163 mDriverUniforms.halfRenderArea[1] =
2165 mDriverUniforms.flipXY[0] = 1.0f;
2166 mDriverUniforms.flipXY[1] = mDrawFramebuffer->flipY() ? -1.0f : 1.0f;
2167 mDriverUniforms.negFlipXY[0] = mDriverUniforms.flipXY[0];
2168 mDriverUniforms.negFlipXY[1] = -mDriverUniforms.flipXY[1];
2171 mDriverUniforms.enabledClipDistances = mState.getEnabledClipDistances().bits();
2173 mDriverUniforms.depthRange[0] = depthRangeNear;
2174 mDriverUniforms.depthRange[1] = depthRangeFar;
2175 mDriverUniforms.depthRange[2] = depthRangeDiff;
2176 mDriverUniforms.depthRange[3] = NeedToInvertDepthRange(depthRangeNear, depthRangeFar) ? -1 : 1;
2191 mDriverUniforms.coverageMask = coverageMask;
2197 mRenderEncoder.setFragmentData(mDriverUniforms, mtl::kDriverUniformsBindingIndex);
2198 mRenderEncoder.setVertexData(mDriverUniforms, mtl::kDriverUniformsBindingIndex);
2209 mDriverUniforms.xfbActiveUnpaused = getState().isTransformFeedbackActiveUnpaused();
2210 if (!transformFeedback || !mDriverUniforms.xfbActiveUnpaused)
2215 mDriverUniforms.xfbVerticesPerInstance = verticesPerInstance;
2221 mDriverUniforms.xfbBufferOffsets);