Lines Matching refs:prog
72 struct gl_program prog; in _mesa_parse_arb_fragment_program() local
78 memset(&prog, 0, sizeof(prog)); in _mesa_parse_arb_fragment_program()
80 state.prog = &prog; in _mesa_parse_arb_fragment_program()
93 program->String = prog.String; in _mesa_parse_arb_fragment_program()
94 program->arb.NumInstructions = prog.arb.NumInstructions; in _mesa_parse_arb_fragment_program()
95 program->arb.NumTemporaries = prog.arb.NumTemporaries; in _mesa_parse_arb_fragment_program()
96 program->arb.NumParameters = prog.arb.NumParameters; in _mesa_parse_arb_fragment_program()
97 program->arb.NumAttributes = prog.arb.NumAttributes; in _mesa_parse_arb_fragment_program()
98 program->arb.NumAddressRegs = prog.arb.NumAddressRegs; in _mesa_parse_arb_fragment_program()
99 program->arb.NumNativeInstructions = prog.arb.NumNativeInstructions; in _mesa_parse_arb_fragment_program()
100 program->arb.NumNativeTemporaries = prog.arb.NumNativeTemporaries; in _mesa_parse_arb_fragment_program()
101 program->arb.NumNativeParameters = prog.arb.NumNativeParameters; in _mesa_parse_arb_fragment_program()
102 program->arb.NumNativeAttributes = prog.arb.NumNativeAttributes; in _mesa_parse_arb_fragment_program()
103 program->arb.NumNativeAddressRegs = prog.arb.NumNativeAddressRegs; in _mesa_parse_arb_fragment_program()
104 program->arb.NumAluInstructions = prog.arb.NumAluInstructions; in _mesa_parse_arb_fragment_program()
105 program->arb.NumTexInstructions = prog.arb.NumTexInstructions; in _mesa_parse_arb_fragment_program()
106 program->arb.NumTexIndirections = prog.arb.NumTexIndirections; in _mesa_parse_arb_fragment_program()
107 program->arb.NumNativeAluInstructions = prog.arb.NumAluInstructions; in _mesa_parse_arb_fragment_program()
108 program->arb.NumNativeTexInstructions = prog.arb.NumTexInstructions; in _mesa_parse_arb_fragment_program()
109 program->arb.NumNativeTexIndirections = prog.arb.NumTexIndirections; in _mesa_parse_arb_fragment_program()
110 program->info.inputs_read = prog.info.inputs_read; in _mesa_parse_arb_fragment_program()
111 program->info.outputs_written = prog.info.outputs_written; in _mesa_parse_arb_fragment_program()
112 program->arb.IndirectRegisterFiles = prog.arb.IndirectRegisterFiles; in _mesa_parse_arb_fragment_program()
114 program->TexturesUsed[i] = prog.TexturesUsed[i]; in _mesa_parse_arb_fragment_program()
115 if (prog.TexturesUsed[i]) in _mesa_parse_arb_fragment_program()
118 program->ShadowSamplers = prog.ShadowSamplers; in _mesa_parse_arb_fragment_program()
125 program->arb.Instructions = prog.arb.Instructions; in _mesa_parse_arb_fragment_program()
129 program->Parameters = prog.Parameters; in _mesa_parse_arb_fragment_program()
165 struct gl_program prog; in _mesa_parse_arb_vertex_program() local
170 memset(&prog, 0, sizeof(prog)); in _mesa_parse_arb_vertex_program()
172 state.prog = &prog; in _mesa_parse_arb_vertex_program()
177 ralloc_free(prog.arb.Instructions); in _mesa_parse_arb_vertex_program()
178 ralloc_free(prog.String); in _mesa_parse_arb_vertex_program()
184 _mesa_optimize_program(ctx, &prog, program); in _mesa_parse_arb_vertex_program()
191 program->String = prog.String; in _mesa_parse_arb_vertex_program()
192 program->arb.NumInstructions = prog.arb.NumInstructions; in _mesa_parse_arb_vertex_program()
193 program->arb.NumTemporaries = prog.arb.NumTemporaries; in _mesa_parse_arb_vertex_program()
194 program->arb.NumParameters = prog.arb.NumParameters; in _mesa_parse_arb_vertex_program()
195 program->arb.NumAttributes = prog.arb.NumAttributes; in _mesa_parse_arb_vertex_program()
196 program->arb.NumAddressRegs = prog.arb.NumAddressRegs; in _mesa_parse_arb_vertex_program()
197 program->arb.NumNativeInstructions = prog.arb.NumNativeInstructions; in _mesa_parse_arb_vertex_program()
198 program->arb.NumNativeTemporaries = prog.arb.NumNativeTemporaries; in _mesa_parse_arb_vertex_program()
199 program->arb.NumNativeParameters = prog.arb.NumNativeParameters; in _mesa_parse_arb_vertex_program()
200 program->arb.NumNativeAttributes = prog.arb.NumNativeAttributes; in _mesa_parse_arb_vertex_program()
201 program->arb.NumNativeAddressRegs = prog.arb.NumNativeAddressRegs; in _mesa_parse_arb_vertex_program()
202 program->info.inputs_read = prog.info.inputs_read; in _mesa_parse_arb_vertex_program()
203 program->info.outputs_written = prog.info.outputs_written; in _mesa_parse_arb_vertex_program()
204 program->arb.IndirectRegisterFiles = prog.arb.IndirectRegisterFiles; in _mesa_parse_arb_vertex_program()
209 program->arb.Instructions = prog.arb.Instructions; in _mesa_parse_arb_vertex_program()
213 program->Parameters = prog.Parameters; in _mesa_parse_arb_vertex_program()