Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Datifragshader.c199 if (ctx->ATIFragmentShader.Compiling) { in _mesa_GenFragmentShadersATI()
220 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_BindFragmentShaderATI()
223 if (ctx->ATIFragmentShader.Compiling) { in _mesa_BindFragmentShaderATI()
262 ctx->ATIFragmentShader.Current = newProg; in _mesa_BindFragmentShaderATI()
264 assert(ctx->ATIFragmentShader.Current); in _mesa_BindFragmentShaderATI()
274 if (ctx->ATIFragmentShader.Compiling) { in _mesa_DeleteFragmentShaderATI()
286 if (ctx->ATIFragmentShader.Current && in _mesa_DeleteFragmentShaderATI()
287 ctx->ATIFragmentShader.Current->Id == id) { in _mesa_DeleteFragmentShaderATI()
311 if (ctx->ATIFragmentShader.Compiling) { in _mesa_BeginFragmentShaderATI()
322 free(ctx->ATIFragmentShader.Current->Instructions[i]); in _mesa_BeginFragmentShaderATI()
[all …]
Dstate.h52 return ctx->ATIFragmentShader.Enabled && in _mesa_ati_fragment_shader_enabled()
53 ctx->ATIFragmentShader.Current->Instructions[0]; in _mesa_ati_fragment_shader_enabled()
Dstate.c125 ctx->ATIFragmentShader.Current->Program) { in update_program()
128 ctx->ATIFragmentShader.Current->Program); in update_program()
Dtexstate.c916 ctx->ATIFragmentShader.Current->Program) in _mesa_update_texture_state()
918 ctx->ATIFragmentShader.Current->Program, in _mesa_update_texture_state()
Denable.c1016 if (ctx->ATIFragmentShader.Enabled == state) in _mesa_set_enable()
1019 ctx->ATIFragmentShader.Enabled = state; in _mesa_set_enable()
1676 return ctx->ATIFragmentShader.Enabled; in _mesa_IsEnabled()
Dmtypes.h4849 struct gl_ati_fragment_shader_state ATIFragmentShader; member
/external/mesa3d/src/mesa/program/
Dprogram.c105 ctx->ATIFragmentShader.Enabled = GL_FALSE; in _mesa_init_program()
106 ctx->ATIFragmentShader.Current = ctx->Shared->DefaultFragmentShader; in _mesa_init_program()
107 assert(ctx->ATIFragmentShader.Current); in _mesa_init_program()
108 ctx->ATIFragmentShader.Current->RefCount++; in _mesa_init_program()
124 if (ctx->ATIFragmentShader.Current) { in _mesa_free_program_data()
125 ctx->ATIFragmentShader.Current->RefCount--; in _mesa_free_program_data()
126 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { in _mesa_free_program_data()
127 free(ctx->ATIFragmentShader.Current); in _mesa_free_program_data()
152 if (ctx->ATIFragmentShader.Current) { in _mesa_update_default_objects_program()
153 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.c258 CHECK( afs_pass1, (_mesa_ati_fragment_shader_enabled(ctx) && (ctx->ATIFragmentShader.Current->NumPa…
/external/mesa3d/src/mesa/swrast/
Ds_atifragshader.c346 ctx->ATIFragmentShader.GlobalConstants[index - GL_CON_0_ATI]); in execute_shader()
570 const struct ati_fragment_shader *shader = ctx->ATIFragmentShader.Current; in _swrast_exec_fragment_shader()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_constbuf.c79 st->ctx->ATIFragmentShader.GlobalConstants[c], sizeof(GLfloat) * 4); in st_upload_constants()
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h591 { GL_FRAGMENT_SHADER_ATI, CONTEXT_BOOL(ATIFragmentShader.Enabled), extra_ATI_fragment_shader },
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c602 save->ATIFragmentShaderEnabled = ctx->ATIFragmentShader.Enabled; in _mesa_meta_begin()