[Mesa-dev] [PATCH 1/5] glsl: Move get_error_instruction() from ir_call to ir_constant.
Kenneth Graunke
kenneth at whitecape.org
Wed Sep 21 12:15:39 PDT 2011
On 09/21/2011 11:48 AM, Paul Berry wrote:
> On 20 September 2011 18:28, Kenneth Graunke wrote:
> @@ -1446,16 +1455,6 @@ ir_function::has_user_signature()
> return false;
> }
>
> -
> -ir_call *
> -ir_call::get_error_instruction(void *ctx)
> -{
> - ir_call *call = new(ctx) ir_call;
> -
> - call->type = glsl_type::error_type;
> - return call;
> -}
> -
>
>
> I believe this was the only code that used the private constructor
> ir_call::ir_call() (the one that took no parameters), so we should
> probably remove that too.
Good call. Updated to remove that.
More information about the mesa-dev
mailing list