i965: Remove traces of nonexistent TAN math function.
authorMatt Turner <mattst88@gmail.com>
Tue, 23 Apr 2013 04:33:38 +0000 (21:33 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 24 Apr 2013 19:51:36 +0000 (12:51 -0700)
Never existed? At least never supported. Doesn't appear in 965, G45,
or ILK documentation.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_disasm.c

index 38f0356ba3aaa3ea1e3fee785d87d269c0fc0cab..ea5d2afc9b9319bb85891a11e73bab98394360ae 100644 (file)
@@ -1037,7 +1037,6 @@ enum brw_message_target {
 #define BRW_MATH_FUNCTION_SIN                              6 /* was 7 */
 #define BRW_MATH_FUNCTION_COS                              7 /* was 8 */
 #define BRW_MATH_FUNCTION_SINCOS                           8 /* was 6 */
-#define BRW_MATH_FUNCTION_TAN                              9 /* gen4 */
 #define BRW_MATH_FUNCTION_FDIV                             9 /* gen6+ */
 #define BRW_MATH_FUNCTION_POW                              10
 #define BRW_MATH_FUNCTION_INT_DIV_QUOTIENT_AND_REMAINDER   11
index 873676499bf281fa6cba822a8509928ef0866adc..f072ee571e2f1997796c456aa497338601cd19e8 100644 (file)
@@ -336,7 +336,7 @@ static const char * const math_function[16] = {
     [BRW_MATH_FUNCTION_SIN] = "sin",
     [BRW_MATH_FUNCTION_COS] = "cos",
     [BRW_MATH_FUNCTION_SINCOS] = "sincos",
-    [BRW_MATH_FUNCTION_TAN] = "tan",
+    [BRW_MATH_FUNCTION_FDIV] = "fdiv",
     [BRW_MATH_FUNCTION_POW] = "pow",
     [BRW_MATH_FUNCTION_INT_DIV_QUOTIENT_AND_REMAINDER] = "intdivmod",
     [BRW_MATH_FUNCTION_INT_DIV_QUOTIENT] = "intdiv",