port from perforce
This commit is contained in:
BIN
4kgfx/Crinkler/4kgfx.exe
Normal file
BIN
4kgfx/Crinkler/4kgfx.exe
Normal file
Binary file not shown.
2
4kgfx/Crinkler/4kgfx.lastbuildstate
Normal file
2
4kgfx/Crinkler/4kgfx.lastbuildstate
Normal file
@@ -0,0 +1,2 @@
|
||||
#v4.0:v100:false
|
||||
Crinkler|Win32|E:\Private\Frank\Code\blu-flame.org\4kgfx\|
|
||||
109
4kgfx/Crinkler/4kgfx.log
Normal file
109
4kgfx/Crinkler/4kgfx.log
Normal file
@@ -0,0 +1,109 @@
|
||||
Build started 2011-04-12 22:49:00.
|
||||
1>Project "E:\Private\Frank\Code\blu-flame.org\4kgfx\4kgfx.vcxproj" on node 2 (build target(s)).
|
||||
1>InitializeBuildStatus:
|
||||
Touching "Crinkler\4kgfx.unsuccessfulbuild".
|
||||
ClCompile:
|
||||
All outputs are up-to-date.
|
||||
D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /Zi /nologo /W0 /WX- /O1 /Os /Oy /GT /D WIN32 /D NDEBUG /D _CONSOLE /Gm- /MD /GS- /Gy- /fp:precise /fp:except- /Zc:wchar_t /Zc:forScope /GR- /openmp- /Yu"StdAfx.h" /Fp"Crinkler\4kgfx.pch" /FAs /Fa"Crinkler\\" /Fo"Crinkler\\" /Fd"Crinkler\vc100.pdb" /Gd /TP /showIncludes /analyze- /errorReport:prompt main.cpp
|
||||
main.cpp
|
||||
Link:
|
||||
E:\Private\Frank\Code\blu-flame.org\4kgfx\link.exe /ERRORREPORT:PROMPT /OUT:"E:\Private\Frank\Code\blu-flame.org\4kgfx\Crinkler\4kgfx.exe" /INCREMENTAL:NO /NOLOGO opengl32.lib kernel32.lib user32.lib gdi32.lib /NODEFAULTLIB /MANIFEST:NO /PDB:"E:\Private\Frank\Code\blu-flame.org\4kgfx\Crinkler\4kgfx.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /ENTRY:"main" /DYNAMICBASE /NXCOMPAT /IMPLIB:"E:\Private\Frank\Code\blu-flame.org\4kgfx\Crinkler\4kgfx.lib" /MACHINE:X86 Crinkler\main.obj
|
||||
Crinkler\mesh.obj
|
||||
Crinkler\stdafx.obj
|
||||
Crinkler\vecmath.obj /CRINKLER /COMPMODE:SLOW /PROGRESSGUI /ORDERTRIES:3000 /HASHSIZE:300 /RANGE:opengl32 /TRANSFORM:CALLS /REPORT:Report.html
|
||||
Crinkler 1.3 (Mar 5 2011) (c) 2005-2011 Aske Simon Christensen & Rune Stubbe
|
||||
|
||||
Ignoring unknown argument '/ERRORREPORT:PROMPT'
|
||||
Ignoring unknown argument '/INCREMENTAL:NO'
|
||||
Ignoring unknown argument '/NOLOGO'
|
||||
Ignoring unknown argument '/NODEFAULTLIB'
|
||||
Ignoring unknown argument '/MANIFEST:NO'
|
||||
Ignoring unknown argument '/PDB:E:\Private\Frank\Code\blu-flame.org\4kgfx\Crinkler\4kgfx.pdb'
|
||||
Ignoring unknown argument '/TLBID:1'
|
||||
Ignoring unknown argument '/DYNAMICBASE'
|
||||
Ignoring unknown argument '/NXCOMPAT'
|
||||
Ignoring unknown argument '/IMPLIB:E:\Private\Frank\Code\blu-flame.org\4kgfx\Crinkler\4kgfx.lib'
|
||||
Ignoring unknown argument '/MACHINE:X86'
|
||||
Target: E:\Private\Frank\Code\blu-flame.org\4kgfx\Crinkler\4kgfx.exe
|
||||
Subsystem type: CONSOLE
|
||||
Compression mode: SLOW
|
||||
Hash size: 300 MB
|
||||
Hash tries: 20
|
||||
Order tries: 3000
|
||||
Report: Report.html
|
||||
Transforms: CALLS
|
||||
Replace DLLs: NONE
|
||||
Range DLLs: opengl32
|
||||
|
||||
loading:
|
||||
opengl32.lib kernel32.lib user32.lib gdi32.lib
|
||||
Crinkler\main.obj Crinkler\mesh.obj Crinkler\stdafx.obj Crinkler\vecmath.obj
|
||||
|
||||
|
||||
Calls transformed: 147
|
||||
|
||||
Uncompressed size of code: 11496
|
||||
Uncompressed size of data: 440
|
||||
|
||||
|-- Estimating models for code ----------------------------|
|
||||
............................................................ 1m16s
|
||||
Ideal compressed size: 4607
|
||||
|
||||
|-- Estimating models for data ----------------------------|
|
||||
............................................................ 0m00s
|
||||
Ideal compressed size: 131
|
||||
|
||||
Estimated ideal compressed total size: 4739
|
||||
|
||||
|
||||
Reordering sections...
|
||||
Iteration: 0 Size: 4746.16
|
||||
Iteration: 1 Size: 4744.91
|
||||
Iteration: 32 Size: 4744.05
|
||||
Iteration: 47 Size: 4743.70
|
||||
Iteration: 57 Size: 4742.23
|
||||
Iteration: 61 Size: 4740.29
|
||||
Iteration: 66 Size: 4736.51
|
||||
Iteration: 144 Size: 4736.33
|
||||
Iteration: 198 Size: 4735.81
|
||||
Iteration: 248 Size: 4735.76
|
||||
Iteration: 514 Size: 4735.73
|
||||
Iteration: 516 Size: 4735.55
|
||||
Iteration: 561 Size: 4735.52
|
||||
Iteration: 916 Size: 4735.20
|
||||
Iteration: 1671 Size: 4735.17
|
||||
Iteration: 1996 Size: 4735.00
|
||||
Iteration: 2291 Size: 4734.95
|
||||
Iteration: 2541 Size: 4734.45
|
||||
Iteration: 2861 Size: 4733.36
|
||||
Time spent: 1m36s
|
||||
|
||||
Calls transformed: 147
|
||||
|
||||
|-- Reestimating models for code --------------------------|
|
||||
............................................................ 1m53s
|
||||
Ideal compressed size: 4554
|
||||
|
||||
|-- Reestimating models for data --------------------------|
|
||||
............................................................ 0m01s
|
||||
Ideal compressed size: 127
|
||||
|
||||
Reestimated ideal compressed total size: 4682
|
||||
|
||||
|-- Optimizing hash table size ----------------------------|
|
||||
............................................................ 0m03s
|
||||
Real compressed total size: 4701
|
||||
Bytes lost to hashing: 19
|
||||
|
||||
Final file size: 5096
|
||||
|
||||
time spent: 4m53s
|
||||
4kgfx.vcxproj -> E:\Private\Frank\Code\blu-flame.org\4kgfx\Crinkler\4kgfx.exe
|
||||
FinalizeBuildStatus:
|
||||
Deleting file "Crinkler\4kgfx.unsuccessfulbuild".
|
||||
Touching "Crinkler\4kgfx.lastbuildstate".
|
||||
1>Done Building Project "E:\Private\Frank\Code\blu-flame.org\4kgfx\4kgfx.vcxproj" (build target(s)).
|
||||
|
||||
Build succeeded.
|
||||
|
||||
Time Elapsed 00:04:53.29
|
||||
BIN
4kgfx/Crinkler/4kgfx.pch
Normal file
BIN
4kgfx/Crinkler/4kgfx.pch
Normal file
Binary file not shown.
BIN
4kgfx/Crinkler/CL.read.1.tlog
Normal file
BIN
4kgfx/Crinkler/CL.read.1.tlog
Normal file
Binary file not shown.
BIN
4kgfx/Crinkler/CL.write.1.tlog
Normal file
BIN
4kgfx/Crinkler/CL.write.1.tlog
Normal file
Binary file not shown.
BIN
4kgfx/Crinkler/cl.command.1.tlog
Normal file
BIN
4kgfx/Crinkler/cl.command.1.tlog
Normal file
Binary file not shown.
BIN
4kgfx/Crinkler/link.command.1.tlog
Normal file
BIN
4kgfx/Crinkler/link.command.1.tlog
Normal file
Binary file not shown.
BIN
4kgfx/Crinkler/link.read.1.tlog
Normal file
BIN
4kgfx/Crinkler/link.read.1.tlog
Normal file
Binary file not shown.
1
4kgfx/Crinkler/link.read.4.tlog
Normal file
1
4kgfx/Crinkler/link.read.4.tlog
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
BIN
4kgfx/Crinkler/link.write.1.tlog
Normal file
BIN
4kgfx/Crinkler/link.write.1.tlog
Normal file
Binary file not shown.
218
4kgfx/Crinkler/main.asm
Normal file
218
4kgfx/Crinkler/main.asm
Normal file
@@ -0,0 +1,218 @@
|
||||
; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.40219.01
|
||||
|
||||
TITLE E:\Private\Frank\Code\blu-flame.org\4kgfx\main.cpp
|
||||
.686P
|
||||
.XMM
|
||||
include listing.inc
|
||||
.model flat
|
||||
|
||||
INCLUDELIB MSVCRT
|
||||
INCLUDELIB OLDNAMES
|
||||
|
||||
CONST SEGMENT
|
||||
_pfd DW 00H
|
||||
DW 01H
|
||||
DD 021H
|
||||
DB 00H
|
||||
DB 020H
|
||||
DB 00H
|
||||
DB 00H
|
||||
DB 00H
|
||||
DB 00H
|
||||
DB 00H
|
||||
DB 00H
|
||||
DB 00H
|
||||
DB 00H
|
||||
DB 00H
|
||||
DB 00H
|
||||
DB 00H
|
||||
DB 00H
|
||||
DB 08H
|
||||
ORG $+17
|
||||
_attribs DD 02091H
|
||||
DD 03H
|
||||
DD 02092H
|
||||
DD 03H
|
||||
DD 02094H
|
||||
DD 02H
|
||||
DD 00H
|
||||
CONST ENDS
|
||||
screenSettings SEGMENT
|
||||
_screenSettings DB 00H
|
||||
ORG $+31
|
||||
DW 00H
|
||||
DW 00H
|
||||
DW 07cH
|
||||
DW 00H
|
||||
DD 01c0000H
|
||||
DW 00H
|
||||
ORG $+14
|
||||
DW 00H
|
||||
DW 00H
|
||||
DW 00H
|
||||
DW 00H
|
||||
DW 00H
|
||||
DB 00H
|
||||
ORG $+31
|
||||
DW 00H
|
||||
DD 020H
|
||||
DD 0500H
|
||||
DD 02d0H
|
||||
DD 00H
|
||||
DD 00H
|
||||
screenSettings ENDS
|
||||
PUBLIC ??_C@_0BL@PDDHMPGF@wglCreateContextAttribsARB?$AA@ ; `string'
|
||||
PUBLIC ??_C@_06GGHJAEBN@static?$AA@ ; `string'
|
||||
PUBLIC _main
|
||||
EXTRN __imp__ExitProcess@4:PROC
|
||||
EXTRN __imp__GetAsyncKeyState@4:PROC
|
||||
EXTRN __imp__SwapBuffers@4:PROC
|
||||
EXTRN ?Render@Mesh@@QAEXXZ:PROC ; Mesh::Render
|
||||
EXTRN __imp__wglGetProcAddress@4:PROC
|
||||
EXTRN __imp__wglMakeCurrent@8:PROC
|
||||
EXTRN __imp__wglCreateContext@4:PROC
|
||||
EXTRN __imp__SetPixelFormat@12:PROC
|
||||
EXTRN __imp__ChoosePixelFormat@8:PROC
|
||||
EXTRN __imp__GetDC@4:PROC
|
||||
EXTRN __imp__CreateWindowExA@48:PROC
|
||||
EXTRN __imp__ShowCursor@4:PROC
|
||||
EXTRN __imp__ChangeDisplaySettingsA@8:PROC
|
||||
; COMDAT ??_C@_0BL@PDDHMPGF@wglCreateContextAttribsARB?$AA@
|
||||
; File e:\private\frank\code\blu-flame.org\4kgfx\main.cpp
|
||||
CONST SEGMENT
|
||||
??_C@_0BL@PDDHMPGF@wglCreateContextAttribsARB?$AA@ DB 'wglCreateContextAt'
|
||||
DB 'tribsARB', 00H ; `string'
|
||||
CONST ENDS
|
||||
; COMDAT ??_C@_06GGHJAEBN@static?$AA@
|
||||
CONST SEGMENT
|
||||
??_C@_06GGHJAEBN@static?$AA@ DB 'static', 00H ; `string'
|
||||
; Function compile flags: /Ogspy
|
||||
CONST ENDS
|
||||
func_main SEGMENT
|
||||
_main PROC
|
||||
|
||||
; 8 : {
|
||||
|
||||
push ebx
|
||||
push esi
|
||||
push edi
|
||||
|
||||
; 9 : #ifndef _DEBUG
|
||||
; 10 : ChangeDisplaySettingsA(&screenSettings, CDS_FULLSCREEN);
|
||||
|
||||
push 4
|
||||
push OFFSET _screenSettings
|
||||
call DWORD PTR __imp__ChangeDisplaySettingsA@8
|
||||
|
||||
; 11 : ShowCursor(0);
|
||||
|
||||
xor edi, edi
|
||||
push edi
|
||||
call DWORD PTR __imp__ShowCursor@4
|
||||
|
||||
; 12 : #endif
|
||||
; 13 : HDC hDC=GetDC(CreateWindowExA(0, "static", 0,WS_VISIBLE|WS_POPUP|WS_CLIPSIBLINGS|WS_CLIPCHILDREN,0,0,XRES,YRES,0,0,0,0));
|
||||
|
||||
push edi
|
||||
push edi
|
||||
push edi
|
||||
push edi
|
||||
push 720 ; 000002d0H
|
||||
push 1280 ; 00000500H
|
||||
push edi
|
||||
push edi
|
||||
push -1778384896 ; 96000000H
|
||||
push edi
|
||||
push OFFSET ??_C@_06GGHJAEBN@static?$AA@
|
||||
push edi
|
||||
call DWORD PTR __imp__CreateWindowExA@48
|
||||
push eax
|
||||
call DWORD PTR __imp__GetDC@4
|
||||
mov esi, eax
|
||||
|
||||
; 14 : SetPixelFormat(hDC, ChoosePixelFormat(hDC, &pfd), &pfd);
|
||||
|
||||
mov eax, OFFSET _pfd
|
||||
push eax
|
||||
push eax
|
||||
push esi
|
||||
call DWORD PTR __imp__ChoosePixelFormat@8
|
||||
push eax
|
||||
push esi
|
||||
call DWORD PTR __imp__SetPixelFormat@12
|
||||
|
||||
; 15 : wglMakeCurrent(hDC, wglCreateContext(hDC));
|
||||
|
||||
push esi
|
||||
call DWORD PTR __imp__wglCreateContext@4
|
||||
mov ebx, DWORD PTR __imp__wglMakeCurrent@8
|
||||
push eax
|
||||
push esi
|
||||
call ebx
|
||||
|
||||
; 16 : wglMakeCurrent(hDC, ((PFNWGLCREATECONTEXTATTRIBSARBPROC)wglGetProcAddress("wglCreateContextAttribsARB"))(hDC, 0, attribs));
|
||||
|
||||
push OFFSET _attribs
|
||||
push edi
|
||||
push esi
|
||||
push OFFSET ??_C@_0BL@PDDHMPGF@wglCreateContextAttribsARB?$AA@
|
||||
call DWORD PTR __imp__wglGetProcAddress@4
|
||||
call eax
|
||||
push eax
|
||||
push esi
|
||||
call ebx
|
||||
|
||||
; 17 :
|
||||
; 18 : #ifdef _DEBUG
|
||||
; 19 : ((PFNGLDEBUGMESSAGECALLBACKAMDPROC)wglGetProcAddress("glDebugMessageCallbackAMD"))(glDebugOutputAMD, 0);
|
||||
; 20 : #endif
|
||||
; 21 :
|
||||
; 22 : cube.Render();
|
||||
|
||||
mov ecx, OFFSET _cube
|
||||
call ?Render@Mesh@@QAEXXZ ; Mesh::Render
|
||||
|
||||
; 23 : SwapBuffers(hDC);
|
||||
|
||||
push esi
|
||||
call DWORD PTR __imp__SwapBuffers@4
|
||||
$LL2@main:
|
||||
|
||||
; 24 :
|
||||
; 25 : while (!GetAsyncKeyState(27));
|
||||
|
||||
push 27 ; 0000001bH
|
||||
call DWORD PTR __imp__GetAsyncKeyState@4
|
||||
test ax, ax
|
||||
je SHORT $LL2@main
|
||||
|
||||
; 26 : ExitProcess(0);
|
||||
|
||||
push edi
|
||||
call DWORD PTR __imp__ExitProcess@4
|
||||
pop edi
|
||||
pop esi
|
||||
pop ebx
|
||||
$LN7@main:
|
||||
$LN6@main:
|
||||
_main ENDP
|
||||
func_main ENDS
|
||||
EXTRN ??0Mesh@@QAE@XZ:PROC ; Mesh::Mesh
|
||||
; Function compile flags: /Ogspy
|
||||
; COMDAT ??__Ecube@@YAXXZ
|
||||
compile SEGMENT
|
||||
??__Ecube@@YAXXZ PROC ; `dynamic initializer for 'cube'', COMDAT
|
||||
|
||||
; 4 : static Mesh cube;
|
||||
|
||||
mov ecx, OFFSET _cube
|
||||
jmp ??0Mesh@@QAE@XZ ; Mesh::Mesh
|
||||
??__Ecube@@YAXXZ ENDP ; `dynamic initializer for 'cube''
|
||||
compile ENDS
|
||||
_BSS SEGMENT
|
||||
_cube DB 0488040H DUP (?)
|
||||
_BSS ENDS
|
||||
CRT$XCU SEGMENT
|
||||
_cube$initializer$ DD FLAT:??__Ecube@@YAXXZ
|
||||
CRT$XCU ENDS
|
||||
END
|
||||
BIN
4kgfx/Crinkler/main.obj
Normal file
BIN
4kgfx/Crinkler/main.obj
Normal file
Binary file not shown.
2978
4kgfx/Crinkler/mesh.asm
Normal file
2978
4kgfx/Crinkler/mesh.asm
Normal file
File diff suppressed because it is too large
Load Diff
BIN
4kgfx/Crinkler/mesh.obj
Normal file
BIN
4kgfx/Crinkler/mesh.obj
Normal file
Binary file not shown.
176
4kgfx/Crinkler/stdafx.asm
Normal file
176
4kgfx/Crinkler/stdafx.asm
Normal file
@@ -0,0 +1,176 @@
|
||||
; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.40219.01
|
||||
|
||||
TITLE E:\Private\Frank\Code\blu-flame.org\4kgfx\stdafx.cpp
|
||||
.686P
|
||||
.XMM
|
||||
include listing.inc
|
||||
.model flat
|
||||
|
||||
INCLUDELIB MSVCRT
|
||||
INCLUDELIB OLDNAMES
|
||||
|
||||
PUBLIC ?glShaderSource@@3P6GXIHPAPBDPBH@ZA ; glShaderSource
|
||||
PUBLIC ?glCreateProgram@@3P6GIXZA ; glCreateProgram
|
||||
PUBLIC ?glGenBuffers@@3P6GXHPAI@ZA ; glGenBuffers
|
||||
PUBLIC ?glUseProgram@@3P6GXI@ZA ; glUseProgram
|
||||
PUBLIC ?glBindBuffer@@3P6GXII@ZA ; glBindBuffer
|
||||
PUBLIC ?glLinkProgram@@3P6GXI@ZA ; glLinkProgram
|
||||
PUBLIC ?glVertexAttribPointer@@3P6GXIHIEHPBX@ZA ; glVertexAttribPointer
|
||||
PUBLIC ?glCreateShader@@3P6GII@ZA ; glCreateShader
|
||||
PUBLIC ?glEnableVertexAttribArray@@3P6GXI@ZA ; glEnableVertexAttribArray
|
||||
PUBLIC ?glBindVertexArray@@3P6GXI@ZA ; glBindVertexArray
|
||||
PUBLIC ?glMapBuffer@@3P6GPAXII@ZA ; glMapBuffer
|
||||
PUBLIC ?glCompileShader@@3P6GXI@ZA ; glCompileShader
|
||||
PUBLIC ?glUnmapBuffer@@3P6GEI@ZA ; glUnmapBuffer
|
||||
PUBLIC ?glGetAttribLocation@@3P6GHIPBD@ZA ; glGetAttribLocation
|
||||
PUBLIC ?glAttachShader@@3P6GXII@ZA ; glAttachShader
|
||||
PUBLIC ?glBufferData@@3P6GXI_JPBXI@ZA ; glBufferData
|
||||
PUBLIC ?glGenVertexArrays@@3P6GXHPAI@ZA ; glGenVertexArrays
|
||||
PUBLIC ?currentProgramId@@3IA ; currentProgramId
|
||||
PUBLIC ?MaxVertexBuffer@Mesh@@2HB ; Mesh::MaxVertexBuffer
|
||||
PUBLIC ?MaxIndexBuffer@Mesh@@2HB ; Mesh::MaxIndexBuffer
|
||||
_BSS SEGMENT
|
||||
?glShaderSource@@3P6GXIHPAPBDPBH@ZA DD 01H DUP (?) ; glShaderSource
|
||||
?glCreateProgram@@3P6GIXZA DD 01H DUP (?) ; glCreateProgram
|
||||
?glGenBuffers@@3P6GXHPAI@ZA DD 01H DUP (?) ; glGenBuffers
|
||||
?glUseProgram@@3P6GXI@ZA DD 01H DUP (?) ; glUseProgram
|
||||
?glBindBuffer@@3P6GXII@ZA DD 01H DUP (?) ; glBindBuffer
|
||||
?glLinkProgram@@3P6GXI@ZA DD 01H DUP (?) ; glLinkProgram
|
||||
?glVertexAttribPointer@@3P6GXIHIEHPBX@ZA DD 01H DUP (?) ; glVertexAttribPointer
|
||||
?glCreateShader@@3P6GII@ZA DD 01H DUP (?) ; glCreateShader
|
||||
?glEnableVertexAttribArray@@3P6GXI@ZA DD 01H DUP (?) ; glEnableVertexAttribArray
|
||||
?glBindVertexArray@@3P6GXI@ZA DD 01H DUP (?) ; glBindVertexArray
|
||||
?glMapBuffer@@3P6GPAXII@ZA DD 01H DUP (?) ; glMapBuffer
|
||||
?glCompileShader@@3P6GXI@ZA DD 01H DUP (?) ; glCompileShader
|
||||
?glUnmapBuffer@@3P6GEI@ZA DD 01H DUP (?) ; glUnmapBuffer
|
||||
?glGetAttribLocation@@3P6GHIPBD@ZA DD 01H DUP (?) ; glGetAttribLocation
|
||||
?glAttachShader@@3P6GXII@ZA DD 01H DUP (?) ; glAttachShader
|
||||
?glBufferData@@3P6GXI_JPBXI@ZA DD 01H DUP (?) ; glBufferData
|
||||
?glGenVertexArrays@@3P6GXHPAI@ZA DD 01H DUP (?) ; glGenVertexArrays
|
||||
?currentProgramId@@3IA DD 01H DUP (?) ; currentProgramId
|
||||
_BSS ENDS
|
||||
; COMDAT ?MaxIndexBuffer@Mesh@@2HB
|
||||
CONST SEGMENT
|
||||
?MaxIndexBuffer@Mesh@@2HB DD 048000H ; Mesh::MaxIndexBuffer
|
||||
CONST ENDS
|
||||
; COMDAT ?MaxVertexBuffer@Mesh@@2HB
|
||||
CONST SEGMENT
|
||||
?MaxVertexBuffer@Mesh@@2HB DD 010000H ; Mesh::MaxVertexBuffer
|
||||
CONST ENDS
|
||||
screenSettings SEGMENT
|
||||
_screenSettings DB 00H
|
||||
ORG $+31
|
||||
DW 00H
|
||||
DW 00H
|
||||
DW 07cH
|
||||
DW 00H
|
||||
DD 01c0000H
|
||||
DW 00H
|
||||
ORG $+14
|
||||
DW 00H
|
||||
DW 00H
|
||||
DW 00H
|
||||
DW 00H
|
||||
DW 00H
|
||||
DB 00H
|
||||
ORG $+31
|
||||
DW 00H
|
||||
DD 020H
|
||||
DD 0500H
|
||||
DD 02d0H
|
||||
DD 00H
|
||||
DD 00H
|
||||
screenSettings ENDS
|
||||
PUBLIC ?compileShader@@YAIPBD0@Z ; compileShader
|
||||
; Function compile flags: /Ogspy
|
||||
; File e:\private\frank\code\blu-flame.org\4kgfx\ogl3.h
|
||||
compile SEGMENT
|
||||
_vsh$ = 8 ; size = 4
|
||||
_fsh$ = 12 ; size = 4
|
||||
?compileShader@@YAIPBD0@Z PROC ; compileShader
|
||||
|
||||
; 36 : {
|
||||
|
||||
push esi
|
||||
push edi
|
||||
|
||||
; 37 : GLuint s,p;
|
||||
; 38 : p = glCreateProgram();
|
||||
|
||||
call DWORD PTR ?glCreateProgram@@3P6GIXZA ; glCreateProgram
|
||||
|
||||
; 39 : s = glCreateShader(GL_VERTEX_SHADER);
|
||||
|
||||
push 35633 ; 00008b31H
|
||||
mov esi, eax
|
||||
call DWORD PTR ?glCreateShader@@3P6GII@ZA ; glCreateShader
|
||||
mov edi, eax
|
||||
|
||||
; 40 : glShaderSource(s, 1, &vsh, NULL);
|
||||
|
||||
push 0
|
||||
lea eax, DWORD PTR _vsh$[esp+8]
|
||||
push eax
|
||||
push 1
|
||||
push edi
|
||||
call DWORD PTR ?glShaderSource@@3P6GXIHPAPBDPBH@ZA ; glShaderSource
|
||||
|
||||
; 41 : glCompileShader(s);
|
||||
|
||||
push edi
|
||||
call DWORD PTR ?glCompileShader@@3P6GXI@ZA ; glCompileShader
|
||||
|
||||
; 42 : glAttachShader(p, s);
|
||||
|
||||
push edi
|
||||
push esi
|
||||
call DWORD PTR ?glAttachShader@@3P6GXII@ZA ; glAttachShader
|
||||
|
||||
; 43 : s = glCreateShader(GL_FRAGMENT_SHADER);
|
||||
|
||||
push 35632 ; 00008b30H
|
||||
call DWORD PTR ?glCreateShader@@3P6GII@ZA ; glCreateShader
|
||||
mov edi, eax
|
||||
|
||||
; 44 : glShaderSource(s, 1, &fsh, NULL);
|
||||
|
||||
push 0
|
||||
lea eax, DWORD PTR _fsh$[esp+8]
|
||||
push eax
|
||||
push 1
|
||||
push edi
|
||||
call DWORD PTR ?glShaderSource@@3P6GXIHPAPBDPBH@ZA ; glShaderSource
|
||||
|
||||
; 45 : glCompileShader(s);
|
||||
|
||||
push edi
|
||||
call DWORD PTR ?glCompileShader@@3P6GXI@ZA ; glCompileShader
|
||||
|
||||
; 46 : glAttachShader(p, s);
|
||||
|
||||
push edi
|
||||
push esi
|
||||
call DWORD PTR ?glAttachShader@@3P6GXII@ZA ; glAttachShader
|
||||
|
||||
; 47 : glLinkProgram(p);
|
||||
|
||||
push esi
|
||||
call DWORD PTR ?glLinkProgram@@3P6GXI@ZA ; glLinkProgram
|
||||
|
||||
; 48 : glUseProgram(p);
|
||||
|
||||
push esi
|
||||
call DWORD PTR ?glUseProgram@@3P6GXI@ZA ; glUseProgram
|
||||
pop edi
|
||||
|
||||
; 49 : return p;
|
||||
|
||||
mov eax, esi
|
||||
pop esi
|
||||
|
||||
; 50 : };
|
||||
|
||||
ret 0
|
||||
?compileShader@@YAIPBD0@Z ENDP ; compileShader
|
||||
compile ENDS
|
||||
END
|
||||
BIN
4kgfx/Crinkler/stdafx.obj
Normal file
BIN
4kgfx/Crinkler/stdafx.obj
Normal file
Binary file not shown.
BIN
4kgfx/Crinkler/vc100.pdb
Normal file
BIN
4kgfx/Crinkler/vc100.pdb
Normal file
Binary file not shown.
4155
4kgfx/Crinkler/vecmath.asm
Normal file
4155
4kgfx/Crinkler/vecmath.asm
Normal file
File diff suppressed because it is too large
Load Diff
BIN
4kgfx/Crinkler/vecmath.obj
Normal file
BIN
4kgfx/Crinkler/vecmath.obj
Normal file
Binary file not shown.
Reference in New Issue
Block a user