mesa: remove unused PROGRAM_WRITE_ONLY
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32779>
This commit is contained in:
@@ -59,7 +59,6 @@ typedef enum
|
||||
PROGRAM_STATE_VAR, /**< gl_program->Parameters[] */
|
||||
PROGRAM_CONSTANT, /**< gl_program->Parameters[] */
|
||||
PROGRAM_UNIFORM, /**< gl_program->Parameters[] */
|
||||
PROGRAM_WRITE_ONLY, /**< A dummy, write-only register */
|
||||
PROGRAM_ADDRESS, /**< machine->AddressReg */
|
||||
PROGRAM_UNDEFINED, /**< Invalid/TBD value */
|
||||
PROGRAM_FILE_MAX
|
||||
|
||||
@@ -197,7 +197,7 @@ _mesa_layout_parameters(struct asm_parser_state *state)
|
||||
|
||||
if (inst->SrcReg[i].Base.RelAddr ||
|
||||
inst->SrcReg[i].Base.File <= PROGRAM_OUTPUT ||
|
||||
inst->SrcReg[i].Base.File >= PROGRAM_WRITE_ONLY ||
|
||||
inst->SrcReg[i].Base.File >= PROGRAM_ADDRESS ||
|
||||
p->Type != PROGRAM_CONSTANT)
|
||||
continue;
|
||||
|
||||
@@ -234,7 +234,7 @@ _mesa_layout_parameters(struct asm_parser_state *state)
|
||||
|
||||
if (inst->SrcReg[i].Base.RelAddr ||
|
||||
inst->SrcReg[i].Base.File <= PROGRAM_OUTPUT ||
|
||||
inst->SrcReg[i].Base.File >= PROGRAM_WRITE_ONLY ||
|
||||
inst->SrcReg[i].Base.File >= PROGRAM_ADDRESS ||
|
||||
p->Type != PROGRAM_STATE_VAR)
|
||||
continue;
|
||||
|
||||
@@ -271,7 +271,7 @@ _mesa_layout_parameters(struct asm_parser_state *state)
|
||||
|
||||
if (inst->SrcReg[i].Base.RelAddr ||
|
||||
inst->SrcReg[i].Base.File <= PROGRAM_OUTPUT ||
|
||||
inst->SrcReg[i].Base.File >= PROGRAM_WRITE_ONLY ||
|
||||
inst->SrcReg[i].Base.File >= PROGRAM_ADDRESS ||
|
||||
p->Type != PROGRAM_STATE_VAR)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user