Lines Matching defs:param
223 // We need to detect cases where the caller passes the same variable as an out-param more than
232 const Variable* param = function.parameters()[index];
233 this->writeModifiers(param->modifiers());
238 if (param->modifiers().fFlags & Modifiers::kOut_Flag) {
266 const Variable* param = function.parameters()[index];
267 if (param->modifiers().fFlags & Modifiers::kIn_Flag) {
335 // Determine whether or not we need to emulate GLSL's out-param semantics for Metal using a
361 // synthesize a helper function which evaluates the out-param expression into a temporary
362 // variable, calls the original function, then writes the temp var back into the out param
363 // using the original out-param expression. (This lets us support things like swizzles and
1295 // When assembling out-param helper functions, we copy variables into local clones with matching
1884 for (const auto& param : f.parameters()) {
1885 if (f.isMain() && param->modifiers().fLayout.fBuiltin != -1) {
1890 this->writeModifiers(param->modifiers());
1891 const Type* type = ¶m->type();
1893 if (param->modifiers().fFlags & Modifiers::kOut_Flag) {
1897 this->writeName(param->name());