diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/prog_execute.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c index 3b51f986e84..a1c20a325e6 100644 --- a/src/mesa/shader/prog_execute.c +++ b/src/mesa/shader/prog_execute.c @@ -356,20 +356,7 @@ fetch_vector1ui(const struct prog_src_register *source, const struct gl_program_machine *machine) { const GLuint *src = (GLuint *) get_src_register_pointer(source, machine); - GLuint result; - - ASSERT(src); - - result = src[GET_SWZ(source->Swizzle, 0)]; - - if (source->Abs) { - result = FABSF(result); - } - if (source->Negate) { - result = -result; - } - - return result; + return src[GET_SWZ(source->Swizzle, 0)]; } |