Remove leftover code for i915_texprog.c noticed in crossbar review.
This commit is contained in:
@@ -173,21 +173,6 @@ struct i915_fragment_program
|
||||
const GLfloat *values; /* Pointer to tracked values */
|
||||
} param[I915_MAX_CONSTANT];
|
||||
GLuint nr_params;
|
||||
|
||||
|
||||
/* Helpers for i915_texprog.c:
|
||||
*/
|
||||
GLuint src_texture; /* Reg containing sampled texture color,
|
||||
* else UREG_BAD.
|
||||
*/
|
||||
|
||||
GLuint src_previous; /* Reg containing color from previous
|
||||
* stage. May need to be decl'd.
|
||||
*/
|
||||
|
||||
GLuint last_tex_stage; /* Number of last enabled texture unit */
|
||||
|
||||
struct vertex_buffer *VB;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -391,7 +391,6 @@ void
|
||||
i915_init_program(struct i915_context *i915, struct i915_fragment_program *p)
|
||||
{
|
||||
GLcontext *ctx = &i915->intel.ctx;
|
||||
TNLcontext *tnl = TNL_CONTEXT(ctx);
|
||||
|
||||
p->translated = 0;
|
||||
p->params_uptodate = 0;
|
||||
@@ -417,11 +416,6 @@ i915_init_program(struct i915_context *i915, struct i915_fragment_program *p)
|
||||
p->depth_written = 0;
|
||||
p->nr_params = 0;
|
||||
|
||||
p->src_texture = UREG_BAD;
|
||||
p->src_previous = UREG(REG_TYPE_T, T_DIFFUSE);
|
||||
p->last_tex_stage = 0;
|
||||
p->VB = &tnl->vb;
|
||||
|
||||
*(p->decl++) = _3DSTATE_PIXEL_SHADER_PROGRAM;
|
||||
}
|
||||
|
||||
|
||||
@@ -159,10 +159,6 @@ intelGetString(GLcontext * ctx, GLenum name)
|
||||
|
||||
/**
|
||||
* Extension strings exported by the intel driver.
|
||||
*
|
||||
* \note
|
||||
* It appears that ARB_texture_env_crossbar has "disappeared" compared to the
|
||||
* old i830-specific driver.
|
||||
*/
|
||||
const struct dri_extension card_extensions[] = {
|
||||
{"GL_ARB_multisample", GL_ARB_multisample_functions},
|
||||
|
||||
Reference in New Issue
Block a user