Fix a few typos
[mesa.git] / src / glsl / opt_function_inlining.cpp
index 64b4907bab95a3fa81170b93f5bca4c03dd9c94c..84a9e4fa0933d910bea5da697e272ea9e1af5b53 100644 (file)
@@ -130,7 +130,7 @@ ir_call::generate_inline(ir_instruction *next_ir)
         parameters[i] = sig_param->clone(ctx, ht);
         parameters[i]->data.mode = ir_var_auto;
 
-        /* Remove the read-only decoration becuase we're going to write
+        /* Remove the read-only decoration because we're going to write
          * directly to this variable.  If the cloned variable is left
          * read-only and the inlined function is inside a loop, the loop
          * analysis code will get confused.