wine
18 years agomshtml: Added alert implementation.
Jacek Caban [Tue, 12 Dec 2006 16:08:18 +0000 (17:08 +0100)] 
mshtml: Added alert implementation.

18 years agowinex11.drv: Get rid of the display pointer in the GL context.
Alexandre Julliard [Tue, 12 Dec 2006 17:23:34 +0000 (18:23 +0100)] 
winex11.drv: Get rid of the display pointer in the GL context.

18 years agoopengl32: Don't use ENTER_GL/LEAVE_GL around calls to driver functions.
Alexandre Julliard [Tue, 12 Dec 2006 17:21:01 +0000 (18:21 +0100)] 
opengl32: Don't use ENTER_GL/LEAVE_GL around calls to driver functions.

This causes lock inversions when the driver accesses the DC.

18 years agoopengl32: Avoid generating a wrapper for internal functions when we can call the...
Alexandre Julliard [Tue, 12 Dec 2006 16:59:44 +0000 (17:59 +0100)] 
opengl32: Avoid generating a wrapper for internal functions when we can call the internal one directly.

18 years agowinex11.drv: Correctly position and clip opengl child windows.
Ulrich Czekalla [Thu, 7 Dec 2006 15:45:58 +0000 (10:45 -0500)] 
winex11.drv: Correctly position and clip opengl child windows.

18 years agowinex11.drv: Get rid of the unused set_drawable function.
Alexandre Julliard [Tue, 12 Dec 2006 14:37:32 +0000 (15:37 +0100)] 
winex11.drv: Get rid of the unused set_drawable function.

18 years agogdi32: Use a more appropriate size for the default clip region.
Alexandre Julliard [Tue, 12 Dec 2006 14:00:19 +0000 (15:00 +0100)] 
gdi32: Use a more appropriate size for the default clip region.

18 years agowinex11.drv: Implemented DESKTOPHORZ/VERTRES device caps.
Alexandre Julliard [Tue, 12 Dec 2006 13:59:55 +0000 (14:59 +0100)] 
winex11.drv: Implemented DESKTOPHORZ/VERTRES device caps.

18 years agowinex11.drv: Make sure the drawable rect is always updated and use it where appropriate.
Alexandre Julliard [Tue, 12 Dec 2006 12:46:15 +0000 (13:46 +0100)] 
winex11.drv: Make sure the drawable rect is always updated and use it where appropriate.

18 years agowinex11.drv: Store window and drawable rects in X11DRV_PDEVICE.
Ulrich Czekalla [Thu, 7 Dec 2006 15:43:59 +0000 (10:43 -0500)] 
winex11.drv: Store window and drawable rects in X11DRV_PDEVICE.

18 years agowinex11.drv: Remove unused PropertyAliasMap variable.
Alexandre Julliard [Tue, 12 Dec 2006 11:14:38 +0000 (12:14 +0100)] 
winex11.drv: Remove unused PropertyAliasMap variable.

18 years agomscoree: Add a stub implementation for CorExitProcess and GetRequestedRuntimeInfo.
Hans Leidekker [Mon, 11 Dec 2006 13:25:39 +0000 (14:25 +0100)] 
mscoree: Add a stub implementation for CorExitProcess and GetRequestedRuntimeInfo.

18 years agomscoree: Take advantage of an installed Mono for Windows to run .NET applications.
Hans Leidekker [Mon, 11 Dec 2006 21:13:48 +0000 (22:13 +0100)] 
mscoree: Take advantage of an installed Mono for Windows to run .NET applications.

18 years agowinspool/tests: Don't treat having no printers as a failure.
Paul Vriens [Tue, 12 Dec 2006 09:22:49 +0000 (10:22 +0100)] 
winspool/tests: Don't treat having no printers as a failure.

18 years agowinspool/tests: Make default_printer a global variable.
Paul Vriens [Tue, 12 Dec 2006 09:22:32 +0000 (10:22 +0100)] 
winspool/tests: Make default_printer a global variable.

18 years agomsvcrt/tests: Cast-qual warnings fix.
Andrew Talbot [Mon, 11 Dec 2006 21:41:58 +0000 (21:41 +0000)] 
msvcrt/tests: Cast-qual warnings fix.

18 years agomsvcrt/tests: Cast-qual warnings fix.
Andrew Talbot [Mon, 11 Dec 2006 21:41:00 +0000 (21:41 +0000)] 
msvcrt/tests: Cast-qual warnings fix.

18 years agomsi/tests: Cast-qual warning fix.
Andrew Talbot [Mon, 11 Dec 2006 21:30:51 +0000 (21:30 +0000)] 
msi/tests: Cast-qual warning fix.

18 years agoMade some functions static.
Marcus Meissner [Mon, 11 Dec 2006 20:22:02 +0000 (21:22 +0100)] 
Made some functions static.

18 years agolocalspl/tests: Add tests for XcvClosePort.
Detlef Riekenberg [Fri, 8 Dec 2006 13:02:50 +0000 (14:02 +0100)] 
localspl/tests: Add tests for XcvClosePort.

18 years agolocalspl/tests: Add tests for XcvOpenPort.
Detlef Riekenberg [Fri, 8 Dec 2006 13:02:17 +0000 (14:02 +0100)] 
localspl/tests: Add tests for XcvOpenPort.

18 years agoshell32: Add a stub implementation for SHLoadNonloadedIconOverlayIdentifiers.
Hans Leidekker [Mon, 11 Dec 2006 12:57:51 +0000 (13:57 +0100)] 
shell32: Add a stub implementation for SHLoadNonloadedIconOverlayIdentifiers.

18 years agowined3d: Move WINED3DRS_SEPARATEALPHABLENDENABLE to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:14:36 +0000 (23:14 +0100)] 
wined3d: Move WINED3DRS_SEPARATEALPHABLENDENABLE to the state table.

18 years agowined3d: Move SRGBWRITEENABLE to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:13:38 +0000 (23:13 +0100)] 
wined3d: Move SRGBWRITEENABLE to the state table.

18 years agowined3d: Move tesselation to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:21:27 +0000 (23:21 +0100)] 
wined3d: Move tesselation to the state table.

18 years agowined3d: Move WINED3DRS_NORMALDEGREE to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:21:25 +0000 (23:21 +0100)] 
wined3d: Move WINED3DRS_NORMALDEGREE to the state table.

18 years agowined3d: Move WINED3DRS_POSITIONDEGREE to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:21:21 +0000 (23:21 +0100)] 
wined3d: Move WINED3DRS_POSITIONDEGREE to the state table.

18 years agowined3d: Make WINED3DRS_DEBUGMONITORTOKEN a nogl state.
Stefan Dösinger [Sun, 10 Dec 2006 22:21:17 +0000 (23:21 +0100)] 
wined3d: Make WINED3DRS_DEBUGMONITORTOKEN a nogl state.

18 years agowined3d: Move WINED3DRS_PATCHSEGMENTS to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:21:14 +0000 (23:21 +0100)] 
wined3d: Move WINED3DRS_PATCHSEGMENTS to the state table.

18 years agowined3d: Move WINED3DRS_PATCHEDGESTYLE to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:21:10 +0000 (23:21 +0100)] 
wined3d: Move WINED3DRS_PATCHEDGESTYLE to the state table.

18 years agowined3d: Move WINED3DRS_MULTISAMPLEMASK to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:21:07 +0000 (23:21 +0100)] 
wined3d: Move WINED3DRS_MULTISAMPLEMASK to the state table.

18 years agowined3d: Move WINED3DRS_ANTIALIAS to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:21:03 +0000 (23:21 +0100)] 
wined3d: Move WINED3DRS_ANTIALIAS to the state table.

18 years agowined3d: Move WINED3DRS_STIPPLEDALPHA to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:59 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_STIPPLEDALPHA to the state table.

18 years agowined3d: Move WINED3DRS_TEXTUREPERSPECTIVE to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:56 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_TEXTUREPERSPECTIVE to the state table.

18 years agowined3d: Move WINED3DRS_DEPTHBIAS to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:52 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_DEPTHBIAS to the state table.

18 years agowined3d: Move WINED3DRS_SCISSORTESTENABLE to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:48 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_SCISSORTESTENABLE to the state table.

18 years agowined3d: Move WINED3DRS_MULTISAMPLEANTIALIAS to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:40 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_MULTISAMPLEANTIALIAS to the state table.

18 years agowined3d: Move WINED3DRS_WRAPx to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:45 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_WRAPx to the state table.

18 years agowined3d: Move WINED3DRS_POINTSPRITEENABLE to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:36 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_POINTSPRITEENABLE to the state table.

18 years agowined3d: WINED3DRS_SOFTWAREVERTEXPROCESSING is a nogl state.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:32 +0000 (23:20 +0100)] 
wined3d: WINED3DRS_SOFTWAREVERTEXPROCESSING is a nogl state.

18 years agowined3d: Move WINED3DRS_LASTPIXEL to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:29 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_LASTPIXEL to the state table.

18 years agowined3d: Move WINED3DRS_LOCALVIEWER to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:26 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_LOCALVIEWER to the state table.

18 years agowined3d: Move WINED3DRS_COLORWRITEENABLEx to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:22 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_COLORWRITEENABLEx to the state table.

18 years agowined3d: Move point scale render states to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:19 +0000 (23:20 +0100)] 
wined3d: Move point scale render states to the state table.

18 years agowined3d: Move WINED3DRS_POINTSIZE_MAX to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:15 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_POINTSIZE_MAX to the state table.

18 years agowined3d: Move WINED3DRS_POINTSIZE_MIN to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:12 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_POINTSIZE_MIN to the state table.

18 years agowined3d: Move WINED3DRS_POINTSIZE to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:09 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_POINTSIZE to the state table.

18 years agowined3d: Move WINED3DRS_NORMALIZENORMALS to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:05 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_NORMALIZENORMALS to the state table.

18 years agowined3d: Move WINED3DRS_ZBIAS to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:19:57 +0000 (23:19 +0100)] 
wined3d: Move WINED3DRS_ZBIAS to the state table.

18 years agowined3d: Move WINED3DRS_LINEPATTERN to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 22:20:01 +0000 (23:20 +0100)] 
wined3d: Move WINED3DRS_LINEPATTERN to the state table.

18 years agowined3d: Move WINED3DRS_COLORVERTEX to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 21:44:18 +0000 (22:44 +0100)] 
wined3d: Move WINED3DRS_COLORVERTEX to the state table.

18 years agocryptdll: Change storage class of module handle to static.
Andrew Talbot [Sat, 9 Dec 2006 22:49:08 +0000 (22:49 +0000)] 
cryptdll: Change storage class of module handle to static.

18 years agodinput: Move few helper functions and standardize them.
Vitaliy Margolen [Sun, 10 Dec 2006 21:15:29 +0000 (14:15 -0700)] 
dinput: Move few helper functions and standardize them.

18 years agodinput: Move internal function calculate_ids to where it's really used.
Vitaliy Margolen [Sun, 10 Dec 2006 21:15:20 +0000 (14:15 -0700)] 
dinput: Move internal function calculate_ids to where it's really used.

18 years agodinput: No need to copy default constant format. Use already defined static instead.
Vitaliy Margolen [Sun, 10 Dec 2006 21:15:08 +0000 (14:15 -0700)] 
dinput: No need to copy default constant format. Use already defined static instead.

18 years agoshell32: Avoid using garbage data in wildcard expansion.
Alexandre Julliard [Mon, 11 Dec 2006 14:37:35 +0000 (15:37 +0100)] 
shell32: Avoid using garbage data in wildcard expansion.

18 years agowgl: Make the WGL code independant of the number of supported pixel formats.
Roderick Colenbrander [Sun, 10 Dec 2006 18:17:03 +0000 (19:17 +0100)] 
wgl: Make the WGL code independant of the number of supported pixel formats.

18 years agowgl: Properly handle GLX_DRAWABLE_TYPE queries.
Chris Robinson [Sun, 10 Dec 2006 08:00:47 +0000 (00:00 -0800)] 
wgl: Properly handle GLX_DRAWABLE_TYPE queries.

18 years agodinput: Utilize IDirectInputDevice2AImpl_Acquire/Unacquire.
Christoph Frick [Mon, 11 Dec 2006 09:04:49 +0000 (10:04 +0100)] 
dinput: Utilize IDirectInputDevice2AImpl_Acquire/Unacquire.

18 years agodinput: Ensure that the size of the dev caps pointer is large enough - no exact.
Christoph Frick [Mon, 11 Dec 2006 09:05:22 +0000 (10:05 +0100)] 
dinput: Ensure that the size of the dev caps pointer is large enough - no exact.

18 years agodinput: Silently ignore DIPROP_CALIBRATIONMODE.
Christoph Frick [Mon, 11 Dec 2006 09:04:02 +0000 (10:04 +0100)] 
dinput: Silently ignore DIPROP_CALIBRATIONMODE.

18 years agodinput: Remove incorrect assumption about format.
Vitaliy Margolen [Mon, 11 Dec 2006 00:10:34 +0000 (17:10 -0700)] 
dinput: Remove incorrect assumption about format.

18 years agowined3d: Set WINED3DRS_INDEXEDVERTEXBLENDENABLE to state_nogl.
Stefan Dösinger [Fri, 8 Dec 2006 18:53:41 +0000 (19:53 +0100)] 
wined3d: Set WINED3DRS_INDEXEDVERTEXBLENDENABLE to state_nogl.

18 years agowined3d: Remove the unused tween factor stateblock member.
Stefan Dösinger [Fri, 8 Dec 2006 18:50:38 +0000 (19:50 +0100)] 
wined3d: Remove the unused tween factor stateblock member.

18 years agowined3d: Remove the unused stateblock vertex blend member.
Stefan Dösinger [Fri, 8 Dec 2006 19:02:31 +0000 (20:02 +0100)] 
wined3d: Remove the unused stateblock vertex blend member.

18 years agowined3d: Move wined3drs_fogdensity to the state table.
Stefan Dösinger [Sun, 10 Dec 2006 15:34:45 +0000 (16:34 +0100)] 
wined3d: Move wined3drs_fogdensity to the state table.

18 years agowined3d: Move WINED3DRS_FOGCOLOR to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 17:52:30 +0000 (18:52 +0100)] 
wined3d: Move WINED3DRS_FOGCOLOR to the state table.

18 years agowined3d: Make WINED3DRS_RANGEFOGENABLE a nogl state.
Stefan Dösinger [Fri, 8 Dec 2006 19:03:27 +0000 (20:03 +0100)] 
wined3d: Make WINED3DRS_RANGEFOGENABLE a nogl state.

18 years agowined3d: Move fog states to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 17:42:43 +0000 (18:42 +0100)] 
wined3d: Move fog states to the state table.

18 years agowined3d: Move WINED3DRS_STENCILWRITEMASK to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 17:41:05 +0000 (18:41 +0100)] 
wined3d: Move WINED3DRS_STENCILWRITEMASK to the state table.

18 years agowined3d: Move stencil states to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 17:39:45 +0000 (18:39 +0100)] 
wined3d: Move stencil states to the state table.

18 years agowined3d: Move WINED3DRS_SPECULARENABLE to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 17:38:30 +0000 (18:38 +0100)] 
wined3d: Move WINED3DRS_SPECULARENABLE to the state table.

18 years agowined3d: Move WINED3DRS_TEXTUREFACTOR to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 17:37:17 +0000 (18:37 +0100)] 
wined3d: Move WINED3DRS_TEXTUREFACTOR to the state table.

18 years agowined3d: Move WINED3DRS_BLENDOP to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 19:21:43 +0000 (20:21 +0100)] 
wined3d: Move WINED3DRS_BLENDOP to the state table.

18 years agowined3d: Move clipping states to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 17:01:23 +0000 (18:01 +0100)] 
wined3d: Move clipping states to the state table.

18 years agowined3d: Move alpha states to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 19:21:32 +0000 (20:21 +0100)] 
wined3d: Move alpha states to the state table.

18 years agowined3d: Implement IWineD3DDevice::Reset.
Stefan Dösinger [Fri, 8 Dec 2006 15:13:15 +0000 (16:13 +0100)] 
wined3d: Implement IWineD3DDevice::Reset.

18 years agomapi32/tests: Cast-qual warnings fix.
Andrew Talbot [Sat, 9 Dec 2006 18:05:56 +0000 (18:05 +0000)] 
mapi32/tests: Cast-qual warnings fix.

18 years agomapi32/tests: Cast-qual warnings fix.
Andrew Talbot [Sat, 9 Dec 2006 18:05:04 +0000 (18:05 +0000)] 
mapi32/tests: Cast-qual warnings fix.

18 years agogdi32/tests: Cast-qual warning fix.
Andrew Talbot [Sat, 9 Dec 2006 18:03:09 +0000 (18:03 +0000)] 
gdi32/tests: Cast-qual warning fix.

18 years agowined3d: Reduce the number of error messages.
Chris Robinson [Sun, 10 Dec 2006 14:04:29 +0000 (06:04 -0800)] 
wined3d: Reduce the number of error messages.

18 years agocomctl32: Fix imagelist regression from "comctl32: Remove Nx1 assumptions in ImageLis...
Peter Oberndorfer [Sun, 10 Dec 2006 15:57:06 +0000 (16:57 +0100)] 
comctl32: Fix imagelist regression from "comctl32: Remove Nx1 assumptions in ImageList_Read".

18 years agomade functions and variables static in some testcases.
Marcus Meissner [Sun, 10 Dec 2006 15:51:26 +0000 (16:51 +0100)] 
made functions and variables static in some testcases.

18 years agowinspool.drv/tests: Fix typo.
Paul Vriens [Sun, 10 Dec 2006 10:01:30 +0000 (11:01 +0100)] 
winspool.drv/tests: Fix typo.

18 years agodinput: Fix processing of custom format.
Vitaliy Margolen [Sun, 10 Dec 2006 06:56:58 +0000 (23:56 -0700)] 
dinput: Fix processing of custom format.

18 years agodmstyle: Dangling references fix.
Andrew Talbot [Sun, 10 Dec 2006 17:12:49 +0000 (17:12 +0000)] 
dmstyle: Dangling references fix.

18 years agodmloader: Dangling references fix.
Andrew Talbot [Sun, 10 Dec 2006 17:11:27 +0000 (17:11 +0000)] 
dmloader: Dangling references fix.

18 years agodmime: Dangling references fix.
Andrew Talbot [Sat, 9 Dec 2006 23:56:06 +0000 (23:56 +0000)] 
dmime: Dangling references fix.

18 years agokernel32/tests: Cast-qual warnings fix.
Andrew Talbot [Sat, 9 Dec 2006 18:04:14 +0000 (18:04 +0000)] 
kernel32/tests: Cast-qual warnings fix.

18 years agodbghelp: Sparse array speed up.
Eric Pouech [Sat, 9 Dec 2006 13:30:56 +0000 (14:30 +0100)] 
dbghelp: Sparse array speed up.

18 years agoRelease 0.9.27. wine-0.9.27
Alexandre Julliard [Fri, 8 Dec 2006 21:34:42 +0000 (22:34 +0100)] 
Release 0.9.27.

18 years agogdi32: Don't assume that the font codepages change with the user locale.
Alexandre Julliard [Fri, 8 Dec 2006 12:00:53 +0000 (13:00 +0100)] 
gdi32: Don't assume that the font codepages change with the user locale.

Codepages can be set independently with LC_CTYPE.

18 years agomsvcrt: Use LOCALE_USER_DEFAULT to get the proper codepage for the Unix locale.
Alexandre Julliard [Fri, 8 Dec 2006 11:56:17 +0000 (12:56 +0100)] 
msvcrt: Use LOCALE_USER_DEFAULT to get the proper codepage for the Unix locale.

18 years agoshlwapi: Fixed string tests for non-English locales.
Alexandre Julliard [Fri, 8 Dec 2006 11:55:43 +0000 (12:55 +0100)] 
shlwapi: Fixed string tests for non-English locales.

18 years agowined3d: Move blending related states to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 00:51:11 +0000 (01:51 +0100)] 
wined3d: Move blending related states to the state table.

18 years agowined3d: Move WINED3DRS_AMBIENT to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 00:45:26 +0000 (01:45 +0100)] 
wined3d: Move WINED3DRS_AMBIENT to the state table.

18 years agowined3d: Move WINED3DRS_ZFUNCENABLE to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 00:44:55 +0000 (01:44 +0100)] 
wined3d: Move WINED3DRS_ZFUNCENABLE to the state table.

18 years agowined3d: Move WINED3DRS_ZWRITEENABLE to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 00:43:25 +0000 (01:43 +0100)] 
wined3d: Move WINED3DRS_ZWRITEENABLE to the state table.

18 years agowined3d: Move WINED3DRS_DITHERENABLE to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 00:42:43 +0000 (01:42 +0100)] 
wined3d: Move WINED3DRS_DITHERENABLE to the state table.

18 years agowined3d: Move WINED3DRS_SHADEMODE to the state table.
Stefan Dösinger [Fri, 8 Dec 2006 00:42:16 +0000 (01:42 +0100)] 
wined3d: Move WINED3DRS_SHADEMODE to the state table.