This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3: kd> !analyze -v | |
******************************************************************************* | |
* * | |
* Bugcheck Analysis * | |
* * | |
******************************************************************************* | |
KERNEL_MODE_EXCEPTION_NOT_HANDLED_M (1000008e) | |
This is a very common bugcheck. Usually the exception address pinpoints | |
the driver/function that caused the problem. Always note this address |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Configuration] | |
firstmnu=2810 | |
FirstTime=0 | |
test=32 | |
ShowHiddenSystem=1 | |
UseLongNames=1 | |
Small83Names=0 | |
OldStyleTree=0 | |
autotreechange=0 | |
DirBrackets=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef _DEBUG | |
static void CheckGLError(const char *file, int line, const char *func) | |
{ | |
int err=0; | |
char msg[256]; | |
while( (err=_glGetError())!=0 ) | |
{ | |
sprintf(msg, "%s(%d) : [%s] GL_ERROR=0x%x\n", file, line, func, err); | |
#ifdef WIN32 | |
OutputDebugStringA(msg); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//-------------------------------------------------------------------------------------- | |
// Constant Buffer Variables | |
//-------------------------------------------------------------------------------------- | |
Texture2D FrontS : register( t0 ); | |
Texture2D BackS : register( t1 ); | |
Texture3D VolumeS : register( t2 ); | |
Texture2D TransferFunction : register( t3 ); | |
SamplerState samLinear : register( s0 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://www.shadertoy.com/view/MdsGz8 | |
// @eddbiddulph | |
// Use the mouse to rotate the view! | |
#define EPS vec2(1e-3, 0.0) | |
vec3 rotateX(float a, vec3 v) | |
{ | |
return vec3(v.x, cos(a) * v.y + sin(a) * v.z, cos(a) * v.z - sin(a) * v.y); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!D:/Python26/python.exe | |
# -*- coding:cp936 -*- | |
import socket | |
import sys | |
import wx | |
import win32api | |
import win32ui | |
import win32gui | |
import SocketServer | |
import threading |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LPCSTR ConvertSemantic( const D3DDECLUSAGE& d3d9Form ) | |
{ | |
switch( d3d9Form ) | |
{ | |
case D3DDECLUSAGE_POSITION: return "POSITION"; | |
case D3DDECLUSAGE_BLENDWEIGHT: return "BLENDWEIGHT"; | |
case D3DDECLUSAGE_BLENDINDICES: return "BLENDINDICES"; | |
case D3DDECLUSAGE_NORMAL: return "NORMAL"; | |
case D3DDECLUSAGE_PSIZE: return "PSIZE"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -pe "s/\sPage\s(\d+)/chr(ord(\1))-13/ge" <ch1_7_36.txt > cc.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BlendState NoBlend | |
{ | |
BlendEnable[0] = False; | |
}; | |
RasterizerState rsWireframe { FillMode = WireFrame; }; | |
technique11 | |
{ | |
pass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define BLOCK_RUNONCE_START {\ | |
static bool runonce_first = true;\ | |
if (runonce_first)\ | |
{\ | |
runonce_first = false; | |
#define BLOCK_RUNONCE_END }} |