Finding a partner is the first and, probably, most difficult step in any conversation. Sometimes, if you're lucky, willing participants might come to you. Maybe, this is because you somehow tricked them into liking you in the past. Maybe, they are just so desperate for human contact that they settle even for your miserable self, since you're the only one available at the time. Regardless of their motive, at this point it's vitally important to avoid exhibiting strong patterns of antisocial behaviour, as that might compromise your future conversation-having chances. If your current situation is inhospitable to a productive dialogue (you are wrestling an angry bear on top of a train carriage, speeding through a snowy mountain range, while being shot at by some baddies in a helicopter), saying something akin to "Can't talk right now, about to go into a tunnel!" is not beyond the limits of social acceptance. In fact, it is likely to be infinitely
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>NaCl Test</title> | |
<script type="text/javascript"> | |
ApplicationModule = null; // Global application object. | |
statusText = 'NO-STATUS'; | |
// Indicate load success. |
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
#include <cstdio> | |
#include <string> | |
#include <GLES2/gl2.h> | |
#include <tr1/memory> | |
#include <ppapi/cpp/instance.h> | |
#include <ppapi/cpp/module.h> | |
#include <ppapi/cpp/var.h> | |
#include <ppapi/gles2/gl2ext_ppapi.h> | |
#include <ppapi/c/ppb_opengles.h> |
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
/*--------------------------------------------------------------------------------- | |
nehe lesson 2 port to GX by WinterMute | |
---------------------------------------------------------------------------------*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <malloc.h> |
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
void fun() | |
{ | |
union Test1 | |
{ | |
struct | |
{ | |
u32 foo : 2; | |
u32 bar : 2; | |
}; |
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
vector: | |
// Optimize the common case of length == 32 which is used by Interpreter::dcb* | |
bool destroy_block = true; | |
if (length == 32) | |
00000000008D8EC1 cmp r8d,20h | |
00000000008D8EC5 jne JitBaseBlockCache::InvalidateICache+6Eh (08D8F0Eh) | |
{ | |
if (!valid_block[pAddr / 32]) | |
00000000008D8EC7 mov r11,qword ptr [rcx+40h] |
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
// cl /nologo /I "%DXSDK_DIR%\Include" rastafontgpu.cpp /link /LIBPATH:"%DXSDK_DIR%\Lib\x86" | |
#include <tchar.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <windows.h> | |
#include <D3D11.h> | |
#pragma comment(lib, "kernel32.lib") |
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
Texture2D<uint> input : register( t0 ); | |
RWTexture2D<float4> output : register( u0 ); | |
static const uint rastafont8x8_bitmap[] = | |
{ | |
0x00000000,0x00000000,0x0c1e1e0c,0x000c000c,0x00363636,0x00000000,0x367f3636,0x0036367f, | |
0x1e033e0c,0x000c1f30,0x18336300,0x0063660c,0x6e1c361c,0x006e333b,0x00030606,0x00000000, | |
0x06060c18,0x00180c06,0x18180c06,0x00060c18,0xff3c6600,0x0000663c,0x3f0c0c00,0x00000c0c, | |
0x00000000,0x060c0e00,0x3f000000,0x00000000,0x00000000,0x000c0c00,0x0c183060,0x00010306, | |
0x3f3b331e,0x001e3337,0x0c0c0f0c,0x003f0c0c,0x1c30331e,0x003f3306,0x1c30331e,0x001e3330, |
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
diff --git a/source/reversez.cpp b/source/reversez.cpp | |
index eb061ff..81b165d 100644 | |
--- a/source/reversez.cpp | |
+++ b/source/reversez.cpp | |
@@ -10,6 +10,8 @@ | |
#include <Rush/MathPlane.h> | |
#include <Rush/UtilTimer.h> | |
+#include <math.h> | |
+ |
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
How to compile BRDF Explorer for Windows | |
======================================== | |
Use this code https://github.com/wdas/brdf.git | |
The following external dependencies are required (versions are ones that I used, other might also work): | |
- Qt 4.8.1 | |
- GLEW 1.9.0 | |
- ZLib 1.2.5 | |
- GLUT 3.7 | |
All external dependencies except Qt are packaged here: https://dl.dropbox.com/u/1010228/brdf-depends-win32.zip |