profile/ivi/mesa.git
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

17 years agoreorg/clean-up/indent
Brian [Thu, 22 Feb 2007 21:55:35 +0000 (14:55 -0700)]
reorg/clean-up/indent

17 years agostart implementing conditions, branching
Brian [Thu, 22 Feb 2007 21:43:41 +0000 (14:43 -0700)]
start implementing conditions, branching

17 years agoget rid of some unused slang_variable fields
Brian [Thu, 22 Feb 2007 18:00:10 +0000 (11:00 -0700)]
get rid of some unused slang_variable fields

17 years agoReplace slang_allocate_storage() with simpler _slang_attach_storage()
Brian [Thu, 22 Feb 2007 17:56:41 +0000 (10:56 -0700)]
Replace slang_allocate_storage() with simpler _slang_attach_storage()

17 years agoupdated debug code
Brian [Thu, 22 Feb 2007 16:39:25 +0000 (09:39 -0700)]
updated debug code

17 years agoUndo some STATE_POINT/FOG changes. Max length of state token array is now 5.
Brian [Thu, 22 Feb 2007 16:29:46 +0000 (09:29 -0700)]
Undo some STATE_POINT/FOG changes.  Max length of state token array is now 5.

17 years agoXXX comments about shaders
Brian [Thu, 22 Feb 2007 16:10:38 +0000 (09:10 -0700)]
XXX comments about shaders

17 years agouse ctx->VertexProgram._Current instead of ctx->VertexProgram._Enabled
Brian [Thu, 22 Feb 2007 16:10:24 +0000 (09:10 -0700)]
use ctx->VertexProgram._Current instead of ctx->VertexProgram._Enabled

17 years agomerge fix: add STATE_FOG_PARAMS_OPTIMIZED, STATE_SPOT_DIR_NORMALIZED
Brian [Thu, 22 Feb 2007 16:08:53 +0000 (09:08 -0700)]
merge fix: add STATE_FOG_PARAMS_OPTIMIZED, STATE_SPOT_DIR_NORMALIZED

17 years agofix negative indentation problem
Brian [Thu, 22 Feb 2007 16:08:36 +0000 (09:08 -0700)]
fix negative indentation problem

17 years agoMerge branch 'origin' into glsl-compiler-1
Brian [Thu, 22 Feb 2007 15:53:33 +0000 (08:53 -0700)]
Merge branch 'origin' into glsl-compiler-1

Conflicts:

src/mesa/main/state.c
src/mesa/shader/program.c
src/mesa/shader/program.h
src/mesa/shader/programopt.c
src/mesa/shader/slang/slang_execute.c
src/mesa/sources
src/mesa/swrast/s_arbshader.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_zoom.c
src/mesa/tnl/t_context.c
src/mesa/tnl/t_save_api.c
src/mesa/tnl/t_vb_arbprogram.c
src/mesa/tnl/t_vp_build.c
src/mesa/tnl/t_vtx_eval.c

17 years agoupdated info about arrays, predefined uniforms
Brian [Wed, 21 Feb 2007 23:07:03 +0000 (16:07 -0700)]
updated info about arrays, predefined uniforms

17 years agodisable debug
Brian [Wed, 21 Feb 2007 23:05:56 +0000 (16:05 -0700)]
disable debug

17 years agoUse gl_LightSource[0].position intead of a light position uniform.
Brian [Wed, 21 Feb 2007 22:57:55 +0000 (15:57 -0700)]
Use gl_LightSource[0].position intead of a light position uniform.

17 years agoremove unneeded #includes
Brian [Wed, 21 Feb 2007 22:42:50 +0000 (15:42 -0700)]
remove unneeded #includes

17 years agofix copy&paste errors
Brian [Wed, 21 Feb 2007 22:42:10 +0000 (15:42 -0700)]
fix copy&paste errors

17 years agomore minor changes to STATE_ indexing
Brian [Wed, 21 Feb 2007 22:23:11 +0000 (15:23 -0700)]
more minor changes to STATE_ indexing

17 years agoremove dead code
Brian [Wed, 21 Feb 2007 22:22:17 +0000 (15:22 -0700)]
remove dead code

17 years agoReimplement the _slang_alloc_statevar() function.
Brian [Wed, 21 Feb 2007 22:21:58 +0000 (15:21 -0700)]
Reimplement the _slang_alloc_statevar() function.

After several tries at making a table-based system for examining pre-defined
uniforms to find statevar indexes, give up and do it the simple way (lots of
strcmp() calls).  Not terribly elegant, but perfectly functional.

17 years agoadjustments to STATE_ token layout/format so token[1] is always the array index
Brian [Wed, 21 Feb 2007 18:08:21 +0000 (11:08 -0700)]
adjustments to STATE_ token layout/format so token[1] is always the array index

17 years agocheckpoint overhaul of pre-defined uniform code
Brian [Wed, 21 Feb 2007 16:15:39 +0000 (09:15 -0700)]
checkpoint overhaul of pre-defined uniform code

17 years agoclean-up, move IR_ELEMENT code
Brian [Wed, 21 Feb 2007 00:00:16 +0000 (17:00 -0700)]
clean-up, move IR_ELEMENT code

17 years agoalloc IR_FIELD's Storage in codegen, like IR_ELEMENT
Brian [Tue, 20 Feb 2007 23:56:49 +0000 (16:56 -0700)]
alloc IR_FIELD's Storage in codegen, like IR_ELEMENT

17 years agoMerge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesa
Ian Romanick [Tue, 20 Feb 2007 23:19:23 +0000 (15:19 -0800)]
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesa

17 years agoDelete two invalid assertions.
Ian Romanick [Tue, 20 Feb 2007 23:18:53 +0000 (15:18 -0800)]
Delete two invalid assertions.

These two assertions are invalid for a couple reasons.  Primarily,
when this code is compiled into the X-server, the symbols
"glSecondaryColor3fEXT" and "glPointParameterivNV" do not exist.

17 years agowork on struct/array handling
Brian [Tue, 20 Feb 2007 22:22:38 +0000 (15:22 -0700)]
work on struct/array handling

17 years agoforgot to return length in parse_array_len()
Brian [Tue, 20 Feb 2007 22:20:46 +0000 (15:20 -0700)]
forgot to return length in parse_array_len()

17 years agonouveau: nv10: grr, ctx->DrawBuffer invalid?
Patrice Mandin [Tue, 20 Feb 2007 22:17:09 +0000 (23:17 +0100)]
nouveau: nv10: grr, ctx->DrawBuffer invalid?

17 years agonouveau: nv10: also check ctx->DrawBuffer in nv10ViewportScale
Patrice Mandin [Tue, 20 Feb 2007 22:13:48 +0000 (23:13 +0100)]
nouveau: nv10: also check ctx->DrawBuffer in nv10ViewportScale

17 years agonouveau: nv10: keep 24/8 depth/stencil value, don't check for depth bits
Patrice Mandin [Tue, 20 Feb 2007 22:04:21 +0000 (23:04 +0100)]
nouveau: nv10: keep 24/8 depth/stencil value, don't check for depth bits

17 years agoimplement support for pre-defined uniform structs (state vars)
Brian [Tue, 20 Feb 2007 21:03:43 +0000 (14:03 -0700)]
implement support for pre-defined uniform structs (state vars)

17 years agoadded slang_builtin.c
Brian [Tue, 20 Feb 2007 21:03:10 +0000 (14:03 -0700)]
added slang_builtin.c

17 years agoFix parallel make in r300 driver.
Adam Jackson [Tue, 20 Feb 2007 17:48:50 +0000 (12:48 -0500)]
Fix parallel make in r300 driver.

17 years agoadded SWIZZLE_XXXX, SWIZZLE_YYYY, etc
Brian [Tue, 20 Feb 2007 17:40:08 +0000 (10:40 -0700)]
added SWIZZLE_XXXX, SWIZZLE_YYYY, etc

17 years agoglxext.h version 18
Brian [Tue, 20 Feb 2007 15:41:15 +0000 (08:41 -0700)]
glxext.h version 18

17 years agoupdated to version 18
Brian [Tue, 20 Feb 2007 15:40:55 +0000 (08:40 -0700)]
updated to version 18

17 years agoglext.h version 39
Brian [Tue, 20 Feb 2007 15:38:46 +0000 (08:38 -0700)]
glext.h version 39

17 years agoupdated to version 39
Brian [Tue, 20 Feb 2007 15:38:29 +0000 (08:38 -0700)]
updated to version 39

17 years agoset log level w/ env var
Christian Neumair [Tue, 20 Feb 2007 15:11:11 +0000 (08:11 -0700)]
set log level w/ env var

17 years agoremove accidental check-in
Brian [Tue, 20 Feb 2007 15:05:29 +0000 (08:05 -0700)]
remove accidental check-in

17 years agoMerge branch 'glsl-compiler-1' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa...
Brian [Tue, 20 Feb 2007 15:04:40 +0000 (08:04 -0700)]
Merge branch 'glsl-compiler-1' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into glsl-compiler-1

17 years agoi915tex: Fix performance regression with new vbo code and latest drm.
Thomas Hellstrom [Mon, 19 Feb 2007 18:57:30 +0000 (19:57 +0100)]
i915tex: Fix performance regression with new vbo code and latest drm.
With current memory preferences, vbos ended up in AGP space
where reading from them got a bit slow.

Make sure buffer objects are initially created in system memory.

17 years agos/PROG_PRINT_ARB/PROG_PRINT_DEBUG/
Brian [Sat, 17 Feb 2007 16:41:59 +0000 (09:41 -0700)]
s/PROG_PRINT_ARB/PROG_PRINT_DEBUG/

17 years agoinfo about stand-alone compiler
Brian [Sat, 17 Feb 2007 16:41:19 +0000 (09:41 -0700)]
info about stand-alone compiler

17 years agostand-alone GLSL compiler
Brian [Sat, 17 Feb 2007 16:15:39 +0000 (09:15 -0700)]
stand-alone GLSL compiler

17 years agoLots of changes to prog_print.c code.
Brian [Sat, 17 Feb 2007 16:15:00 +0000 (09:15 -0700)]
Lots of changes to prog_print.c code.

Mainly, allow printing programs in either ARB, NV or "debug" formats.

17 years agoMerge branch 'master' of git+ssh://geckosenator@git.freedesktop.org/git/mesa/mesa
Sean D'Epagnier [Sat, 17 Feb 2007 00:46:11 +0000 (17:46 -0700)]
Merge branch 'master' of git+ssh://geckosenator@git.freedesktop.org/git/mesa/mesa

17 years agoCommiting a few minor fixes to glut fbdev (segfault on a separate stack)
Sean D'Epagnier [Sat, 17 Feb 2007 00:44:13 +0000 (17:44 -0700)]
Commiting a few minor fixes to glut fbdev (segfault on a separate stack)

Updated all drivers that used the old _ac_ functions to use
the new _vbo_  functions. I know this fixed the fbdev driver,
it looks like it might fix some other drivers too.

17 years agodoxygen: update doxygen project number to 6.5
Jerome Glisse [Fri, 16 Feb 2007 22:22:04 +0000 (23:22 +0100)]
doxygen: update doxygen project number to 6.5

doxygen number was laggin behind a bit.

17 years agoUpdate doxygen doc to reflet vbo changes.
Jerome Glisse [Fri, 16 Feb 2007 22:18:56 +0000 (23:18 +0100)]
Update doxygen doc to reflet vbo changes.

Update doxygen doc, array_cache no longuer exist,
new shiny vbo modules is there. Tested on unix,
but i think i didn't broke that bat :).

17 years agonouveau: nv50: update
Patrice Mandin [Fri, 16 Feb 2007 21:39:28 +0000 (22:39 +0100)]
nouveau: nv50: update

17 years agonouveau: nv10,20: wrong viewport clip setup
Patrice Mandin [Fri, 16 Feb 2007 21:39:12 +0000 (22:39 +0100)]
nouveau: nv10,20: wrong viewport clip setup

17 years agonouveau: nv20: texture matrix
Patrice Mandin [Fri, 16 Feb 2007 21:09:42 +0000 (22:09 +0100)]
nouveau: nv20: texture matrix

17 years agonouveau: nv20: update
Patrice Mandin [Fri, 16 Feb 2007 21:03:31 +0000 (22:03 +0100)]
nouveau: nv20: update

17 years agonouveau: nv10: set clear value for 16 and 24 bits depth
Patrice Mandin [Fri, 16 Feb 2007 19:26:57 +0000 (20:26 +0100)]
nouveau: nv10: set clear value for 16 and 24 bits depth

17 years agonouveau: nv10: rescale depth near and far
Patrice Mandin [Fri, 16 Feb 2007 18:54:55 +0000 (19:54 +0100)]
nouveau: nv10: rescale depth near and far

17 years agonouveau: nv10: fix viewport scale and origin
Patrice Mandin [Fri, 16 Feb 2007 18:46:54 +0000 (19:46 +0100)]
nouveau: nv10: fix viewport scale and origin

17 years agoremove dead code
Brian [Fri, 16 Feb 2007 16:59:27 +0000 (09:59 -0700)]
remove dead code

17 years agos/_slang_link2/_slang_link/
Brian [Fri, 16 Feb 2007 16:56:19 +0000 (09:56 -0700)]
s/_slang_link2/_slang_link/

17 years agochange all enum tokens to uppercase
Brian [Fri, 16 Feb 2007 16:31:35 +0000 (09:31 -0700)]
change all enum tokens to uppercase