Lines Matching defs:is_alpha
138 static void get_src_and_opr_nvrc(DWORD stage, DWORD arg, BOOL is_alpha, GLenum* input, GLenum* mapping, GLenum *component_usage, INT texture_idx) {
146 if (is_alpha || arg & WINED3DTA_ALPHAREPLICATE) *component_usage = GL_ALPHA;
152 void set_tex_op_nvrc(const struct wined3d_gl_info *gl_info, const struct wined3d_state *state, BOOL is_alpha,
156 GLenum portion = is_alpha ? GL_ALPHA : GL_RGB;
160 TRACE("stage %d, is_alpha %d, op %s, arg1 %#x, arg2 %#x, arg3 %#x, texture_idx %d\n",
161 stage, is_alpha, debug_d3dtop(op), arg1, arg2, arg3, texture_idx);
171 get_src_and_opr_nvrc(stage, arg1, is_alpha, &tex_op_args.input[0],
173 get_src_and_opr_nvrc(stage, arg2, is_alpha, &tex_op_args.input[1],
175 get_src_and_opr_nvrc(stage, arg3, is_alpha, &tex_op_args.input[2],
190 if (!is_alpha)
342 if (is_alpha)
360 if (is_alpha)
378 if (is_alpha)
396 if (is_alpha)
480 FIXME("Unhandled texture op: stage %d, is_alpha %d, op %s (%#x), arg1 %#x, arg2 %#x, arg3 %#x, texture_idx %d.\n",
481 stage, is_alpha, debug_d3dtop(op), op, arg1, arg2, arg3, texture_idx);