[Mesa-dev] [PATCH 07/23] mesa: Remove the gl_program::Resident flag.
Kenneth Graunke
kenneth at whitecape.org
Sun Oct 14 17:43:07 PDT 2012
It apparently was only used for NV programs.
---
src/mesa/main/mtypes.h | 1 -
src/mesa/program/program.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 43f0689..fdfc436 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1924,7 +1924,6 @@ struct gl_program
GLint RefCount;
GLenum Target; /**< GL_VERTEX/FRAGMENT_PROGRAM_ARB, GL_FRAGMENT_PROGRAM_NV */
GLenum Format; /**< String encoding format */
- GLboolean Resident;
struct prog_instruction *Instructions;
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
index c97c696..4c533a9 100644
--- a/src/mesa/program/program.c
+++ b/src/mesa/program/program.c
@@ -238,7 +238,6 @@ _mesa_init_program_struct( struct gl_context *ctx, struct gl_program *prog,
memset(prog, 0, sizeof(*prog));
prog->Id = id;
prog->Target = target;
- prog->Resident = GL_TRUE;
prog->RefCount = 1;
prog->Format = GL_PROGRAM_FORMAT_ASCII_ARB;
--
1.7.12.2
More information about the mesa-dev
mailing list