Results for spec@arb_vertex_program@big-param

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.302734
Stdout

        
Stderr
Mesa: User error: GL_INVALID_OPERATION in glProgramStringARB(invalid parameter array size (size=1021 max=296))

Mesa: User error: GL_INVALID_OPERATION in glProgramString(bad program)
Compiler Error (pos=228 line=-1): line 7, char 18: error: invalid parameter array size (size=1021 max=296)

og_param[1021] = { p
in program:
!!ARBvp1.0
OPTION ARB_position_invariant;
TEMP tmp1, tmp2, tmp3;

# This line causes an assertion failure in the i965 driver in Mesa 7.6.
# Replacing it with the line below it eliminates the assertion failure.
PARAM prog_param[1021] = { program.local[0..1020] };
#PARAM prog_param[1] = { program.local[0] };

MOV tmp1, prog_param[0];
ABS tmp1, tmp1;
MOV tmp3, {0, 0, 0, 256.0};

FLR tmp3.x, tmp1.x;
FRC tmp2.x, tmp1.x;
MUL tmp2.x, tmp2.x, 256.0;
FLR tmp3.y, tmp2.x;
FRC tmp2.x, tmp2.x;
MUL tmp2.x, tmp2.x, 256.0;
FLR tmp3.z, tmp2.x;

MUL result.color, tmp3, 0.00390625;
END

Environment
PIGLIT_SOURCE_DIR="/home/andreas/nfs/piglit" PIGLIT_PLATFORM="gbm"
Command
/home/andreas/nfs/piglit/bin/shader_runner /home/andreas/nfs/piglit/tests/spec/arb_vertex_program/big-param.shader_test -auto -fbo
dmesg

        

Back to summary