Home | History | Annotate | Download | only in program

Lines Matching refs:state

37 _mesa_parse_instruction_suffix(const struct asm_parser_state *state,
50 if (state->option.NV_fragment) {
72 if (state->option.NV_fragment) {
83 if (state->mode == ARB_fragment) {
152 _mesa_ARBvp_parse_option(struct asm_parser_state *state, const char *option)
155 state->option.PositionInvariant = 1;
164 _mesa_ARBfp_parse_option(struct asm_parser_state *state, const char *option)
180 if (state->option.Fog == OPTION_NONE) {
182 state->option.Fog = OPTION_FOG_EXP;
185 state->option.Fog = OPTION_FOG_EXP2;
188 state->option.Fog = OPTION_FOG_LINEAR;
197 if (state->option.PrecisionHint == OPTION_NONE) {
199 state->option.PrecisionHint = OPTION_NICEST;
202 state->option.PrecisionHint = OPTION_FASTEST;
212 state->option.DrawBuffers = 1;
215 if (state->ctx->Extensions.ARB_fragment_program_shadow) {
216 state->option.Shadow = 1;
221 if (state->ctx->Extensions.ARB_fragment_coord_conventions) {
223 state->option.OriginUpperLeft = 1;
227 state->option.PixelCenterInteger = 1;
239 state->option.DrawBuffers = 1;
248 if (state->ctx->Extensions.NV_fragment_program_option) {
249 state->option.NV_fragment = 1;
257 if (state->ctx->Extensions.MESA_texture_array) {
258 state->option.TexArray = 1;