Searched refs:ATIFragmentShader (Results 1 – 14 of 14) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | atifragshader.c | 222 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 …]
|
D | state.c | 84 ctx->ATIFragmentShader._Enabled = ctx->ATIFragmentShader.Enabled in update_program_enables() 85 && ctx->ATIFragmentShader.Current->Instructions[0]; in update_program_enables()
|
D | enable.c | 987 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()
|
D | mtypes.h | 3498 struct gl_ati_fragment_shader_state ATIFragmentShader; member
|
/external/mesa3d/src/mesa/program/ |
D | program.c | 123 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/ |
D | r200_fragshader.c | 128 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()
|
D | r200_state_init.c | 255 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 )
|
D | r200_texstate.c | 1578 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/ |
D | s_span.c | 144 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()
|
D | s_context.c | 113 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()
|
D | s_atifragshader.c | 360 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()
|
D | s_triangle.c | 1044 ctx->ATIFragmentShader._Enabled || in _swrast_choose_triangle() 1073 && !ctx->ATIFragmentShader._Enabled in _swrast_choose_triangle()
|
/external/mesa3d/src/mesa/swrast_setup/ |
D | ss_context.c | 116 && !ctx->ATIFragmentShader._Enabled in setup_vertex_format()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta.c | 631 save->ATIFragmentShaderEnabled = ctx->ATIFragmentShader.Enabled; in _mesa_meta_begin()
|