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()
94 program->String = prog.String; in _mesa_parse_arb_fragment_program()
95 program->arb.NumInstructions = prog.arb.NumInstructions; in _mesa_parse_arb_fragment_program()
96 program->arb.NumTemporaries = prog.arb.NumTemporaries; in _mesa_parse_arb_fragment_program()
97 program->arb.NumParameters = prog.arb.NumParameters; in _mesa_parse_arb_fragment_program()
98 program->arb.NumAttributes = prog.arb.NumAttributes; in _mesa_parse_arb_fragment_program()
99 program->arb.NumAddressRegs = prog.arb.NumAddressRegs; in _mesa_parse_arb_fragment_program()
100 program->arb.NumNativeInstructions = prog.arb.NumNativeInstructions; in _mesa_parse_arb_fragment_program()
101 program->arb.NumNativeTemporaries = prog.arb.NumNativeTemporaries; in _mesa_parse_arb_fragment_program()
102 program->arb.NumNativeParameters = prog.arb.NumNativeParameters; in _mesa_parse_arb_fragment_program()
103 program->arb.NumNativeAttributes = prog.arb.NumNativeAttributes; in _mesa_parse_arb_fragment_program()
104 program->arb.NumNativeAddressRegs = prog.arb.NumNativeAddressRegs; in _mesa_parse_arb_fragment_program()
105 program->arb.NumAluInstructions = prog.arb.NumAluInstructions; in _mesa_parse_arb_fragment_program()
106 program->arb.NumTexInstructions = prog.arb.NumTexInstructions; in _mesa_parse_arb_fragment_program()
107 program->arb.NumTexIndirections = prog.arb.NumTexIndirections; in _mesa_parse_arb_fragment_program()
108 program->arb.NumNativeAluInstructions = prog.arb.NumAluInstructions; in _mesa_parse_arb_fragment_program()
109 program->arb.NumNativeTexInstructions = prog.arb.NumTexInstructions; in _mesa_parse_arb_fragment_program()
110 program->arb.NumNativeTexIndirections = prog.arb.NumTexIndirections; in _mesa_parse_arb_fragment_program()
111 program->info.inputs_read = prog.info.inputs_read; in _mesa_parse_arb_fragment_program()
112 program->info.outputs_written = prog.info.outputs_written; in _mesa_parse_arb_fragment_program()
113 program->arb.IndirectRegisterFiles = prog.arb.IndirectRegisterFiles; in _mesa_parse_arb_fragment_program()
115 program->TexturesUsed[i] = prog.TexturesUsed[i]; in _mesa_parse_arb_fragment_program()
116 if (prog.TexturesUsed[i]) in _mesa_parse_arb_fragment_program()
119 program->ShadowSamplers = prog.ShadowSamplers; in _mesa_parse_arb_fragment_program()
126 program->arb.Instructions = prog.arb.Instructions; in _mesa_parse_arb_fragment_program()
130 program->Parameters = prog.Parameters; in _mesa_parse_arb_fragment_program()
166 struct gl_program prog; in _mesa_parse_arb_vertex_program() local
171 memset(&prog, 0, sizeof(prog)); in _mesa_parse_arb_vertex_program()
173 state.prog = &prog; in _mesa_parse_arb_vertex_program()
178 ralloc_free(prog.arb.Instructions); in _mesa_parse_arb_vertex_program()
179 ralloc_free(prog.String); in _mesa_parse_arb_vertex_program()
184 _mesa_optimize_program(&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()