st/mesa: Remove the PROG_PARAM_BIT_CYL_WRAP flag. [v2]
Nobody ever set the flag, which makes this dead code. v2: Leave the ureg_DECL_fs_input_cyl function in place, even though it's unused, since VMWare uses it for their internal projects. Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
4b13252bba
commit
5bb6f15f79
|
@ -40,14 +40,6 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* Program parameter flags
|
||||
*/
|
||||
/*@{*/
|
||||
#define PROG_PARAM_BIT_CYL_WRAP 0x10 /**< XXX gallium debug */
|
||||
/*@}*/
|
||||
|
||||
|
||||
/**
|
||||
* Actual data for constant values of parameters.
|
||||
*/
|
||||
|
|
|
@ -1052,19 +1052,10 @@ st_translate_mesa_program(
|
|||
*/
|
||||
if (procType == TGSI_PROCESSOR_FRAGMENT) {
|
||||
for (i = 0; i < numInputs; i++) {
|
||||
if (program->InputFlags[0] & PROG_PARAM_BIT_CYL_WRAP) {
|
||||
t->inputs[i] = ureg_DECL_fs_input_cyl(ureg,
|
||||
inputSemanticName[i],
|
||||
inputSemanticIndex[i],
|
||||
interpMode[i],
|
||||
TGSI_CYLINDRICAL_WRAP_X);
|
||||
}
|
||||
else {
|
||||
t->inputs[i] = ureg_DECL_fs_input(ureg,
|
||||
inputSemanticName[i],
|
||||
inputSemanticIndex[i],
|
||||
interpMode[i]);
|
||||
}
|
||||
t->inputs[i] = ureg_DECL_fs_input(ureg,
|
||||
inputSemanticName[i],
|
||||
inputSemanticIndex[i],
|
||||
interpMode[i]);
|
||||
}
|
||||
|
||||
if (program->InputsRead & FRAG_BIT_WPOS) {
|
||||
|
|
Loading…
Reference in New Issue