Home
last modified time | relevance | path

Searched refs:OPCODE_MAD (Results 1 – 17 of 17) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dffvertex_prog.c666 emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Y), mat[1], tmp); in emit_transpose_matrix_transform_vec4()
667 emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Z), mat[2], tmp); in emit_transpose_matrix_transform_vec4()
668 emit_op3(p, OPCODE_MAD, dest, 0, swizzle1(src,W), mat[3], tmp); in emit_transpose_matrix_transform_vec4()
911 emit_op3(p, OPCODE_MAD, tmp, WRITEMASK_XYZ, lm_ambient, in get_scenecolor()
1243 emit_op3(p, OPCODE_MAD, _col0, 0, swizzle1(lit,X), ambient, _col0); in build_lighting()
1256 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _col0); in build_lighting()
1257 emit_op3(p, OPCODE_MAD, res1, mask1, swizzle1(lit,Z), specular, _col1); in build_lighting()
1304 emit_op3(p, OPCODE_MAD, _bfc0, 0, swizzle1(lit,X), ambient, _bfc0); in build_lighting()
1315 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _bfc0); in build_lighting()
1316 emit_op3(p, OPCODE_MAD, res1, mask1, swizzle1(lit,Z), specular, _bfc1); in build_lighting()
[all …]
/third_party/mesa3d/src/mesa/program/
Dprogramopt.c172 newInst[i].Opcode = OPCODE_MAD; in insert_mvp_mad_code()
187 newInst[3].Opcode = OPCODE_MAD; in insert_mvp_mad_code()
318 inst->Opcode = OPCODE_MAD; in _mesa_append_fog_code()
Dprog_instruction.h147 OPCODE_MAD, /* X X X X X */ enumerator
Dprog_instruction.c128 { OPCODE_MAD, "MAD", 3, 1 },
Dprog_optimize.c69 case OPCODE_MAD: in get_src_arg_mask()
644 case OPCODE_MAD: in _mesa_merge_mov_into_inst()
Dprog_to_nir.c648 [OPCODE_MAD] = 0,
739 case OPCODE_MAD: in ptn_emit_instruction()
Dprog_execute.c794 case OPCODE_MAD: in _mesa_execute_program()
Dir_to_mesa.cpp688 emit(ir, OPCODE_MAD, dst_reg(this->result), a, b, c); in try_emit_mad()
728 emit(ir, OPCODE_MAD, dst_reg(this->result), a, b, a); in try_emit_mad_for_and_not()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DShader.hpp43 OPCODE_MAD, enumerator
DPixelShader.cpp620 case Shader::OPCODE_MAD: in analyzeInterpolants()
DShader.cpp774 case OPCODE_MAD: return "mad"; in operationString()
DVertexProgram.cpp230 case Shader::OPCODE_MAD: mad(d, s0, s1, s2); break; in program()
DPixelProgram.cpp209 case Shader::OPCODE_MAD: mad(d, s0, s1, s2); break; in applyShader()
DPixelPipeline.cpp123 case Shader::OPCODE_MAD: MAD(d, s0, s1, s2); break; in applyShader()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di915_fragprog.c667 case OPCODE_MAD: in upload_program()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DOutputASM.cpp781 Instruction *mad = emit(sw::Shader::OPCODE_MAD, result, i, left, j, right, i, result, i); in visitBinary()
920 Instruction *mad = emit(sw::Shader::OPCODE_MAD, result, 0, left, i, right, 0, result); in visitBinary()
938 Instruction *mad = emit(sw::Shader::OPCODE_MAD, result, i, left, j, right, i, result, i); in visitBinary()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_vertprog.c753 case OPCODE_MAD: in r200_translate_vertex_program()