xref: /aosp_15_r20/external/mesa3d/src/gallium/drivers/r300/compiler/radeon_program_alu.h (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1 /*
2  * Copyright 2008 Nicolai Haehnle.
3  * SPDX-License-Identifier: MIT
4  */
5 
6 #ifndef __RADEON_PROGRAM_ALU_H_
7 #define __RADEON_PROGRAM_ALU_H_
8 
9 #include "radeon_program.h"
10 
11 int radeonTransformALU(
12 	struct radeon_compiler * c,
13 	struct rc_instruction * inst,
14 	void*);
15 
16 int r300_transform_vertex_alu(
17 	struct radeon_compiler * c,
18 	struct rc_instruction * inst,
19 	void*);
20 
21 int radeonStubDeriv(
22 	struct radeon_compiler * c,
23 	struct rc_instruction * inst,
24 	void*);
25 
26 int radeonTransformDeriv(
27 	struct radeon_compiler * c,
28 	struct rc_instruction * inst,
29 	void*);
30 
31 int rc_force_output_alpha_to_one(struct radeon_compiler *c,
32 				 struct rc_instruction *inst, void *data);
33 
34 #endif /* __RADEON_PROGRAM_ALU_H_ */
35