(gdb) up #7 0xaf27a3e6 in st_translate_mesa_program (ctx=0x86abac0, procType=0, ureg=0x9a827a8, program=0x9a799c8, numInputs=1, inputMapping=0xbfffe8cc, inputSemanticName=0xbfffe9dc "\005X&\257\300\272j\b", inputSemanticIndex=0xbfffe9cc "", interpMode=0xbfffe944, numOutputs=0, outputMapping=0xbfffe984, outputSemanticName=0xbfffe9bc "\b", outputSemanticIndex=0xbfffe9ac "\001", passthrough_edgeflags=0 '\000') at state_tracker/st_mesa_to_tgsi.c:1098 1098 compile_instruction( t, &program->Instructions[i] ); (gdb) call _mesa_print_program(program) # Fragment Program/Shader 0 0: TXP TEMP[0], INPUT[4], texture[0], 2D; 1: MOV OUTPUT[1].xyz, STATE[0]; 2: MOV OUTPUT[1].w, TEMP[0]; 3: END [Thread 0xb0cf1b70 (LWP 3426) exited] (gdb) call _mesa_print_program_parameters(ctx, program) InputsRead: 0x10 (0b10000) OutputsWritten: 0x0 (0b0) NumInstructions=4 NumTemporaries=1 NumParameters=0 NumAttributes=0 NumAddressRegs=0 SamplersUsed: 0x1 (0b1) Samplers=[ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ] dirty state flags: 0x10000000 param[0] sz=4 STATE state..internal.current[3] = {0, 0, 0, 1}