diff options
author | Kenneth Graunke <[email protected]> | 2012-10-14 17:04:01 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-10-16 11:35:25 -0700 |
commit | b2e0293213dcff24e26a4968a19262bfe7a781b9 (patch) | |
tree | 3674d78ff86546ab5110c7591ce41dcce4d31e01 | |
parent | 01d2bd34f47fc79579808f20b21ad46d43fe8fc2 (diff) |
mesa: Remove PROGRAM_WRITE_ONLY register type.
More dead code. I'm not sure what it was for.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_emit.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_vertprog.c | 1 | ||||
-rw-r--r-- | src/mesa/program/prog_execute.c | 3 | ||||
-rw-r--r-- | src/mesa/program/prog_print.c | 2 |
4 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c index 3b02fd0598c..02239b45b50 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_emit.c +++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c @@ -1010,7 +1010,6 @@ static struct brw_reg get_reg( struct brw_vs_compile *c, case PROGRAM_LOCAL_PARAM: case PROGRAM_ENV_PARAM: - case PROGRAM_WRITE_ONLY: default: assert(0); return brw_null_reg(); diff --git a/src/mesa/drivers/dri/r200/r200_vertprog.c b/src/mesa/drivers/dri/r200/r200_vertprog.c index 20664dd0c97..b371e80a4c7 100644 --- a/src/mesa/drivers/dri/r200/r200_vertprog.c +++ b/src/mesa/drivers/dri/r200/r200_vertprog.c @@ -218,7 +218,6 @@ static unsigned long t_src_class(gl_register_file file) return VSF_IN_CLASS_PARAM; /* case PROGRAM_OUTPUT: - case PROGRAM_WRITE_ONLY: case PROGRAM_ADDRESS: */ default: diff --git a/src/mesa/program/prog_execute.c b/src/mesa/program/prog_execute.c index 5b6a5c14927..9ee2f20145b 100644 --- a/src/mesa/program/prog_execute.c +++ b/src/mesa/program/prog_execute.c @@ -183,9 +183,6 @@ get_dst_register_pointer(const struct prog_dst_register *dest, return dummyReg; return machine->Outputs[reg]; - case PROGRAM_WRITE_ONLY: - return dummyReg; - default: _mesa_problem(NULL, "Invalid dest register file %d in get_dst_register_pointer()", diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c index 5fadb82f659..a83cce4e3cd 100644 --- a/src/mesa/program/prog_print.c +++ b/src/mesa/program/prog_print.c @@ -64,8 +64,6 @@ _mesa_register_file_name(gl_register_file f) return "CONST"; case PROGRAM_UNIFORM: return "UNIFORM"; - case PROGRAM_WRITE_ONLY: - return "WRITE_ONLY"; case PROGRAM_ADDRESS: return "ADDR"; case PROGRAM_SAMPLER: |