mesa.git
19 years ago Committing in .
Jouk Jansen [Wed, 4 May 2005 06:33:58 +0000 (06:33 +0000)]
 Committing in .

 OpenVMS compile update

 Modified Files:
  Mesa/src/mesa/shader/slang/descrip.mms
 ----------------------------------------------------------------------

19 years agoDRI fbdev driver getting better. Now I can see something on the screen
Jon Smirl [Wed, 4 May 2005 06:12:22 +0000 (06:12 +0000)]
DRI fbdev driver getting better. Now I can see something on the screen
but it isn't the right something yet.

19 years agosync with latest EGL_MESA_screen_surface spec (EGLScreenMESA handles)
Brian Paul [Wed, 4 May 2005 03:33:21 +0000 (03:33 +0000)]
sync with latest EGL_MESA_screen_surface spec (EGLScreenMESA handles)

19 years agoupdates for latest EGLScreenMESA changes
Brian Paul [Wed, 4 May 2005 03:32:39 +0000 (03:32 +0000)]
updates for latest EGLScreenMESA changes

19 years agoImport all texture coordinate arrays. Import them only once.
Keith Whitwell [Tue, 3 May 2005 15:11:23 +0000 (15:11 +0000)]
Import all texture coordinate arrays.  Import them only once.

19 years agoAdd support to external tnl switcher and disable hw tnl by default.
Aapo Tahkola [Sun, 1 May 2005 23:36:43 +0000 (23:36 +0000)]
Add support to external tnl switcher and disable hw tnl by default.

19 years agoBumped the Savage driver date (a bit late) to mark S3TC support.
Felix Kuehling [Sun, 1 May 2005 14:37:23 +0000 (14:37 +0000)]
Bumped the Savage driver date (a bit late) to mark S3TC support.

19 years agoFixed and cleaned up programming of watermark registers. There may be
Felix Kuehling [Sun, 1 May 2005 14:29:16 +0000 (14:29 +0000)]
Fixed and cleaned up programming of watermark registers. There may be
a marginal speedup, but I'm not sure this has the same effect on all
hardware. Tested on Savage IX and ProSavageDDR. For experimenting with
different values see the macros at the start of savagestate.c.

19 years agoImprove the DRI fb driver, now it compiles.
Jon Smirl [Sun, 1 May 2005 00:21:27 +0000 (00:21 +0000)]
Improve the DRI fb driver, now it compiles.
Added code to support NEW_INTERFACE.
It still doesn't work. Made it build from make linux-solo.

19 years agoapply previous GL_COMPRESSED_TEXTURE_FORMATS_ARB fix to generator file, and regenerat...
Brian Paul [Sat, 30 Apr 2005 18:30:16 +0000 (18:30 +0000)]
apply previous GL_COMPRESSED_TEXTURE_FORMATS_ARB fix to generator file, and regenerate get.c

19 years agor300 side support for fixed function pipeline. This isnt functional with current...
Aapo Tahkola [Sat, 30 Apr 2005 11:06:14 +0000 (11:06 +0000)]
r300 side support for fixed function pipeline. This isnt functional with current Mesa.

19 years agoFixed bogus ENUM_TO_BOOLEAN in
Felix Kuehling [Sat, 30 Apr 2005 02:09:23 +0000 (02:09 +0000)]
Fixed bogus ENUM_TO_BOOLEAN in
_mesa_GetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS_ARB). Must be ENUM_TO_INT.
mesa/progs/tests/texenv now lists supported compressed texture formats
correctly.

19 years agoAdded S3TC support to the Savage driver with some help from Mark Cass's
Felix Kuehling [Sat, 30 Apr 2005 02:03:18 +0000 (02:03 +0000)]
Added S3TC support to the Savage driver with some help from Mark Cass's
S3TC support for an older driver version. On Savage3D/IX/MX
GL_EXT_texture_compression_s3tc can't be enabled because DXT3 and DXT5
are not supported. However GL_S3_s3tc is enabled on all Savage chips.
Tested on a Savage IX and a ProSavageDDR

19 years agoFix include path to make build work
Jon Smirl [Fri, 29 Apr 2005 22:25:21 +0000 (22:25 +0000)]
Fix include path to make build work

19 years agoFormat for 80 columns. Add alternate matrix mul based on MAD rather than DP4.
Keith Whitwell [Fri, 29 Apr 2005 17:32:27 +0000 (17:32 +0000)]
Format for 80 columns.  Add alternate matrix mul based on MAD rather than DP4.

19 years agoAdd DISASSEM define, similar to other program generator files.
Keith Whitwell [Fri, 29 Apr 2005 17:31:54 +0000 (17:31 +0000)]
Add DISASSEM define, similar to other program generator files.

19 years agoAdd linux-fbdev config
Keith Whitwell [Fri, 29 Apr 2005 17:31:10 +0000 (17:31 +0000)]
Add linux-fbdev config

19 years agonew config
Keith Whitwell [Fri, 29 Apr 2005 17:30:29 +0000 (17:30 +0000)]
new config

19 years agoPut back not-so-redundant #ifdef.
Keith Whitwell [Fri, 29 Apr 2005 15:41:24 +0000 (15:41 +0000)]
Put back not-so-redundant #ifdef.

19 years agoRemove redundant #ifdef, fix compiler warning
Keith Whitwell [Fri, 29 Apr 2005 15:37:27 +0000 (15:37 +0000)]
Remove redundant #ifdef, fix compiler warning

19 years agonew file
Keith Whitwell [Fri, 29 Apr 2005 15:36:38 +0000 (15:36 +0000)]
new file

19 years agoMaintain a fragment program for current texturing state.
Keith Whitwell [Fri, 29 Apr 2005 15:11:39 +0000 (15:11 +0000)]
Maintain a fragment program for current texturing state.

19 years agofix _tnl_copy_to_current() so that current edge flag and rasterpos aren't trashed...
Brian Paul [Thu, 28 Apr 2005 21:14:00 +0000 (21:14 +0000)]
fix _tnl_copy_to_current() so that current edge flag and rasterpos aren't trashed by color index updates

19 years agoStop gcc-4.0 complaining about "type qualifiers ignored on function
Keith Whitwell [Thu, 28 Apr 2005 13:16:23 +0000 (13:16 +0000)]
Stop gcc-4.0 complaining about "type qualifiers ignored on function
return type".

19 years agoStop gcc-4.0 complaining about "type qualifiers ignored on function
Keith Whitwell [Thu, 28 Apr 2005 12:05:58 +0000 (12:05 +0000)]
Stop gcc-4.0 complaining about "type qualifiers ignored on function
return type".

19 years agomove set_component_sizes() to fix bug 3135
Brian Paul [Wed, 27 Apr 2005 21:20:30 +0000 (21:20 +0000)]
move set_component_sizes() to fix bug 3135

19 years agono need to enable fog or set fog mode with fragment program
Brian Paul [Tue, 26 Apr 2005 20:58:27 +0000 (20:58 +0000)]
no need to enable fog or set fog mode with fragment program

19 years agotweak previous fog/fragment program fix
Brian Paul [Tue, 26 Apr 2005 20:56:21 +0000 (20:56 +0000)]
tweak previous fog/fragment program fix

19 years agoadded interpolate_fog()
Brian Paul [Tue, 26 Apr 2005 17:35:45 +0000 (17:35 +0000)]
added interpolate_fog()

19 years agoenable fog render input if fragment program fog option set
Brian Paul [Tue, 26 Apr 2005 17:25:53 +0000 (17:25 +0000)]
enable fog render input if fragment program fog option set

19 years agocomments and minor clean-up
Brian Paul [Tue, 26 Apr 2005 16:02:56 +0000 (16:02 +0000)]
comments and minor clean-up

19 years agoFix as suggested by Ben Skeggs.
Aapo Tahkola [Mon, 25 Apr 2005 09:50:45 +0000 (09:50 +0000)]
Fix as suggested by Ben Skeggs.

19 years agoEnsure all VB->AttribPtr[] are populated. Reported by Aapo Tahkola
Keith Whitwell [Mon, 25 Apr 2005 09:36:27 +0000 (09:36 +0000)]
Ensure all VB->AttribPtr[] are populated.  Reported by Aapo Tahkola

19 years agoMinor changes to make linux-solo build again
Jon Smirl [Mon, 25 Apr 2005 03:03:10 +0000 (03:03 +0000)]
Minor changes to make linux-solo build again

19 years agoSoftware fallback for glColorMask. Can be avoided on Savage4 when all
Felix Kuehling [Sun, 24 Apr 2005 20:55:57 +0000 (20:55 +0000)]
Software fallback for glColorMask. Can be avoided on Savage4 when all
channels are masked (disable draw update). Bumped driver date to
reflect recent correctness fixes. The driver now passes all glean
tests except exactRGBA on both Savage4 and Savage3D-based cards.

19 years agoModifying to build against current Mesa. Disabled r200*.c files since they didnt...
Aapo Tahkola [Sun, 24 Apr 2005 09:08:31 +0000 (09:08 +0000)]
Modifying to build against current Mesa. Disabled r200*.c files since they didnt want to build anymore.

19 years agoFixed a segfault introduced by Keith's pipeline changes.
Felix Kuehling [Sat, 23 Apr 2005 19:54:30 +0000 (19:54 +0000)]
Fixed a segfault introduced by Keith's pipeline changes.

19 years agoTexturing fixes for Savage3D/MX/IX:
Felix Kuehling [Sat, 23 Apr 2005 17:18:57 +0000 (17:18 +0000)]
Texturing fixes for Savage3D/MX/IX:
- force emitting texAddr when the texture image changed (flush caches)
- set transparent texture color key to something improbable
  (couldn't find a way to disable it completely)
- fixed texture environment modes GL_DECAL and GL_REPLACE
- made texture environment mode GL_BLEND a software fallback
- added two custom texture formats for promoting from GL_ALPHA to ARGB8888
  and 4444. Since the hardware can't be made to ignore the RGB color
  components, set them to 1 instead of 0. This gives the correct results
- disabled GL_EXT_texture_env_add on Savage3D/MX/IX
- map both GL_CLAMP and GL_CLAMP_TO_EDGE to hardware mode "wrap". It doesn't
  match either mode exactly by the spec, so we should either fall back on both
  or none. I chose the latter.
- fall back to software when s and t wrapping modes differ (hardware has only
  one bit for both)

19 years agoFix the worst problems with dangling edgeflag references in
Keith Whitwell [Sat, 23 Apr 2005 11:55:18 +0000 (11:55 +0000)]
Fix the worst problems with dangling edgeflag references in
display lists.  These mainly arise from edgeflag being the only
attribute no longer stored internally as a float and requiring
various special case paths to accomodate it.

19 years agoUpdates for pipeline_stage struct changes.
Keith Whitwell [Fri, 22 Apr 2005 22:47:09 +0000 (22:47 +0000)]
Updates for pipeline_stage struct changes.

19 years agoFirst pass at updating these drivers with pipeline_stage struct changes.
Keith Whitwell [Fri, 22 Apr 2005 22:42:09 +0000 (22:42 +0000)]
First pass at updating these drivers with pipeline_stage struct changes.

19 years agoAdded a French translation of option descriptions by Stephane Marchesin.
Felix Kuehling [Fri, 22 Apr 2005 21:36:37 +0000 (21:36 +0000)]
Added a French translation of option descriptions by Stephane Marchesin.

19 years agodemo / test progs
Brian Paul [Fri, 22 Apr 2005 21:17:14 +0000 (21:17 +0000)]
demo / test progs

19 years agotypes for Mesa implementation of EGL
Brian Paul [Fri, 22 Apr 2005 21:16:28 +0000 (21:16 +0000)]
types for Mesa implementation of EGL

19 years agoprototype EGL_MESA_screen_surface.
Brian Paul [Fri, 22 Apr 2005 21:16:12 +0000 (21:16 +0000)]
prototype EGL_MESA_screen_surface.

19 years agoinitial EGL code
Brian Paul [Fri, 22 Apr 2005 21:09:39 +0000 (21:09 +0000)]
initial EGL code

19 years agoMove the call to _tnl_UpdateFixedFunctionProgram to make
Keith Whitwell [Fri, 22 Apr 2005 13:02:04 +0000 (13:02 +0000)]
Move the call to _tnl_UpdateFixedFunctionProgram to make
it easier for hardware drivers to test this out.

19 years agoSimplify the pipeline_stage structure
Keith Whitwell [Fri, 22 Apr 2005 12:51:19 +0000 (12:51 +0000)]
Simplify the pipeline_stage structure
- remove input/output fields, input tracking removed.
- remove state fields, the validate function now called
  on every statechange.
- add an explicit 'create' function.

Add in code to build vertex program to implement current t&l state.  Still
disabled, but turn on with a #define in t_vp_build.h.

19 years agoUp the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.
Keith Whitwell [Fri, 22 Apr 2005 12:46:13 +0000 (12:46 +0000)]
Up the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.

19 years agoAdd more error checking.
Michal Krol [Fri, 22 Apr 2005 10:43:36 +0000 (10:43 +0000)]
Add more error checking.

19 years agoCosmetic changes.
Michal Krol [Fri, 22 Apr 2005 10:28:53 +0000 (10:28 +0000)]
Cosmetic changes.

19 years agoMove some utility functions to slang_utility.c.
Michal Krol [Fri, 22 Apr 2005 10:15:32 +0000 (10:15 +0000)]
Move some utility functions to slang_utility.c.

19 years agoProvide precompiled binary versions of built-in library .gc sources
Michal Krol [Fri, 22 Apr 2005 09:51:46 +0000 (09:51 +0000)]
Provide precompiled binary versions of built-in library .gc sources
to dramatically improve shader compiling performance.

19 years agoundef DEPTH_TYPE at end
Brian Paul [Fri, 22 Apr 2005 02:56:21 +0000 (02:56 +0000)]
undef DEPTH_TYPE at end

19 years agoFixed some suspicious pointer casts that caused lots of
Felix Kuehling [Thu, 21 Apr 2005 21:50:54 +0000 (21:50 +0000)]
Fixed some suspicious pointer casts that caused lots of
compile-time-warnings on x86-64. Not tested on x86-64 yet, but a good
thing in general, so I'm giving up waiting for feedback. See also
https://bugs.freedesktop.org/show_bug.cgi?id=2924.

19 years agoFixed TexEnv modes GL_BLEND and GL_ADD on Savage4-based cards. Disabled
Felix Kuehling [Thu, 21 Apr 2005 21:43:21 +0000 (21:43 +0000)]
Fixed TexEnv modes GL_BLEND and GL_ADD on Savage4-based cards. Disabled
the use of hardware texture format I8 as it produces garbage at least on
ProSavageDDR.

19 years agoAdding some comments.
Aapo Tahkola [Thu, 21 Apr 2005 19:09:54 +0000 (19:09 +0000)]
Adding some comments.

19 years agoReduce the size of mesa's internal fragment and vertex program
Keith Whitwell [Thu, 21 Apr 2005 14:46:57 +0000 (14:46 +0000)]
Reduce the size of mesa's internal fragment and vertex program
representations by switching to packed structures for registers and
instructions.

19 years agouse _mesa_pow() for LIT (bug 3087)
Brian Paul [Thu, 21 Apr 2005 14:19:50 +0000 (14:19 +0000)]
use _mesa_pow() for LIT (bug 3087)

19 years agoFacility to construct a vertex program which executes the current
Keith Whitwell [Thu, 21 Apr 2005 13:13:49 +0000 (13:13 +0000)]
Facility to construct a vertex program which executes the current
fixed function t&l pipeline.

Currently runs most of the Mesa demos OK, but still needs debugging &
polishing.

19 years agoNew software implementation of ARB_vertex_program. Similar in speed
Keith Whitwell [Thu, 21 Apr 2005 13:11:02 +0000 (13:11 +0000)]
New software implementation of ARB_vertex_program.  Similar in speed
to existing version, but with the potential for good improvements.

19 years agoHad some odd problems with add and temps so doing it with mad. Adding some MAD_2...
Aapo Tahkola [Thu, 21 Apr 2005 05:24:02 +0000 (05:24 +0000)]
Had some odd problems with add and temps so doing it with mad. Adding some MAD_2 cases.

19 years agofix state.light[n].spot.direction.w value (bug 3083)
Brian Paul [Wed, 20 Apr 2005 23:47:03 +0000 (23:47 +0000)]
fix state.light[n].spot.direction.w value (bug 3083)

19 years agoclean up buffer creation code
Brian Paul [Wed, 20 Apr 2005 17:12:10 +0000 (17:12 +0000)]
clean up buffer creation code

19 years agoReorganized shader stuff.
Aapo Tahkola [Tue, 19 Apr 2005 18:49:44 +0000 (18:49 +0000)]
Reorganized shader stuff.

19 years agoFixes for bugs that were nailed down when compairing against software vertex shading.
Aapo Tahkola [Tue, 19 Apr 2005 03:12:30 +0000 (03:12 +0000)]
Fixes for bugs that were nailed down when compairing against software vertex shading.

19 years agoFixing and enabling elt buffers by default.
Aapo Tahkola [Mon, 18 Apr 2005 22:41:43 +0000 (22:41 +0000)]
Fixing and enabling elt buffers by default.

19 years agoIf the file name passed to parse_GL_API is None or "-", read from standard
Ian Romanick [Mon, 18 Apr 2005 21:30:20 +0000 (21:30 +0000)]
If the file name passed to parse_GL_API is None or "-", read from standard
input.  This allows use of GL API scripts in pipelines.

19 years agoRefactor a bunch of common code from the "leaf" scripts to a new functions,
Ian Romanick [Mon, 18 Apr 2005 19:42:23 +0000 (19:42 +0000)]
Refactor a bunch of common code from the "leaf" scripts to a new functions,
parse_GL_API, in gl_XML.py.

19 years agoFill-in function offsets and correct a couple typos.
Ian Romanick [Mon, 18 Apr 2005 19:17:12 +0000 (19:17 +0000)]
Fill-in function offsets and correct a couple typos.

19 years agoConvert all Python scripts to use XML namespaces.
Ian Romanick [Mon, 18 Apr 2005 19:16:07 +0000 (19:16 +0000)]
Convert all Python scripts to use XML namespaces.

19 years agoAlpha test fix
Peter Zubaj [Mon, 18 Apr 2005 19:06:14 +0000 (19:06 +0000)]
Alpha test fix

19 years agoMove the DTD to its own file.
Ian Romanick [Mon, 18 Apr 2005 18:36:57 +0000 (18:36 +0000)]
Move the DTD to its own file.

19 years agocomments and clean-up
Brian Paul [Mon, 18 Apr 2005 17:48:25 +0000 (17:48 +0000)]
comments and clean-up

19 years agoAdd support for pthreads and TLS to libGL for __glXLock / __glXUnlock and
Ian Romanick [Mon, 18 Apr 2005 16:59:53 +0000 (16:59 +0000)]
Add support for pthreads and TLS to libGL for __glXLock / __glXUnlock and
for tracking the current GLX context.

This fixes bug #3024.

19 years agoSend GL_PACK_INVERT_MESA state to the server. This fixes bug #2538.
Ian Romanick [Mon, 18 Apr 2005 16:40:36 +0000 (16:40 +0000)]
Send GL_PACK_INVERT_MESA state to the server.  This fixes bug #2538.

19 years agos/NORMAL/FOG/ (J.P. Delport)
Brian Paul [Mon, 18 Apr 2005 14:21:44 +0000 (14:21 +0000)]
s/NORMAL/FOG/ (J.P. Delport)

19 years ago Updates for OpenVMS : New makefiles
Jouk Jansen [Mon, 18 Apr 2005 13:05:24 +0000 (13:05 +0000)]
 Updates for OpenVMS : New makefiles
                       added some type-casts

 Modified Files:
  Mesa/src/mesa/shader/descrip.mms
  Mesa/src/mesa/shader/program.c
  Mesa/src/mesa/shader/slang/slang_compile.c
  Mesa/src/mesa/shader/slang/slang_preprocess.c
 Added Files:
  Mesa/src/mesa/shader/slang/descrip.mms
 ----------------------------------------------------------------------

19 years agoadded SLANG_SOURCES to SOLO_C_SOURCES
Brian Paul [Fri, 15 Apr 2005 22:20:46 +0000 (22:20 +0000)]
added SLANG_SOURCES to SOLO_C_SOURCES

19 years agoconfig for profiling with gprof
Brian Paul [Fri, 15 Apr 2005 22:16:18 +0000 (22:16 +0000)]
config for profiling with gprof

19 years agoadded _mesa_share_state()
Brian Paul [Fri, 15 Apr 2005 17:25:07 +0000 (17:25 +0000)]
added _mesa_share_state()

19 years agomore gldirect compile fixes. Getting near the linking stage now. No build file yet.
Ben Crossman [Fri, 15 Apr 2005 17:17:47 +0000 (17:17 +0000)]
more gldirect compile fixes. Getting near the linking stage now. No build file yet.

19 years agoremove carriage returns
Brian Paul [Fri, 15 Apr 2005 16:05:14 +0000 (16:05 +0000)]
remove carriage returns

19 years agoFix alpha value of STATE_LIGHTMODEL_SCENECOLOR. From the spec:
Keith Whitwell [Fri, 15 Apr 2005 12:57:23 +0000 (12:57 +0000)]
Fix alpha value of STATE_LIGHTMODEL_SCENECOLOR.  From the spec:

 The "w" component of the program parameter variable is filled with
 the alpha component of the front diffuse material color.

Make sure matrix inverses are uptodate also.

19 years agoadd shader/slang/slang_preprocess.c
Michal Krol [Fri, 15 Apr 2005 10:30:43 +0000 (10:30 +0000)]
add shader/slang/slang_preprocess.c

19 years agoimplement info log; parse #version directive
Michal Krol [Fri, 15 Apr 2005 10:23:10 +0000 (10:23 +0000)]
implement info log; parse #version directive

19 years agoslang preprocessor
Michal Krol [Fri, 15 Apr 2005 10:21:34 +0000 (10:21 +0000)]
slang preprocessor

19 years agoslang #version directive syntax
Michal Krol [Fri, 15 Apr 2005 10:20:30 +0000 (10:20 +0000)]
slang #version directive syntax

19 years agochange __asm statement semantics
Michal Krol [Fri, 15 Apr 2005 10:19:27 +0000 (10:19 +0000)]
change __asm statement semantics

19 years agoReverted the last change back to fix bug 3035
Ben Crossman [Fri, 15 Apr 2005 09:13:21 +0000 (09:13 +0000)]
Reverted the last change back to fix bug 3035

19 years agoConvert 'variable_param' from a CDATA attribute to a NMTOKENS attribute.
Ian Romanick [Thu, 14 Apr 2005 23:03:44 +0000 (23:03 +0000)]
Convert 'variable_param' from a CDATA attribute to a NMTOKENS attribute.
The main difference is that white-space is used to separate the names
instead of comas.

19 years agoRefactor the handling of the '(true | false)' enumerated attributes.
Ian Romanick [Thu, 14 Apr 2005 23:00:34 +0000 (23:00 +0000)]
Refactor the handling of the '(true | false)' enumerated attributes.

19 years agoModify the DTD to use NMTOKEN, enumerants, and explicit default values
Ian Romanick [Thu, 14 Apr 2005 22:59:46 +0000 (22:59 +0000)]
Modify the DTD to use NMTOKEN, enumerants, and explicit default values
wherever possible.  Correct a couple mis-uses of the 'counter' attribute
when 'count' was intended.  Fix some errors in the DTD and in the data with
'doubles_in_order'.

19 years agoIn GLX_USE_TLS builds, make GET_CURRENT_CONTEXT use the TLS verion of the
Ian Romanick [Thu, 14 Apr 2005 21:05:55 +0000 (21:05 +0000)]
In GLX_USE_TLS builds, make GET_CURRENT_CONTEXT use the TLS verion of the
variable.  Without this, GET_CURRENT_CONTEXT would *always* result in a call
to _glapi_get_context (because _glapi_Context is a const pointer to NULL in
TLS builds).

19 years agoAdd missing includes of indirect.h.
Ian Romanick [Thu, 14 Apr 2005 20:35:33 +0000 (20:35 +0000)]
Add missing includes of indirect.h.

19 years agoA few getenv() that werent using the mesa wrapper version
Ben Crossman [Thu, 14 Apr 2005 19:54:15 +0000 (19:54 +0000)]
A few getenv() that werent using the mesa wrapper version

19 years agoSome initial compile fixes. Still some left and warnings that need fixing. No where...
Ben Crossman [Thu, 14 Apr 2005 16:58:25 +0000 (16:58 +0000)]
Some initial compile fixes. Still some left and warnings that need fixing. No where near runnable yet.

19 years agoDisable CLOD (Lod constant) state emit. The values emitted were
Keith Whitwell [Thu, 14 Apr 2005 15:53:30 +0000 (15:53 +0000)]
Disable CLOD (Lod constant) state emit.  The values emitted were
possibly negative, hence clobbering the leading register-id byte.
Fixed the calculation of the values to prevent negative numbers being
emitted, but the code still doesn't implement texture LOD bias
correctly, so leave it disabled overall.

19 years agohook to _slang_compile()
Michal Krol [Thu, 14 Apr 2005 10:31:36 +0000 (10:31 +0000)]
hook to _slang_compile()

19 years agocosmetic changes
Michal Krol [Thu, 14 Apr 2005 10:30:08 +0000 (10:30 +0000)]
cosmetic changes