Home
last modified time | relevance | path

Searched refs:ATIFragmentShader (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/mesa/main/
Datifragshader.c222 if (ctx->ATIFragmentShader.Compiling) { in _mesa_GenFragmentShadersATI()
239 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_BindFragmentShaderATI()
242 if (ctx->ATIFragmentShader.Compiling) { in _mesa_BindFragmentShaderATI()
281 ctx->ATIFragmentShader.Current = newProg; in _mesa_BindFragmentShaderATI()
283 ASSERT(ctx->ATIFragmentShader.Current); in _mesa_BindFragmentShaderATI()
296 if (ctx->ATIFragmentShader.Compiling) { in _mesa_DeleteFragmentShaderATI()
308 if (ctx->ATIFragmentShader.Current && in _mesa_DeleteFragmentShaderATI()
309 ctx->ATIFragmentShader.Current->Id == id) { in _mesa_DeleteFragmentShaderATI()
334 if (ctx->ATIFragmentShader.Compiling) { in _mesa_BeginFragmentShaderATI()
345 if (ctx->ATIFragmentShader.Current->Instructions[i]) in _mesa_BeginFragmentShaderATI()
[all …]
Dstate.c84 ctx->ATIFragmentShader._Enabled = ctx->ATIFragmentShader.Enabled in update_program_enables()
85 && ctx->ATIFragmentShader.Current->Instructions[0]; in update_program_enables()
Denable.c987 if (ctx->ATIFragmentShader.Enabled == state) in _mesa_set_enable()
990 ctx->ATIFragmentShader.Enabled = state; in _mesa_set_enable()
1683 return ctx->ATIFragmentShader.Enabled; in _mesa_IsEnabled()
Dmtypes.h3498 struct gl_ati_fragment_shader_state ATIFragmentShader; member
/external/mesa3d/src/mesa/program/
Dprogram.c123 ctx->ATIFragmentShader.Enabled = GL_FALSE; in _mesa_init_program()
124 ctx->ATIFragmentShader.Current = ctx->Shared->DefaultFragmentShader; in _mesa_init_program()
125 assert(ctx->ATIFragmentShader.Current); in _mesa_init_program()
126 ctx->ATIFragmentShader.Current->RefCount++; in _mesa_init_program()
151 if (ctx->ATIFragmentShader.Current) { in _mesa_free_program_data()
152 ctx->ATIFragmentShader.Current->RefCount--; in _mesa_free_program_data()
153 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { in _mesa_free_program_data()
154 free(ctx->ATIFragmentShader.Current); in _mesa_free_program_data()
189 if (ctx->ATIFragmentShader.Current) { in _mesa_update_default_objects_program()
190 ctx->ATIFragmentShader.Current->RefCount--; in _mesa_update_default_objects_program()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_fragshader.c128 const struct ati_fragment_shader *shader = ctx->ATIFragmentShader.Current; in r200UpdateFSArith()
322 rmesa->afs_loaded = ctx->ATIFragmentShader.Current; in r200UpdateFSArith()
327 const struct ati_fragment_shader *shader = ctx->ATIFragmentShader.Current; in r200UpdateFSRouting()
505 const struct ati_fragment_shader *shader = ctx->ATIFragmentShader.Current; in r200UpdateFSConstants()
520 CLAMPED_FLOAT_TO_UBYTE(con_byte[0], ctx->ATIFragmentShader.GlobalConstants[i][0]); in r200UpdateFSConstants()
521 CLAMPED_FLOAT_TO_UBYTE(con_byte[1], ctx->ATIFragmentShader.GlobalConstants[i][1]); in r200UpdateFSConstants()
522 CLAMPED_FLOAT_TO_UBYTE(con_byte[2], ctx->ATIFragmentShader.GlobalConstants[i][2]); in r200UpdateFSConstants()
523 CLAMPED_FLOAT_TO_UBYTE(con_byte[3], ctx->ATIFragmentShader.GlobalConstants[i][3]); in r200UpdateFSConstants()
546 if (rmesa->afs_loaded != ctx->ATIFragmentShader.Current) in r200UpdateFragmentShader()
Dr200_state_init.c255 CHECK( tf, (ctx->Texture._EnabledUnits && !ctx->ATIFragmentShader._Enabled), 0 );
256 CHECK( pix_zero, !ctx->ATIFragmentShader._Enabled, 0 )
257 …CHECK( texenv, (rmesa->state.envneeded & (1 << (atom->idx)) && !ctx->ATIFragmentShader._Enabled), …
258 CHECK( afs_pass1, (ctx->ATIFragmentShader._Enabled && (ctx->ATIFragmentShader.Current->NumPasses > …
259 CHECK( afs, ctx->ATIFragmentShader._Enabled, 0 )
Dr200_texstate.c1578 if (ctx->ATIFragmentShader._Enabled) { in r200UpdateTextureState()
1597 if (ok && ctx->ATIFragmentShader._Enabled) { in r200UpdateTextureState()
1623 else if (!ctx->ATIFragmentShader._Enabled) { in r200UpdateTextureState()
/external/mesa3d/src/mesa/swrast/
Ds_span.c144 ctx->ATIFragmentShader._Enabled) { in _swrast_span_default_attribs()
525 || ctx->ATIFragmentShader._Enabled) { in interpolate_texcoords()
566 ctx->ATIFragmentShader._Enabled) { in interpolate_texcoords()
978 ctx->ATIFragmentShader._Enabled) { in shade_texture_span()
1010 ASSERT(ctx->ATIFragmentShader._Enabled); in shade_texture_span()
1140 || ctx->ATIFragmentShader._Enabled); in _swrast_write_rgba_span()
Ds_context.c113 if (ctx->ATIFragmentShader._Enabled) { in _swrast_update_rasterflags()
294 && !ctx->ATIFragmentShader._Enabled); in _swrast_update_specular_vertex_add()
509 else if (ctx->ATIFragmentShader._Enabled) { in _swrast_update_active_attribs()
Ds_atifragshader.c360 ctx->ATIFragmentShader.GlobalConstants[index - GL_CON_0_ATI]); in execute_shader()
584 const struct ati_fragment_shader *shader = ctx->ATIFragmentShader.Current; in _swrast_exec_fragment_shader()
Ds_triangle.c1044 ctx->ATIFragmentShader._Enabled || in _swrast_choose_triangle()
1073 && !ctx->ATIFragmentShader._Enabled in _swrast_choose_triangle()
/external/mesa3d/src/mesa/swrast_setup/
Dss_context.c116 && !ctx->ATIFragmentShader._Enabled in setup_vertex_format()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c631 save->ATIFragmentShaderEnabled = ctx->ATIFragmentShader.Enabled; in _mesa_meta_begin()