mesa.git
17 years agoregenerated
Brian [Wed, 7 Mar 2007 20:07:40 +0000 (13:07 -0700)]
regenerated

17 years agouse 2.0, 2.1 version strings
Brian [Wed, 7 Mar 2007 20:07:07 +0000 (13:07 -0700)]
use 2.0, 2.1 version strings

17 years agoremove end_label field
Brian [Wed, 7 Mar 2007 20:00:06 +0000 (13:00 -0700)]
remove end_label field

17 years agoFix problem with nested function calls such as y = f(f(x))
Brian [Wed, 7 Mar 2007 19:59:01 +0000 (12:59 -0700)]
Fix problem with nested function calls such as y = f(f(x))

Replace CurFunction with curFuncEndLabel.

17 years agos/equal/EQUAL/, fix bugs in logical or/and code.
Brian [Wed, 7 Mar 2007 18:26:47 +0000 (11:26 -0700)]
s/equal/EQUAL/, fix bugs in logical or/and code.

17 years agofix broken __postDecr()
Brian [Wed, 7 Mar 2007 18:25:37 +0000 (11:25 -0700)]
fix broken __postDecr()

17 years agofix deferredTexture bug
Brian [Wed, 7 Mar 2007 17:42:44 +0000 (10:42 -0700)]
fix deferredTexture bug

17 years agofix swizzled writemask bug
Brian [Wed, 7 Mar 2007 16:59:26 +0000 (09:59 -0700)]
fix swizzled writemask bug

17 years agoremove bogus assertion
Brian [Wed, 7 Mar 2007 16:58:45 +0000 (09:58 -0700)]
remove bogus assertion

17 years agofix incorrect HPOS write test
Brian [Wed, 7 Mar 2007 15:56:09 +0000 (08:56 -0700)]
fix incorrect HPOS write test

17 years agoadditional error detection
Brian [Wed, 7 Mar 2007 15:55:42 +0000 (08:55 -0700)]
additional error detection

17 years agocheck for null program ptrs in _mesa_uniform()
Brian [Wed, 7 Mar 2007 15:04:06 +0000 (08:04 -0700)]
check for null program ptrs in _mesa_uniform()

17 years agoGenerate an error if the vertex shader does not write to gl_Position.
Brian [Wed, 7 Mar 2007 14:52:24 +0000 (07:52 -0700)]
Generate an error if the vertex shader does not write to gl_Position.

17 years agomore integer arithmetic updates
Brian [Tue, 6 Mar 2007 23:32:03 +0000 (16:32 -0700)]
more integer arithmetic updates

17 years agofix some int arithmetic problems
Brian [Tue, 6 Mar 2007 21:07:48 +0000 (14:07 -0700)]
fix some int arithmetic problems

17 years agomore DEBUG_PROG code
Brian [Tue, 6 Mar 2007 19:15:30 +0000 (12:15 -0700)]
more DEBUG_PROG code

17 years agofix vert/frag typo
Brian [Tue, 6 Mar 2007 18:53:27 +0000 (11:53 -0700)]
fix vert/frag typo

17 years agoinfo about how the compiler works
Brian [Tue, 27 Feb 2007 23:45:40 +0000 (16:45 -0700)]
info about how the compiler works

17 years agos/matrix_stack/gl_matrix_stack/ and s/mesa_list_state/gl_dlist_state/
Brian [Tue, 27 Feb 2007 16:54:50 +0000 (09:54 -0700)]
s/matrix_stack/gl_matrix_stack/ and s/mesa_list_state/gl_dlist_state/

17 years agoremove unused DriverMgrCtx
Brian [Tue, 27 Feb 2007 01:35:34 +0000 (18:35 -0700)]
remove unused DriverMgrCtx

17 years agoAdd EmitHighLevelInstructions, EmitComments booleans to gl_shader_state.
Brian [Tue, 27 Feb 2007 01:33:50 +0000 (18:33 -0700)]
Add EmitHighLevelInstructions, EmitComments booleans to gl_shader_state.

These control code generation options.  May be overridden by drivers, debuggers, etc.

17 years agore-enable var scope destruct in slang_operation_destruct()
Brian [Tue, 27 Feb 2007 01:08:09 +0000 (18:08 -0700)]
re-enable var scope destruct in slang_operation_destruct()

17 years agoFix a few bugs in slang_operation variable scoping. Seems to fix a double-free.
Brian [Tue, 27 Feb 2007 01:07:26 +0000 (18:07 -0700)]
Fix a few bugs in slang_operation variable scoping.  Seems to fix a double-free.

17 years agoformatting fixes
Brian [Tue, 27 Feb 2007 00:32:45 +0000 (17:32 -0700)]
formatting fixes

17 years agofix mem leak in _mesa_ShaderSourceARB()
Brian [Tue, 27 Feb 2007 00:00:06 +0000 (17:00 -0700)]
fix mem leak in _mesa_ShaderSourceARB()

17 years agofix logic for reporting errors
Brian [Mon, 26 Feb 2007 23:32:00 +0000 (16:32 -0700)]
fix logic for reporting errors

17 years agodisable execute bit
Brian [Mon, 26 Feb 2007 22:13:34 +0000 (15:13 -0700)]
disable execute bit

17 years agofix error flagging
Brian [Mon, 26 Feb 2007 22:06:56 +0000 (15:06 -0700)]
fix error flagging

17 years agore-enable some code
Brian [Mon, 26 Feb 2007 22:02:36 +0000 (15:02 -0700)]
re-enable some code

17 years agoMerge branch 'glsl-compiler-1' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa...
Brian [Mon, 26 Feb 2007 21:34:57 +0000 (14:34 -0700)]
Merge branch 'glsl-compiler-1' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into glsl-compiler-1

17 years agoRemove old error logging code. New slang_log.[ch] files.
Brian [Mon, 26 Feb 2007 21:33:52 +0000 (14:33 -0700)]
Remove old error logging code.  New slang_log.[ch] files.

17 years agoOverhaul of error handling.
Brian [Mon, 26 Feb 2007 21:32:53 +0000 (14:32 -0700)]
Overhaul of error handling.

17 years agoOverhaul of error logging.
Brian [Mon, 26 Feb 2007 21:32:29 +0000 (14:32 -0700)]
Overhaul of error logging.

17 years agoUse new slang_emit_info struct for passing context info around.
Brian [Mon, 26 Feb 2007 21:22:05 +0000 (14:22 -0700)]
Use new slang_emit_info struct for passing context info around.

17 years agoMerge branch 'glsl-compiler-1' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa...
Brian [Mon, 26 Feb 2007 20:11:20 +0000 (13:11 -0700)]
Merge branch 'glsl-compiler-1' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into glsl-compiler-1

17 years agoremove unneeded includes
Brian [Mon, 26 Feb 2007 03:05:22 +0000 (20:05 -0700)]
remove unneeded includes

17 years agoupdate comments
Brian [Mon, 26 Feb 2007 02:11:44 +0000 (19:11 -0700)]
update comments

17 years agofix bounds checking in get_register_pointer()
Brian [Mon, 26 Feb 2007 02:01:16 +0000 (19:01 -0700)]
fix bounds checking in get_register_pointer()

17 years agodefine and use MAX_PROGRAM_ADDRESS_REGS
Brian [Mon, 26 Feb 2007 01:56:57 +0000 (18:56 -0700)]
define and use MAX_PROGRAM_ADDRESS_REGS

17 years agoAdd EnvParams field to gl_program_machine, avoid passing ctx to a bunch of functions.
Brian [Mon, 26 Feb 2007 01:52:41 +0000 (18:52 -0700)]
Add EnvParams field to gl_program_machine, avoid passing ctx to a bunch of functions.

17 years agosimplify _mesa_get_program_register()
Brian [Mon, 26 Feb 2007 01:39:46 +0000 (18:39 -0700)]
simplify _mesa_get_program_register()

17 years agos/GetFragmentProgramRegister/GetProgramRegister/
Brian [Mon, 26 Feb 2007 01:35:47 +0000 (18:35 -0700)]
s/GetFragmentProgramRegister/GetProgramRegister/

17 years agominor clean-ups in _mesa_execute_program()
Brian [Mon, 26 Feb 2007 01:30:45 +0000 (18:30 -0700)]
minor clean-ups in _mesa_execute_program()

17 years agoremove 'maxInst' parameter from _mesa_execute_program()
Brian [Mon, 26 Feb 2007 01:26:50 +0000 (18:26 -0700)]
remove 'maxInst' parameter from _mesa_execute_program()

17 years agoremove unused 'element' parameter from _mesa_execute_program()
Brian [Mon, 26 Feb 2007 01:23:37 +0000 (18:23 -0700)]
remove unused 'element' parameter from _mesa_execute_program()

17 years agos/attribs/results/
Brian [Mon, 26 Feb 2007 01:08:16 +0000 (18:08 -0700)]
s/attribs/results/

17 years agoremove unused VaryingPtr
Brian [Mon, 26 Feb 2007 00:33:46 +0000 (17:33 -0700)]
remove unused VaryingPtr

17 years agoOptimize the loop for copying output results.
Brian [Mon, 26 Feb 2007 00:29:00 +0000 (17:29 -0700)]
Optimize the loop for copying output results.

17 years agoadd texture rotation
Brian [Mon, 26 Feb 2007 00:24:40 +0000 (17:24 -0700)]
add texture rotation

17 years agoonly copy used outputs
Brian [Sun, 25 Feb 2007 19:47:25 +0000 (12:47 -0700)]
only copy used outputs

17 years agooutput texcoord in vertex program
Brian [Sun, 25 Feb 2007 19:46:56 +0000 (12:46 -0700)]
output texcoord in vertex program

17 years agoRevert "option to test mipmapping"
Brian [Sun, 25 Feb 2007 01:27:46 +0000 (18:27 -0700)]
Revert "option to test mipmapping"

This reverts commit a127537efb8a39cc341a09aacd3d86d50350e667.
Meant to do this on the trunk.

17 years agooption to test mipmapping
Brian [Sun, 25 Feb 2007 01:20:35 +0000 (18:20 -0700)]
option to test mipmapping

17 years agoadd missing code for newer STATE_INTERNAL items
Brian [Sun, 25 Feb 2007 00:00:50 +0000 (17:00 -0700)]
add missing code for newer STATE_INTERNAL items

17 years agoUndo some changes to _mesa_UpdateTexEnvProgram(). Fixes broken i915 texturing.
Brian [Sat, 24 Feb 2007 22:51:41 +0000 (15:51 -0700)]
Undo some changes to _mesa_UpdateTexEnvProgram().  Fixes broken i915 texturing.

17 years agoOutputs[] array wasn't large enough, define MAX_PROGRAM_OUTPUTS, new assertions.
Brian [Sat, 24 Feb 2007 22:49:54 +0000 (15:49 -0700)]
Outputs[] array wasn't large enough, define MAX_PROGRAM_OUTPUTS, new assertions.

17 years agoRemove unneeded _Fragment/VertexShaderPresent fields, update comments.
Brian [Sat, 24 Feb 2007 22:39:37 +0000 (15:39 -0700)]
Remove unneeded _Fragment/VertexShaderPresent fields, update comments.

17 years agoUse prog_execute.c to run vertex programs until t_vb_arbprogram.c is updated to
Brian [Sat, 24 Feb 2007 18:16:58 +0000 (11:16 -0700)]
Use prog_execute.c to run vertex programs until t_vb_arbprogram.c is updated to
handle branch instructions, etc.

17 years agoremove comment
Brian [Sat, 24 Feb 2007 18:15:27 +0000 (11:15 -0700)]
remove comment

17 years agoFix assertion in get_register_pointer(), fix EXP case.
Brian [Sat, 24 Feb 2007 18:14:57 +0000 (11:14 -0700)]
Fix assertion in get_register_pointer(), fix EXP case.

Note that GL_ARB_v_p and GL_NV_v_p define the z component of the EXP instruction
differently.  We follow the ARB extension.

17 years agoadded ARL, EXP, LOG, relative indexing
Brian [Sat, 24 Feb 2007 00:14:30 +0000 (17:14 -0700)]
added ARL, EXP, LOG, relative indexing

17 years agoadd some missing cases in _mesa_program_state_string()
Brian [Sat, 24 Feb 2007 00:13:30 +0000 (17:13 -0700)]
add some missing cases in _mesa_program_state_string()

17 years agofix fog breakage
Brian [Sat, 24 Feb 2007 00:11:01 +0000 (17:11 -0700)]
fix fog breakage

17 years agoreindent
Brian [Fri, 23 Feb 2007 23:53:24 +0000 (16:53 -0700)]
reindent

17 years agodon't pass program ptr to fetch_vector[14]()
Brian [Fri, 23 Feb 2007 23:48:07 +0000 (16:48 -0700)]
don't pass program ptr to fetch_vector[14]()

17 years agoUpdate DRI drivers for new glsl compiler.
Brian [Fri, 23 Feb 2007 20:40:13 +0000 (13:40 -0700)]
Update DRI drivers for new glsl compiler.

Mostly:
- update #includes
- update STATE_* token code

17 years agoexpose _mesa_load_tracked_matrices()
Brian [Fri, 23 Feb 2007 20:38:37 +0000 (13:38 -0700)]
expose _mesa_load_tracked_matrices()

17 years agoadded linux-dri-debug
Brian [Fri, 23 Feb 2007 18:58:46 +0000 (11:58 -0700)]
added linux-dri-debug

17 years agoSWvertex no longer has texcoord field, use attrib field instead
Brian [Fri, 23 Feb 2007 18:45:15 +0000 (11:45 -0700)]
SWvertex no longer has texcoord field, use attrib field instead

17 years agos/GLint/gl_state_index/, length is now 5 not 6
Brian [Fri, 23 Feb 2007 18:44:44 +0000 (11:44 -0700)]
s/GLint/gl_state_index/, length is now 5 not 6

17 years agos/GLint/gl_state_index/, length is now 5 not 6
Brian [Fri, 23 Feb 2007 18:44:14 +0000 (11:44 -0700)]
s/GLint/gl_state_index/, length is now 5 not 6

17 years agore-expose _mesa_print_alu_instruction()
Brian [Fri, 23 Feb 2007 18:43:44 +0000 (11:43 -0700)]
re-expose _mesa_print_alu_instruction()

17 years agoremove dead code
Brian [Fri, 23 Feb 2007 18:43:14 +0000 (11:43 -0700)]
remove dead code

17 years agoreplace GLint with gl_state_index
Brian [Fri, 23 Feb 2007 18:21:03 +0000 (11:21 -0700)]
replace GLint with gl_state_index

17 years agocomments, clean-up
Brian [Fri, 23 Feb 2007 17:19:55 +0000 (10:19 -0700)]
comments, clean-up

17 years agoremove unused slang_atom_pool_gen()
Brian [Fri, 23 Feb 2007 17:12:38 +0000 (10:12 -0700)]
remove unused slang_atom_pool_gen()

17 years agoadded slang_label.c
Brian [Fri, 23 Feb 2007 17:04:18 +0000 (10:04 -0700)]
added slang_label.c

17 years agocomments, clean-up
Brian [Fri, 23 Feb 2007 16:55:21 +0000 (09:55 -0700)]
comments, clean-up

17 years agoReplace slang_ir_node::Target w/ Field. Remove Comment field. Clean-up.
Brian [Fri, 23 Feb 2007 16:42:11 +0000 (09:42 -0700)]
Replace slang_ir_node::Target w/ Field.  Remove Comment field.  Clean-up.

17 years agoremove old _slang_gen_if()
Brian [Fri, 23 Feb 2007 16:38:46 +0000 (09:38 -0700)]
remove old _slang_gen_if()

17 years agoRe-implement branching with slang_labels.
Brian [Fri, 23 Feb 2007 16:38:17 +0000 (09:38 -0700)]
Re-implement branching with slang_labels.

This eliminates the NOP instructions that had been used as placeholders for
branch targets.
Also, fix "return" statement bug.

17 years agolabel routines for implementing branches, jumps
Brian [Fri, 23 Feb 2007 16:36:29 +0000 (09:36 -0700)]
label routines for implementing branches, jumps

17 years agodebug code for emitting variable allocation comments
Brian [Fri, 23 Feb 2007 00:46:20 +0000 (17:46 -0700)]
debug code for emitting variable allocation comments

17 years agoexpose _mesa_swizzle_string()
Brian [Fri, 23 Feb 2007 00:45:32 +0000 (17:45 -0700)]
expose _mesa_swizzle_string()

17 years agoglslcompiler build instructions
Brian [Thu, 22 Feb 2007 23:29:48 +0000 (16:29 -0700)]
glslcompiler build instructions

17 years agoupdated for vbo
Brian [Thu, 22 Feb 2007 23:29:25 +0000 (16:29 -0700)]
updated for vbo

17 years agoRemove obsolete files.
Brian [Thu, 22 Feb 2007 23:14:02 +0000 (16:14 -0700)]
Remove obsolete files.

17 years agoNew, unified interpretor/executor for vertex and fragment programs.
Brian [Thu, 22 Feb 2007 23:09:40 +0000 (16:09 -0700)]
New, unified interpretor/executor for vertex and fragment programs.

This replaces the code formerly in nvvertexec.c and s_fragprog.c.
Currently, DDX, DDY don't work.

17 years agouse _mesa_get_program_register()
Brian [Thu, 22 Feb 2007 23:08:30 +0000 (16:08 -0700)]
use _mesa_get_program_register()

17 years agoUse the new unified vertex/fragment program interpreter from prog_execute.c.
Brian [Thu, 22 Feb 2007 23:08:01 +0000 (16:08 -0700)]
Use the new unified vertex/fragment program interpreter from prog_execute.c.

Currently, DDX, DDY don't work.

17 years agouse new _mesa_execute_program() function
Brian [Thu, 22 Feb 2007 23:07:17 +0000 (16:07 -0700)]
use new _mesa_execute_program() function

17 years agoFORCE_PROG_EXECUTE_C cpp flag, misc changes
Brian [Thu, 22 Feb 2007 23:06:54 +0000 (16:06 -0700)]
FORCE_PROG_EXECUTE_C cpp flag, misc changes

17 years agofix assertion
Brian [Thu, 22 Feb 2007 23:02:18 +0000 (16:02 -0700)]
fix assertion

17 years agoemit high-level IF/ELSE/ENDIF for vertex progs now
Brian [Thu, 22 Feb 2007 23:02:08 +0000 (16:02 -0700)]
emit high-level IF/ELSE/ENDIF for vertex progs now

17 years ago_mesa_ExecuteProgramNV is now a no-op
Brian [Thu, 22 Feb 2007 23:00:54 +0000 (16:00 -0700)]
_mesa_ExecuteProgramNV is now a no-op

17 years agoremove nvvertexec.c, add prog_execute.c
Brian [Thu, 22 Feb 2007 23:00:31 +0000 (16:00 -0700)]
remove nvvertexec.c, add prog_execute.c

17 years agouse MAX_PROGRAM_ENV_PARAMS
Brian [Thu, 22 Feb 2007 21:57:40 +0000 (14:57 -0700)]
use MAX_PROGRAM_ENV_PARAMS

17 years agoadded MAX_PROGRAM_ENV_PARAMS
Brian [Thu, 22 Feb 2007 21:57:19 +0000 (14:57 -0700)]
added MAX_PROGRAM_ENV_PARAMS

17 years agoadded CallStack, StackDepth
Brian [Thu, 22 Feb 2007 21:56:43 +0000 (14:56 -0700)]
added CallStack, StackDepth

17 years agoremove unneeded #includes, misc clean-up
Brian [Thu, 22 Feb 2007 21:56:22 +0000 (14:56 -0700)]
remove unneeded #includes, misc clean-up