Lines Matching refs:prog
71 struct gl_program prog; in _mesa_parse_arb_fragment_program() local
77 memset(&prog, 0, sizeof(prog)); in _mesa_parse_arb_fragment_program()
79 state.prog = &prog; in _mesa_parse_arb_fragment_program()
93 program->Base.String = prog.String; in _mesa_parse_arb_fragment_program()
94 program->Base.NumInstructions = prog.NumInstructions; in _mesa_parse_arb_fragment_program()
95 program->Base.NumTemporaries = prog.NumTemporaries; in _mesa_parse_arb_fragment_program()
96 program->Base.NumParameters = prog.NumParameters; in _mesa_parse_arb_fragment_program()
97 program->Base.NumAttributes = prog.NumAttributes; in _mesa_parse_arb_fragment_program()
98 program->Base.NumAddressRegs = prog.NumAddressRegs; in _mesa_parse_arb_fragment_program()
99 program->Base.NumNativeInstructions = prog.NumNativeInstructions; in _mesa_parse_arb_fragment_program()
100 program->Base.NumNativeTemporaries = prog.NumNativeTemporaries; in _mesa_parse_arb_fragment_program()
101 program->Base.NumNativeParameters = prog.NumNativeParameters; in _mesa_parse_arb_fragment_program()
102 program->Base.NumNativeAttributes = prog.NumNativeAttributes; in _mesa_parse_arb_fragment_program()
103 program->Base.NumNativeAddressRegs = prog.NumNativeAddressRegs; in _mesa_parse_arb_fragment_program()
104 program->Base.NumAluInstructions = prog.NumAluInstructions; in _mesa_parse_arb_fragment_program()
105 program->Base.NumTexInstructions = prog.NumTexInstructions; in _mesa_parse_arb_fragment_program()
106 program->Base.NumTexIndirections = prog.NumTexIndirections; in _mesa_parse_arb_fragment_program()
107 program->Base.NumNativeAluInstructions = prog.NumAluInstructions; in _mesa_parse_arb_fragment_program()
108 program->Base.NumNativeTexInstructions = prog.NumTexInstructions; in _mesa_parse_arb_fragment_program()
109 program->Base.NumNativeTexIndirections = prog.NumTexIndirections; in _mesa_parse_arb_fragment_program()
110 program->Base.InputsRead = prog.InputsRead; in _mesa_parse_arb_fragment_program()
111 program->Base.OutputsWritten = prog.OutputsWritten; in _mesa_parse_arb_fragment_program()
112 program->Base.IndirectRegisterFiles = prog.IndirectRegisterFiles; in _mesa_parse_arb_fragment_program()
114 program->Base.TexturesUsed[i] = prog.TexturesUsed[i]; in _mesa_parse_arb_fragment_program()
115 if (prog.TexturesUsed[i]) in _mesa_parse_arb_fragment_program()
118 program->Base.ShadowSamplers = prog.ShadowSamplers; in _mesa_parse_arb_fragment_program()
127 program->Base.Instructions = prog.Instructions; in _mesa_parse_arb_fragment_program()
131 program->Base.Parameters = prog.Parameters; in _mesa_parse_arb_fragment_program()
167 struct gl_program prog; in _mesa_parse_arb_vertex_program() local
172 memset(&prog, 0, sizeof(prog)); in _mesa_parse_arb_vertex_program()
174 state.prog = &prog; in _mesa_parse_arb_vertex_program()
188 program->Base.String = prog.String; in _mesa_parse_arb_vertex_program()
189 program->Base.NumInstructions = prog.NumInstructions; in _mesa_parse_arb_vertex_program()
190 program->Base.NumTemporaries = prog.NumTemporaries; in _mesa_parse_arb_vertex_program()
191 program->Base.NumParameters = prog.NumParameters; in _mesa_parse_arb_vertex_program()
192 program->Base.NumAttributes = prog.NumAttributes; in _mesa_parse_arb_vertex_program()
193 program->Base.NumAddressRegs = prog.NumAddressRegs; in _mesa_parse_arb_vertex_program()
194 program->Base.NumNativeInstructions = prog.NumNativeInstructions; in _mesa_parse_arb_vertex_program()
195 program->Base.NumNativeTemporaries = prog.NumNativeTemporaries; in _mesa_parse_arb_vertex_program()
196 program->Base.NumNativeParameters = prog.NumNativeParameters; in _mesa_parse_arb_vertex_program()
197 program->Base.NumNativeAttributes = prog.NumNativeAttributes; in _mesa_parse_arb_vertex_program()
198 program->Base.NumNativeAddressRegs = prog.NumNativeAddressRegs; in _mesa_parse_arb_vertex_program()
199 program->Base.InputsRead = prog.InputsRead; in _mesa_parse_arb_vertex_program()
200 program->Base.OutputsWritten = prog.OutputsWritten; in _mesa_parse_arb_vertex_program()
201 program->Base.IndirectRegisterFiles = prog.IndirectRegisterFiles; in _mesa_parse_arb_vertex_program()
207 program->Base.Instructions = prog.Instructions; in _mesa_parse_arb_vertex_program()
211 program->Base.Parameters = prog.Parameters; in _mesa_parse_arb_vertex_program()