mesa.git
17 years agoReset saved state for disasm when we've lost the context.
Eric Anholt [Thu, 21 Jun 2007 19:57:15 +0000 (12:57 -0700)]
Reset saved state for disasm when we've lost the context.

17 years agoAdd decoding of inline primitives in debug output.
Eric Anholt [Thu, 21 Jun 2007 19:53:07 +0000 (12:53 -0700)]
Add decoding of inline primitives in debug output.

17 years agoImprove fake bufmgr debugging, and don't try to migrate static buffers.
Eric Anholt [Thu, 21 Jun 2007 18:44:48 +0000 (11:44 -0700)]
Improve fake bufmgr debugging, and don't try to migrate static buffers.

17 years agoAdd missing i915_disasm.h header and adjust copyright formatting on the .c
Eric Anholt [Thu, 21 Jun 2007 16:49:24 +0000 (09:49 -0700)]
Add missing i915_disasm.h header and adjust copyright formatting on the .c

17 years agoFix TTM static allocation flags.
Eric Anholt [Mon, 18 Jun 2007 19:20:07 +0000 (12:20 -0700)]
Fix TTM static allocation flags.

17 years agoTest for TTM presence initially rather than test for lack of classic aperture.
Eric Anholt [Mon, 18 Jun 2007 19:19:42 +0000 (12:19 -0700)]
Test for TTM presence initially rather than test for lack of classic aperture.

17 years agoReplace intel_dump_batchbuffer with a more informational version.
Eric Anholt [Fri, 15 Jun 2007 23:58:15 +0000 (16:58 -0700)]
Replace intel_dump_batchbuffer with a more informational version.

17 years agoCorrect a mis-count in a LOAD_STATE_IMMEDIATE_1 length argument.
Eric Anholt [Fri, 15 Jun 2007 23:20:34 +0000 (16:20 -0700)]
Correct a mis-count in a LOAD_STATE_IMMEDIATE_1 length argument.

17 years agoReplace the flags/hint arguments to bo_alloc{,_static} with a location mask.
Eric Anholt [Thu, 24 May 2007 23:55:06 +0000 (16:55 -0700)]
Replace the flags/hint arguments to bo_alloc{,_static} with a location mask.

Now, allocations only take locations, rather than a variety of unused flags.
The only interesting flag before was the no_move/no_evict pair for scanout
and similar buffers, which the DRI drivers don't use.  That will be readded
when we get to using this code for display buffer allocation, by adding a
pin/unpin call (dynamic pinning/unpinning may be useful for VT switching and
root window resizing).

This commit changes one instance of DRM_BO_FLAG_MEM_LOCAL with
DRM_BO_FLAG_MEM_TT, which appeared to have been unintentional.

17 years agoMerge branch 'master' into i915-unification
Eric Anholt [Thu, 24 May 2007 20:59:50 +0000 (13:59 -0700)]
Merge branch 'master' into i915-unification

Conflicts:

src/mesa/drivers/dri/i915tex/i830_texstate.c
src/mesa/drivers/dri/i915tex/i915_texstate.c

17 years agorestore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049
Brian [Wed, 23 May 2007 22:49:32 +0000 (16:49 -0600)]
restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049

17 years agoincr/decr 1D/2DArray texture refcounts like other targets
Brian [Wed, 23 May 2007 22:42:29 +0000 (16:42 -0600)]
incr/decr 1D/2DArray texture refcounts like other targets

17 years agor300: Call the r300Fogfv function directly within r300_state.c.
Oliver McFadden [Wed, 23 May 2007 21:26:35 +0000 (21:26 +0000)]
r300: Call the r300Fogfv function directly within r300_state.c.

This required moving the r300Enable function but there are no actual changes.

17 years agoFix problem w/ two-sided lighting and fragment programs (depth-peel regression)
Brian [Wed, 23 May 2007 21:33:46 +0000 (15:33 -0600)]
Fix problem w/ two-sided lighting and fragment programs (depth-peel regression)

17 years agor300: Use switch statements in r300ResetHwState, etc.
Oliver McFadden [Wed, 23 May 2007 21:12:11 +0000 (21:12 +0000)]
r300: Use switch statements in r300ResetHwState, etc.

17 years agor300: Minor indenting corrections in the texture format table.
Oliver McFadden [Wed, 23 May 2007 18:48:05 +0000 (18:48 +0000)]
r300: Minor indenting corrections in the texture format table.

17 years agor300: Use a single texture format table; reduces duplication.
Oliver McFadden [Wed, 23 May 2007 18:37:55 +0000 (18:37 +0000)]
r300: Use a single texture format table; reduces duplication.

17 years agor300: Corrected the RGB888 texture format entry.
Oliver McFadden [Wed, 23 May 2007 17:56:47 +0000 (17:56 +0000)]
r300: Corrected the RGB888 texture format entry.

I think this is correct, assuming no endian issues. See commmit
59a08923f51d4ed83effbfcd91473c9ee86465f1.

17 years agor300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines.
Oliver McFadden [Mon, 21 May 2007 15:51:38 +0000 (15:51 +0000)]
r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines.

Supposedly you need to set these values for the interpolaters to work, but they
seem to work fine without these values.

17 years agoFix point attentuation problem (bug 11042)
Brian [Wed, 23 May 2007 14:58:08 +0000 (08:58 -0600)]
Fix point attentuation problem (bug 11042)

ctx->Point._Attentuation was computed in wrong place and the VB->Eye coord Z
array wasn't indexed correctly in run_point_stage().

17 years agoReplace initInitState() with _mesa_init_driver_state().
Brian [Tue, 22 May 2007 22:56:02 +0000 (16:56 -0600)]
Replace initInitState() with _mesa_init_driver_state().

17 years agoadded _mesa_init_driver_state() to replace duplicated code in intel drivers
Brian [Tue, 22 May 2007 22:54:25 +0000 (16:54 -0600)]
added _mesa_init_driver_state() to replace duplicated code in intel drivers

17 years agoinclude swrast_setup/swrast_setup.h to silence warning
Brian [Tue, 22 May 2007 22:50:05 +0000 (16:50 -0600)]
include swrast_setup/swrast_setup.h to silence warning

17 years agodon't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression)
Brian [Tue, 22 May 2007 16:07:49 +0000 (10:07 -0600)]
don't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression)

17 years agoi915tex: Implement SetTexOffset hook.
Michel Dänzer [Tue, 22 May 2007 12:08:11 +0000 (14:08 +0200)]
i915tex: Implement SetTexOffset hook.

Only build tested for I830 generation.

17 years agor300: Implement SetTexOffset hook.
Michel Dänzer [Tue, 22 May 2007 12:08:11 +0000 (14:08 +0200)]
r300: Implement SetTexOffset hook.

17 years agoAdd interfaces for overriding texture images with driver specific 'offsets'.
Michel Dänzer [Tue, 22 May 2007 12:08:10 +0000 (14:08 +0200)]
Add interfaces for overriding texture images with driver specific 'offsets'.

To be used by AIGLX for GLX_EXT_texture_from_pixmap without several
additional data copies.

17 years agoFix xserver build after recent XMesa changes.
Michel Dänzer [Tue, 22 May 2007 11:56:30 +0000 (13:56 +0200)]
Fix xserver build after recent XMesa changes.

Only build tested.

17 years agoget rid of GenTexturesLock, used ctx->Shared->Mutex
Brian [Tue, 22 May 2007 04:10:06 +0000 (22:10 -0600)]
get rid of GenTexturesLock, used ctx->Shared->Mutex

17 years agoremove the unused texobj Mutex field
Brian [Tue, 22 May 2007 03:59:20 +0000 (21:59 -0600)]
remove the unused texobj Mutex field

17 years agoremove a VMS-ism that doesn't seem needed elsewhere
Brian [Tue, 22 May 2007 03:49:34 +0000 (21:49 -0600)]
remove a VMS-ism that doesn't seem needed elsewhere

17 years agoimprove some comments, clean-up formatting
Brian [Tue, 22 May 2007 03:48:33 +0000 (21:48 -0600)]
improve some comments, clean-up formatting

17 years agoremove some whitespace
Brian [Tue, 22 May 2007 03:48:08 +0000 (21:48 -0600)]
remove some whitespace

17 years agoset texcoords depending on GLX_Y_INVERTED_EXT
Brian [Tue, 22 May 2007 02:57:09 +0000 (20:57 -0600)]
set texcoords depending on GLX_Y_INVERTED_EXT

17 years agoreturn True for GLX_Y_INVERTED_EXT query
Brian [Tue, 22 May 2007 02:56:35 +0000 (20:56 -0600)]
return True for GLX_Y_INVERTED_EXT query

17 years agofog: fix potential issues with generated vp using fog
Roland Scheidegger [Tue, 22 May 2007 01:30:09 +0000 (03:30 +0200)]
fog: fix potential issues with generated vp using fog

Change the generated vertex programs (tnl/brw) to follow the same logic as
the tnl fog wrt using absolute value, and sync them up a bit (untested).

17 years agofog: fix issues with negative fog coords (may fix #10529)
Roland Scheidegger [Tue, 22 May 2007 01:29:59 +0000 (03:29 +0200)]
fog: fix issues with negative fog coords (may fix #10529)

Rework tnl fog a bit. Make sure we always use ABS(eyez) when fog coord source
is depth, OTOH it does not seem to be necessary to use it (as was done before
in some cases) if fog coord source is fogcoord (just to save some work).
This fixes tests/fog (the first 2 cases) with i915/i915tex.

17 years agomake sure optimized fog params get updated
Roland Scheidegger [Tue, 22 May 2007 00:52:39 +0000 (02:52 +0200)]
make sure optimized fog params get updated

17 years agoi915/i915tex: minor cleanup (remove unneeded function call
Roland Scheidegger [Tue, 22 May 2007 00:50:08 +0000 (02:50 +0200)]
i915/i915tex: minor cleanup (remove unneeded function call

17 years agounbreak 3d textures (typo when setting tex layout)
Roland Scheidegger [Mon, 21 May 2007 09:38:25 +0000 (11:38 +0200)]
unbreak 3d textures (typo when setting tex layout)

17 years agoDon't read beyond the end of the buffer with INTEL_DEBUG=bat.
Eric Anholt [Mon, 21 May 2007 20:06:12 +0000 (13:06 -0700)]
Don't read beyond the end of the buffer with INTEL_DEBUG=bat.

17 years agoEnable INTEL_DEBUG environment variable.
Eric Anholt [Mon, 21 May 2007 18:08:55 +0000 (11:08 -0700)]
Enable INTEL_DEBUG environment variable.

17 years agoRemove unused intel_batchpool.c.
Eric Anholt [Mon, 21 May 2007 17:53:33 +0000 (10:53 -0700)]
Remove unused intel_batchpool.c.

This may need to be implemented again, but probably not as a buffer manager
(pool).

17 years agoNotify the fake buffer manager on contended lock take.
Eric Anholt [Mon, 21 May 2007 17:49:32 +0000 (10:49 -0700)]
Notify the fake buffer manager on contended lock take.

17 years agoif light position is local, treat it as a homogeneous coord and divide by W (see...
Brian [Mon, 21 May 2007 14:57:18 +0000 (08:57 -0600)]
if light position is local, treat it as a homogeneous coord and divide by W (see bug 11009)

17 years agoOverhaul/simplify SWvertex and SWspan attribute handling.
Brian [Sun, 20 May 2007 18:27:39 +0000 (12:27 -0600)]
Overhaul/simplify SWvertex and SWspan attribute handling.

Instead of separate fog/specular/texcoord/varying code, just treat all of
them as generic attributes.  Simplifies the point/line/triangle functions.

17 years agoadd missing right-paren
Brian [Sun, 20 May 2007 18:17:21 +0000 (12:17 -0600)]
add missing right-paren

17 years agor300: Added TODO comment regarding immediate mode implementation.
Oliver McFadden [Sun, 20 May 2007 17:20:10 +0000 (17:20 +0000)]
r300: Added TODO comment regarding immediate mode implementation.

17 years agor300: Just use "inline" rather than "__inline__".
Oliver McFadden [Sat, 19 May 2007 05:41:55 +0000 (05:41 +0000)]
r300: Just use "inline" rather than "__inline__".

17 years agoneed to copy new 1D/2D array texture objects in _mesa_PushAttrib()
Brian [Sat, 19 May 2007 15:10:44 +0000 (09:10 -0600)]
need to copy new 1D/2D array texture objects in _mesa_PushAttrib()

17 years agoDisable (at least for now) PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC typedef.
Brian [Sat, 19 May 2007 14:56:15 +0000 (08:56 -0600)]
Disable (at least for now) PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC typedef.

If an app (like progs/samples/blendxor.c) includes both gl.h and glext.h
this typedef will get hit in both headers, causing an error.
Possibly work around by bringing GL_NV_geometry_program4 items into gl.h.

17 years agoadded GL_EXT_texture_from_pixmap
Brian [Sat, 19 May 2007 14:29:04 +0000 (08:29 -0600)]
added GL_EXT_texture_from_pixmap

17 years agoGLX_EXT_texture_from_pixmap test
Brian [Sat, 19 May 2007 14:28:41 +0000 (08:28 -0600)]
GLX_EXT_texture_from_pixmap test

17 years agoadded texture_from_pixmap functions
Brian [Sat, 19 May 2007 14:28:07 +0000 (08:28 -0600)]
added texture_from_pixmap functions

17 years agoImplement GLX_EXT_texture_from_pixmap.
Brian [Sat, 19 May 2007 14:27:35 +0000 (08:27 -0600)]
Implement GLX_EXT_texture_from_pixmap.

Could be done more efficiently... but works.

17 years agofix miptree layout (i915) for small compressed mipmaps
Roland Scheidegger [Sat, 19 May 2007 02:38:55 +0000 (04:38 +0200)]
fix miptree layout (i915) for small compressed mipmaps

This seems to work now. Also fix i945 set_level_info, need to match i915
behaviour for storing mip height, as it's assumed to be the mip width
(in texels) elsewhere and the division by 4 is done later (untested).

17 years agofix copy & paste bug of previous commit, breaking dxt5 formats
Roland Scheidegger [Sat, 19 May 2007 01:08:45 +0000 (03:08 +0200)]
fix copy & paste bug of previous commit, breaking dxt5 formats

17 years agofix miptree comparison with compressed textures
Roland Scheidegger [Fri, 18 May 2007 22:59:06 +0000 (00:59 +0200)]
fix miptree comparison with compressed textures

TexelBytes is always 0 with compressed textures, thus would never match
mt->cpp. This caused constant blitting around of textures, and it fixes at
least the horrible performance of Q3 if compressed textures are enabled.

17 years agofix small s3tc mipmaps (#10968)
Roland Scheidegger [Fri, 18 May 2007 22:45:38 +0000 (00:45 +0200)]
fix small s3tc mipmaps (#10968)

make sure that always whole blocks are uploaded.
(May still not work correctly if the top mip map is not at least a full block,
that is 4 pixels wide - not sure, but probably doesn't happen in real world)

17 years agoMerge branch 'master' into i915-unification
Eric Anholt [Fri, 18 May 2007 21:14:12 +0000 (14:14 -0700)]
Merge branch 'master' into i915-unification

Conflicts:

src/mesa/drivers/dri/common/dri_bufmgr.c
src/mesa/drivers/dri/common/dri_drmpool.c
src/mesa/drivers/dri/i915tex/intel_batchpool.c
src/mesa/drivers/dri/i915tex/intel_buffer_objects.c
src/mesa/drivers/dri/i915tex/intel_regions.c
src/mesa/drivers/dri/i915tex/intel_screen.c
src/mesa/drivers/dri/i915tex/intel_screen.h

17 years agoFix a refcounting mistake with first_swap_fence.
Eric Anholt [Fri, 18 May 2007 20:47:46 +0000 (13:47 -0700)]
Fix a refcounting mistake with first_swap_fence.

17 years agoFix another mis-calling of _fence_wait_internal.
Eric Anholt [Fri, 18 May 2007 20:47:21 +0000 (13:47 -0700)]
Fix another mis-calling of _fence_wait_internal.

17 years agoAllow unreference with a NULL argument.
Eric Anholt [Fri, 18 May 2007 19:59:39 +0000 (12:59 -0700)]
Allow unreference with a NULL argument.

17 years agoFix double-counting of low_offset in block->virtual.
Eric Anholt [Fri, 18 May 2007 19:57:34 +0000 (12:57 -0700)]
Fix double-counting of low_offset in block->virtual.

17 years agoZero out bufmgr_fake on alloc.
Eric Anholt [Fri, 18 May 2007 19:39:00 +0000 (12:39 -0700)]
Zero out bufmgr_fake on alloc.

17 years agoDead code elimination and fix bufmgr_fake_wait_idle.
Eric Anholt [Fri, 18 May 2007 19:10:05 +0000 (12:10 -0700)]
Dead code elimination and fix bufmgr_fake_wait_idle.

17 years agoKill old struct bufmgr members.
Eric Anholt [Fri, 18 May 2007 19:09:34 +0000 (12:09 -0700)]
Kill old struct bufmgr members.

17 years agoFix some use-before-initialize in bufmgr_fake.
Eric Anholt [Fri, 18 May 2007 18:55:00 +0000 (11:55 -0700)]
Fix some use-before-initialize in bufmgr_fake.

17 years agoRatchet required version down to 1.5 (pre-TTM).
Eric Anholt [Fri, 18 May 2007 18:29:55 +0000 (11:29 -0700)]
Ratchet required version down to 1.5 (pre-TTM).

17 years agofix STATE_HALF_VECTOR value (bug 10987)
Brian [Fri, 18 May 2007 13:46:27 +0000 (07:46 -0600)]
fix STATE_HALF_VECTOR value (bug 10987)

17 years agochange max anisotropy test
Christoff Brill [Thu, 17 May 2007 23:18:13 +0000 (17:18 -0600)]
change max anisotropy test

17 years agouse R200_DEBUG for debug output
Christoff Brill [Thu, 17 May 2007 23:17:25 +0000 (17:17 -0600)]
use R200_DEBUG for debug output

17 years agoremove CVS/XFree86 keywords
Christoff Brill [Thu, 17 May 2007 23:16:37 +0000 (17:16 -0600)]
remove CVS/XFree86 keywords

17 years agoRestore missing intel_batchbuffer_reset() which was needed.
Eric Anholt [Thu, 17 May 2007 22:36:43 +0000 (15:36 -0700)]
Restore missing intel_batchbuffer_reset() which was needed.

17 years agoRename the i915tex_dri.so driver to just i915_dri.so again.
Eric Anholt [Thu, 17 May 2007 22:36:26 +0000 (15:36 -0700)]
Rename the i915tex_dri.so driver to just i915_dri.so again.

17 years agoConvert i915tex to the new interface and make it compile.
Eric Anholt [Thu, 17 May 2007 22:28:01 +0000 (15:28 -0700)]
Convert i915tex to the new interface and make it compile.

17 years agoget rid of needless static function declarations at top of file
Brian [Thu, 17 May 2007 21:28:20 +0000 (15:28 -0600)]
get rid of needless static function declarations at top of file

17 years agoIn DestroyPbuffer(), use GetReq() intead of GetReqExtra(). See bug 10983.
Brian [Thu, 17 May 2007 21:25:26 +0000 (15:25 -0600)]
In DestroyPbuffer(), use GetReq() intead of GetReqExtra(). See bug 10983.

17 years agoAdd missing _EXT suffix to 2D_ARRAY target enums.
Ian Romanick [Thu, 17 May 2007 18:54:22 +0000 (11:54 -0700)]
Add missing _EXT suffix to 2D_ARRAY target enums.

17 years agoAdd array texture targets to list that can use compressed formats.
Ian Romanick [Thu, 17 May 2007 18:16:19 +0000 (11:16 -0700)]
Add array texture targets to list that can use compressed formats.

17 years agoRefactor determining whether a texture target can use compressed format
Ian Romanick [Thu, 17 May 2007 18:13:41 +0000 (11:13 -0700)]
Refactor determining whether a texture target can use compressed format

17 years agomake srcPtr param to make_1d_stack_mipmap() const
Brian [Thu, 17 May 2007 14:56:46 +0000 (08:56 -0600)]
make srcPtr param to make_1d_stack_mipmap() const

17 years agoMerge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Brian [Thu, 17 May 2007 14:54:08 +0000 (08:54 -0600)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa

17 years agor300: Removed the radeon_vertex_buffer structure.
Tommy Schultz Lassen [Thu, 17 May 2007 14:11:23 +0000 (14:11 +0000)]
r300: Removed the radeon_vertex_buffer structure.

17 years agoInitial implementation of MESA_texture_array
Ian Romanick [Wed, 16 May 2007 22:34:22 +0000 (15:34 -0700)]
Initial implementation of MESA_texture_array

Shadow sampling from texture arrays is still not implemented.  Everything
else should be there, though.

17 years agoInitial version of MESA_texture_array spec.
Ian Romanick [Wed, 16 May 2007 22:33:36 +0000 (15:33 -0700)]
Initial version of MESA_texture_array spec.

17 years agoWIP: Replace TTM buffer pool manager with a simplified interface.
Eric Anholt [Wed, 16 May 2007 22:14:20 +0000 (15:14 -0700)]
WIP: Replace TTM buffer pool manager with a simplified interface.

The interface is not solid yet (some simplification to do still, and
adjustment for 0-copy), and the drivers are not converted.  However, the new
interface allows using the same calls to support either a TTM or a classic
static allocation backend, with the static backend allowing a more limited
feature set.

17 years agoAdd simple program to test GL_MESA_texture_array.
Ian Romanick [Wed, 16 May 2007 21:46:13 +0000 (14:46 -0700)]
Add simple program to test GL_MESA_texture_array.

17 years agoAdd enums and functions for GL_{MESA,EXT}_texture_array.
Ian Romanick [Wed, 16 May 2007 21:45:52 +0000 (14:45 -0700)]
Add enums and functions for GL_{MESA,EXT}_texture_array.

17 years agoBring framebuffer_texture's error checking more in-line with the spec.
Ian Romanick [Tue, 15 May 2007 20:42:25 +0000 (13:42 -0700)]
Bring framebuffer_texture's error checking more in-line with the spec.

17 years agoSkeleton file for 7.1 release notes.
Brian [Mon, 14 May 2007 20:40:59 +0000 (14:40 -0600)]
Skeleton file for 7.1 release notes.

17 years agomaster/trunk is now for Mesa 7.1 devel: bump versions
Brian [Mon, 14 May 2007 20:30:36 +0000 (14:30 -0600)]
master/trunk is now for Mesa 7.1 devel: bump versions

17 years agoin __glXGetArrayType() return type, not enabled (bug 10938)
Bruce Merry [Mon, 14 May 2007 15:37:48 +0000 (09:37 -0600)]
in __glXGetArrayType() return type, not enabled (bug 10938)

17 years agocomment about fixing uniform structs
Brian [Fri, 11 May 2007 21:50:33 +0000 (15:50 -0600)]
comment about fixing uniform structs

17 years agor300: Enable the non-user-buffers code to compile.
Oliver McFadden [Sun, 13 May 2007 13:38:38 +0000 (13:38 +0000)]
r300: Enable the non-user-buffers code to compile.

17 years agor300: Use e32(0x0) rather than e32(0); makes greping for hex values easier.
Oliver McFadden [Sun, 13 May 2007 12:59:41 +0000 (12:59 +0000)]
r300: Use e32(0x0) rather than e32(0); makes greping for hex values easier.

17 years agor300: Use the defined values when writing to R300_RS_ROUTE_0.
Oliver McFadden [Sun, 13 May 2007 12:56:59 +0000 (12:56 +0000)]
r300: Use the defined values when writing to R300_RS_ROUTE_0.

17 years agor300: Use the defined values when writing to R300_SE_VTE_CNTL.
Oliver McFadden [Sun, 13 May 2007 12:43:40 +0000 (12:43 +0000)]
r300: Use the defined values when writing to R300_SE_VTE_CNTL.

You can verify this is correct with the following code.

  assert (0x043f ==
  (R300_VTX_W0_FMT | R300_VPORT_X_SCALE_ENA | R300_VPORT_X_OFFSET_ENA
   | R300_VPORT_Y_SCALE_ENA | R300_VPORT_Y_OFFSET_ENA |
   R300_VPORT_Z_SCALE_ENA | R300_VPORT_Z_OFFSET_ENA));

17 years agor300: Added a TODO comment for the R300_VAP_INPUT_ROUTE_[01]_0 values.
Oliver McFadden [Sun, 13 May 2007 12:36:27 +0000 (12:36 +0000)]
r300: Added a TODO comment for the R300_VAP_INPUT_ROUTE_[01]_0 values.

17 years agor300: Changed some more functions to static functions.
Oliver McFadden [Sun, 13 May 2007 09:09:30 +0000 (09:09 +0000)]
r300: Changed some more functions to static functions.

This required reordering some of the functions which is why the diff is a little
larger.