daily update on 20240305 by nitload youmu
This commit is contained in:
@@ -0,0 +1,172 @@
|
||||
|
||||
|
||||
|
||||
|
||||
Info @ 2024-02-28T02:20:13.4489276+08:00
|
||||
Program start
|
||||
Info @ 2024-02-28T02:20:13.4685956+08:00
|
||||
Successfully create a context binded to current form. Its ID is 2625888933568
|
||||
Info @ 2024-02-28T02:20:13.5600371+08:00
|
||||
Find core OpenGL version.
|
||||
Successfully load all OpenGL 1.0 APIs
|
||||
Successfully load all OpenGL 1.1 APIs
|
||||
Successfully load all OpenGL 1.2 APIs
|
||||
Successfully load all OpenGL 1.3 APIs
|
||||
Successfully load all OpenGL 1.4 APIs
|
||||
Successfully load all OpenGL 1.5 APIs
|
||||
Successfully load all OpenGL 2.0 APIs
|
||||
Successfully load all OpenGL 2.1 APIs
|
||||
Successfully load all OpenGL 3.0 APIs
|
||||
Successfully load all OpenGL 3.1 APIs
|
||||
Successfully load all OpenGL 3.2 APIs
|
||||
Successfully load all OpenGL 3.3 APIs
|
||||
Successfully load all OpenGL 4.0 APIs
|
||||
Successfully load all OpenGL 4.1 APIs
|
||||
Successfully load all OpenGL 4.2 APIs
|
||||
Successfully load all OpenGL 4.3 APIs
|
||||
Successfully load all OpenGL 4.4 APIs
|
||||
Successfully load all OpenGL 4.5 APIs
|
||||
Successfully load all OpenGL 4.6 APIs
|
||||
Info @ 2024-02-28T02:20:13.5697233+08:00
|
||||
No supported OpenGL extensions are found.
|
||||
Error @ 2024-02-28T02:20:13.5899504+08:00
|
||||
Could not find a part of the path 'D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpC\Shader\vertex.vert'.
|
||||
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
|
||||
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
|
||||
at System.IO.File.InternalReadAllText(String path, Encoding encoding)
|
||||
at System.IO.File.ReadAllText(String path)
|
||||
at StgSharp.StgSharpDemoForm.Init(Object[] args) in D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\Program.cs:line 74
|
||||
at StgSharp.Program.Main(String[] args) in D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\Program.cs:line 195
|
||||
|
||||
|
||||
|
||||
|
||||
Info @ 2024-02-28T02:34:05.2611141+08:00
|
||||
Program start
|
||||
Info @ 2024-02-28T02:34:07.5537999+08:00
|
||||
Successfully create a context binded to current form. Its ID is 2125629822832
|
||||
Info @ 2024-02-28T02:34:07.8568692+08:00
|
||||
Find core OpenGL version.
|
||||
Successfully load all OpenGL 1.0 APIs
|
||||
Successfully load all OpenGL 1.1 APIs
|
||||
Successfully load all OpenGL 1.2 APIs
|
||||
Successfully load all OpenGL 1.3 APIs
|
||||
Successfully load all OpenGL 1.4 APIs
|
||||
Successfully load all OpenGL 1.5 APIs
|
||||
Successfully load all OpenGL 2.0 APIs
|
||||
Successfully load all OpenGL 2.1 APIs
|
||||
Successfully load all OpenGL 3.0 APIs
|
||||
Successfully load all OpenGL 3.1 APIs
|
||||
Successfully load all OpenGL 3.2 APIs
|
||||
Successfully load all OpenGL 3.3 APIs
|
||||
Successfully load all OpenGL 4.0 APIs
|
||||
Successfully load all OpenGL 4.1 APIs
|
||||
Successfully load all OpenGL 4.2 APIs
|
||||
Successfully load all OpenGL 4.3 APIs
|
||||
Successfully load all OpenGL 4.4 APIs
|
||||
Successfully load all OpenGL 4.5 APIs
|
||||
Successfully load all OpenGL 4.6 APIs
|
||||
Info @ 2024-02-28T02:34:07.8680130+08:00
|
||||
No supported OpenGL extensions are found.
|
||||
Error @ 2024-02-28T02:34:10.9188775+08:00
|
||||
Could not find a part of the path 'D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpC\Shader\vertex.vert'.
|
||||
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
|
||||
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
|
||||
at System.IO.File.InternalReadAllText(String path, Encoding encoding)
|
||||
at System.IO.File.ReadAllText(String path)
|
||||
at StgSharp.StgSharpDemoForm.Init(Object[] args) in D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\Program.cs:line 74
|
||||
at StgSharp.Program.Main(String[] args) in D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\Program.cs:line 195
|
||||
|
||||
|
||||
|
||||
|
||||
Info @ 2024-02-29T08:57:53.0662711+08:00
|
||||
Program start
|
||||
Info @ 2024-02-29T08:57:53.5645131+08:00
|
||||
Successfully create a context binded to current form. Its ID is 2791335327184
|
||||
Info @ 2024-02-29T08:57:54.1988863+08:00
|
||||
Find core OpenGL version.
|
||||
Successfully load all OpenGL 1.0 APIs
|
||||
Successfully load all OpenGL 1.1 APIs
|
||||
Successfully load all OpenGL 1.2 APIs
|
||||
Successfully load all OpenGL 1.3 APIs
|
||||
Successfully load all OpenGL 1.4 APIs
|
||||
Successfully load all OpenGL 1.5 APIs
|
||||
Successfully load all OpenGL 2.0 APIs
|
||||
Successfully load all OpenGL 2.1 APIs
|
||||
Successfully load all OpenGL 3.0 APIs
|
||||
Successfully load all OpenGL 3.1 APIs
|
||||
Successfully load all OpenGL 3.2 APIs
|
||||
Successfully load all OpenGL 3.3 APIs
|
||||
Successfully load all OpenGL 4.0 APIs
|
||||
Successfully load all OpenGL 4.1 APIs
|
||||
Successfully load all OpenGL 4.2 APIs
|
||||
Successfully load all OpenGL 4.3 APIs
|
||||
Successfully load all OpenGL 4.4 APIs
|
||||
Successfully load all OpenGL 4.5 APIs
|
||||
Successfully load all OpenGL 4.6 APIs
|
||||
Info @ 2024-02-29T08:57:54.2300139+08:00
|
||||
No supported OpenGL extensions are found.
|
||||
Error @ 2024-02-29T08:57:54.3474832+08:00
|
||||
Could not find a part of the path 'D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpC\Shader\vertex.vert'.
|
||||
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
|
||||
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
|
||||
at System.IO.File.InternalReadAllText(String path, Encoding encoding)
|
||||
at System.IO.File.ReadAllText(String path)
|
||||
at StgSharp.StgSharpDemoForm.Init(Object[] args) in D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\Program.cs:line 74
|
||||
at StgSharp.Program.Main(String[] args) in D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\Program.cs:line 195
|
||||
|
||||
|
||||
|
||||
|
||||
Info @ 2024-02-29T09:45:26.1651662+08:00
|
||||
Program start
|
||||
Info @ 2024-02-29T09:45:26.4662730+08:00
|
||||
Successfully create a context binded to current form. Its ID is 2327120380800
|
||||
Info @ 2024-02-29T09:45:27.1073683+08:00
|
||||
Find core OpenGL version.
|
||||
Successfully load all OpenGL 1.0 APIs
|
||||
Successfully load all OpenGL 1.1 APIs
|
||||
Successfully load all OpenGL 1.2 APIs
|
||||
Successfully load all OpenGL 1.3 APIs
|
||||
Successfully load all OpenGL 1.4 APIs
|
||||
Successfully load all OpenGL 1.5 APIs
|
||||
Successfully load all OpenGL 2.0 APIs
|
||||
Successfully load all OpenGL 2.1 APIs
|
||||
Successfully load all OpenGL 3.0 APIs
|
||||
Successfully load all OpenGL 3.1 APIs
|
||||
Successfully load all OpenGL 3.2 APIs
|
||||
Successfully load all OpenGL 3.3 APIs
|
||||
Successfully load all OpenGL 4.0 APIs
|
||||
Successfully load all OpenGL 4.1 APIs
|
||||
Successfully load all OpenGL 4.2 APIs
|
||||
Successfully load all OpenGL 4.3 APIs
|
||||
Successfully load all OpenGL 4.4 APIs
|
||||
Successfully load all OpenGL 4.5 APIs
|
||||
Successfully load all OpenGL 4.6 APIs
|
||||
Info @ 2024-02-29T09:45:27.1384410+08:00
|
||||
No supported OpenGL extensions are found.
|
||||
Error @ 2024-02-29T09:45:27.2872803+08:00
|
||||
Could not find a part of the path 'D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpC\Shader\vertex.vert'.
|
||||
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
|
||||
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
|
||||
at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
|
||||
at System.IO.File.InternalReadAllText(String path, Encoding encoding)
|
||||
at System.IO.File.ReadAllText(String path)
|
||||
at StgSharp.StgSharpDemoForm.Init(Object[] args) in D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\Program.cs:line 74
|
||||
at StgSharp.Program.Main(String[] args) in D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\Program.cs:line 195
|
||||
@@ -7,7 +7,7 @@
|
||||
GladGLContext* currentContext;
|
||||
extern char infolog[512] = { 0 };
|
||||
|
||||
SSCAPI void _cdecl initGL(int majorVersion, int minorVersion)
|
||||
SSCAPI void SSCDECL initGL(int majorVersion, int minorVersion)
|
||||
{
|
||||
glfwInit();
|
||||
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, majorVersion);
|
||||
@@ -15,10 +15,16 @@ SSCAPI void _cdecl initGL(int majorVersion, int minorVersion)
|
||||
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
|
||||
}
|
||||
|
||||
SSCAPI unsigned int loadShaderCode(GladGLContext* context, char* const shaderCode, GLint shadertype)
|
||||
SSCAPI unsigned int SSCDECL loadShaderCode(GladGLContext* context, char* const shaderCode, GLint shadertype)
|
||||
{
|
||||
unsigned int shader = context->CreateShader(shadertype);
|
||||
context->ShaderSource(shader, 1, &shaderCode, NULL);
|
||||
unsigned int shader = context->CreateShader(GL_VERTEX_SHADER);
|
||||
if (!shader)
|
||||
{
|
||||
return 0xffffffff;
|
||||
}
|
||||
printf("%s\n", shaderCode);
|
||||
context->ShaderSource(shader, 1, shaderCode, NULL);
|
||||
printf("%s\n", shaderCode);
|
||||
context->CompileShader(shader);
|
||||
int success;
|
||||
context->GetShaderiv(shader, GL_COMPILE_STATUS, &success);
|
||||
|
||||
@@ -22,7 +22,6 @@ extern "C"
|
||||
|
||||
#pragma region Internal
|
||||
|
||||
extern __m128* defaultVecPtr;
|
||||
#define ALIGN(simdVec) _mm_loadu_ps(&simdVec)
|
||||
|
||||
typedef struct Image {
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc.bsc
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\vc143.pdb
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\vc143.idb
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\mat4.obj
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\mat4.cod
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\mat3.obj
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\mat3.cod
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\mat2.obj
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\mat2.cod
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\dllmain.obj
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\dllmain.cod
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.obj
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.cod
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\dllmain.sbr
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\mat2.sbr
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\mat3.sbr
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\mat4.sbr
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stb_image.sbr
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.sbr
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stb_image.obj
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stb_image.cod
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc.dll
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc.pdb
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc.lib
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc.exp
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.ilk
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.tlog\bscmake.command.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.tlog\bscmake.read.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.tlog\bscmake.write.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.tlog\cl.command.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.tlog\cl.items.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.tlog\cl.read.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.tlog\cl.write.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.tlog\link.command.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.tlog\link.read.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.tlog\link.secondary.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgsharpc\x64\debug\stgsharpc.tlog\link.write.1.tlog
|
||||
|
||||
@@ -150,9 +150,9 @@ PUBLIC loadGlfuncDefault
|
||||
PUBLIC unloadImageData
|
||||
PUBLIC readLog
|
||||
PUBLIC __JustMyCode_Default
|
||||
PUBLIC ??_C@_03OFAPEBGM@?$CFs?6@ ; `string'
|
||||
PUBLIC ??_C@_05JMLLFKBP@?$CFllu?6@ ; `string'
|
||||
PUBLIC ??_C@_0BL@MOJGOJJP@Failed?5to?5load?5OpenGL?5api?3@ ; `string'
|
||||
PUBLIC ??_C@_03OFAPEBGM@?$CFs?6@ ; `string'
|
||||
EXTRN __report_rangecheckfailure:PROC
|
||||
EXTRN __imp_free:PROC
|
||||
EXTRN glfwInit:PROC
|
||||
@@ -197,8 +197,8 @@ $pdata$initGL DD imagerel $LN3
|
||||
pdata ENDS
|
||||
; COMDAT pdata
|
||||
pdata SEGMENT
|
||||
$pdata$loadShaderCode DD imagerel $LN7
|
||||
DD imagerel $LN7+327
|
||||
$pdata$loadShaderCode DD imagerel $LN8
|
||||
DD imagerel $LN8+380
|
||||
DD imagerel $unwind$loadShaderCode
|
||||
pdata ENDS
|
||||
; COMDAT pdata
|
||||
@@ -239,10 +239,6 @@ rtc$TMZ ENDS
|
||||
rtc$IMZ SEGMENT
|
||||
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
|
||||
rtc$IMZ ENDS
|
||||
; COMDAT ??_C@_03OFAPEBGM@?$CFs?6@
|
||||
CONST SEGMENT
|
||||
??_C@_03OFAPEBGM@?$CFs?6@ DB '%s', 0aH, 00H ; `string'
|
||||
CONST ENDS
|
||||
; COMDAT ??_C@_0BL@MOJGOJJP@Failed?5to?5load?5OpenGL?5api?3@
|
||||
CONST SEGMENT
|
||||
??_C@_0BL@MOJGOJJP@Failed?5to?5load?5OpenGL?5api?3@ DB 'Failed to load Op'
|
||||
@@ -252,6 +248,10 @@ CONST ENDS
|
||||
CONST SEGMENT
|
||||
??_C@_05JMLLFKBP@?$CFllu?6@ DB '%llu', 0aH, 00H ; `string'
|
||||
CONST ENDS
|
||||
; COMDAT ??_C@_03OFAPEBGM@?$CFs?6@
|
||||
CONST SEGMENT
|
||||
??_C@_03OFAPEBGM@?$CFs?6@ DB '%s', 0aH, 00H ; `string'
|
||||
CONST ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
$unwind$readLog DD 025050f01H
|
||||
@@ -316,7 +316,7 @@ CONST ENDS
|
||||
; COMDAT voltbl
|
||||
voltbl SEGMENT
|
||||
_volmd DW 040H
|
||||
DW 012eH
|
||||
DW 0163H
|
||||
voltbl ENDS
|
||||
; COMDAT xdata
|
||||
xdata SEGMENT
|
||||
@@ -415,7 +415,7 @@ _TEXT SEGMENT
|
||||
$T1 = 200
|
||||
readLog PROC ; COMDAT
|
||||
|
||||
; 85 : {
|
||||
; 91 : {
|
||||
|
||||
$LN5:
|
||||
00000 40 55 push rbp
|
||||
@@ -427,7 +427,7 @@ $LN5:
|
||||
00 00 lea rcx, OFFSET FLAT:__59F96598_StgSharpC@c
|
||||
00016 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
||||
|
||||
; 86 : infolog[511] = '\0';
|
||||
; 92 : infolog[511] = '\0';
|
||||
|
||||
0001b b8 01 00 00 00 mov eax, 1
|
||||
00020 48 69 c0 ff 01
|
||||
@@ -448,13 +448,13 @@ $LN4@readLog:
|
||||
00 00 mov rcx, QWORD PTR $T1[rbp]
|
||||
00050 c6 04 08 00 mov BYTE PTR [rax+rcx], 0
|
||||
|
||||
; 87 : return &infolog;
|
||||
; 93 : return &infolog;
|
||||
|
||||
00054 48 8d 05 00 00
|
||||
00 00 lea rax, OFFSET FLAT:infolog
|
||||
$LN2@readLog:
|
||||
|
||||
; 88 : }
|
||||
; 94 : }
|
||||
|
||||
0005b 48 8d a5 e8 00
|
||||
00 00 lea rsp, QWORD PTR [rbp+232]
|
||||
@@ -470,7 +470,7 @@ _TEXT SEGMENT
|
||||
out$ = 224
|
||||
unloadImageData PROC ; COMDAT
|
||||
|
||||
; 80 : {
|
||||
; 86 : {
|
||||
|
||||
$LN3:
|
||||
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
|
||||
@@ -483,7 +483,7 @@ $LN3:
|
||||
00 00 lea rcx, OFFSET FLAT:__59F96598_StgSharpC@c
|
||||
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
||||
|
||||
; 81 : free(out->pixelPtr);
|
||||
; 87 : free(out->pixelPtr);
|
||||
|
||||
0001f 48 8b 85 e0 00
|
||||
00 00 mov rax, QWORD PTR out$[rbp]
|
||||
@@ -491,7 +491,7 @@ $LN3:
|
||||
0002a ff 15 00 00 00
|
||||
00 call QWORD PTR __imp_free
|
||||
|
||||
; 82 : }
|
||||
; 88 : }
|
||||
|
||||
00030 48 8d a5 c8 00
|
||||
00 00 lea rsp, QWORD PTR [rbp+200]
|
||||
@@ -509,7 +509,7 @@ i$1 = 40
|
||||
procName$ = 288
|
||||
loadGlfuncDefault PROC ; COMDAT
|
||||
|
||||
; 38 : {
|
||||
; 44 : {
|
||||
|
||||
$LN7:
|
||||
00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
|
||||
@@ -522,29 +522,29 @@ $LN7:
|
||||
00 00 lea rcx, OFFSET FLAT:__59F96598_StgSharpC@c
|
||||
0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
||||
|
||||
; 39 : void* ret = glfwGetProcAddress(procName);
|
||||
; 45 : void* ret = glfwGetProcAddress(procName);
|
||||
|
||||
0001f 48 8b 8d 20 01
|
||||
00 00 mov rcx, QWORD PTR procName$[rbp]
|
||||
00026 e8 00 00 00 00 call glfwGetProcAddress
|
||||
0002b 48 89 45 08 mov QWORD PTR ret$[rbp], rax
|
||||
|
||||
; 40 : printf("%llu\n", (uint64_t)ret);
|
||||
; 46 : printf("%llu\n", (uint64_t)ret);
|
||||
|
||||
0002f 48 8b 55 08 mov rdx, QWORD PTR ret$[rbp]
|
||||
00033 48 8d 0d 00 00
|
||||
00 00 lea rcx, OFFSET FLAT:??_C@_05JMLLFKBP@?$CFllu?6@
|
||||
0003a e8 00 00 00 00 call printf
|
||||
|
||||
; 41 : if (ret = NULL)
|
||||
; 47 : if (ret = NULL)
|
||||
|
||||
0003f 48 c7 45 08 00
|
||||
00 00 00 mov QWORD PTR ret$[rbp], 0
|
||||
00047 48 83 7d 08 00 cmp QWORD PTR ret$[rbp], 0
|
||||
0004c 74 6e je SHORT $LN5@loadGlfunc
|
||||
|
||||
; 42 : {
|
||||
; 43 : *infolog = "Failed to load OpenGL api:";
|
||||
; 48 : {
|
||||
; 49 : *infolog = "Failed to load OpenGL api:";
|
||||
|
||||
0004e b8 01 00 00 00 mov eax, 1
|
||||
00053 48 6b c0 00 imul rax, rax, 0
|
||||
@@ -554,7 +554,7 @@ $LN7:
|
||||
00 00 lea rdx, OFFSET FLAT:??_C@_0BL@MOJGOJJP@Failed?5to?5load?5OpenGL?5api?3@
|
||||
00065 88 14 01 mov BYTE PTR [rcx+rax], dl
|
||||
|
||||
; 44 : for (size_t i = 0; i < sizeof(procName); i++)
|
||||
; 50 : for (size_t i = 0; i < sizeof(procName); i++)
|
||||
|
||||
00068 48 c7 45 28 00
|
||||
00 00 00 mov QWORD PTR i$1[rbp], 0
|
||||
@@ -567,8 +567,8 @@ $LN4@loadGlfunc:
|
||||
0007d 48 83 7d 28 08 cmp QWORD PTR i$1[rbp], 8
|
||||
00082 73 25 jae SHORT $LN3@loadGlfunc
|
||||
|
||||
; 45 : {
|
||||
; 46 : infolog[30 + i] = procName[i];
|
||||
; 51 : {
|
||||
; 52 : infolog[30 + i] = procName[i];
|
||||
|
||||
00084 48 8d 05 00 00
|
||||
00 00 lea rax, OFFSET FLAT:infolog
|
||||
@@ -581,12 +581,12 @@ $LN4@loadGlfunc:
|
||||
000a0 0f b6 09 movzx ecx, BYTE PTR [rcx]
|
||||
000a3 88 4c 10 1e mov BYTE PTR [rax+rdx+30], cl
|
||||
|
||||
; 47 : }
|
||||
; 53 : }
|
||||
|
||||
000a7 eb c9 jmp SHORT $LN2@loadGlfunc
|
||||
$LN3@loadGlfunc:
|
||||
|
||||
; 48 : printf("%s\n", infolog);
|
||||
; 54 : printf("%s\n", infolog);
|
||||
|
||||
000a9 48 8d 15 00 00
|
||||
00 00 lea rdx, OFFSET FLAT:infolog
|
||||
@@ -595,12 +595,12 @@ $LN3@loadGlfunc:
|
||||
000b7 e8 00 00 00 00 call printf
|
||||
$LN5@loadGlfunc:
|
||||
|
||||
; 49 : }
|
||||
; 50 : return (GLFWglproc)ret;
|
||||
; 55 : }
|
||||
; 56 : return (GLFWglproc)ret;
|
||||
|
||||
000bc 48 8b 45 08 mov rax, QWORD PTR ret$[rbp]
|
||||
|
||||
; 51 : }
|
||||
; 57 : }
|
||||
|
||||
000c0 48 8d a5 08 01
|
||||
00 00 lea rsp, QWORD PTR [rbp+264]
|
||||
@@ -618,7 +618,7 @@ out$ = 232
|
||||
loader$ = 240
|
||||
loadImageData PROC ; COMDAT
|
||||
|
||||
; 71 : {
|
||||
; 77 : {
|
||||
|
||||
$LN4:
|
||||
00000 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8
|
||||
@@ -633,14 +633,14 @@ $LN4:
|
||||
00 00 lea rcx, OFFSET FLAT:__59F96598_StgSharpC@c
|
||||
00024 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
||||
|
||||
; 72 : if (loader == NULL)
|
||||
; 78 : if (loader == NULL)
|
||||
|
||||
00029 48 83 bd f0 00
|
||||
00 00 00 cmp QWORD PTR loader$[rbp], 0
|
||||
00031 75 0e jne SHORT $LN2@loadImageD
|
||||
|
||||
; 73 : {
|
||||
; 74 : loader = stbi_load;
|
||||
; 79 : {
|
||||
; 80 : loader = stbi_load;
|
||||
|
||||
00033 48 8d 05 00 00
|
||||
00 00 lea rax, OFFSET FLAT:stbi_load
|
||||
@@ -648,8 +648,8 @@ $LN4:
|
||||
00 00 mov QWORD PTR loader$[rbp], rax
|
||||
$LN2@loadImageD:
|
||||
|
||||
; 75 : }
|
||||
; 76 : out->pixelPtr = loader(location, &(out->width), &(out->height), &(out->channel), 0);
|
||||
; 81 : }
|
||||
; 82 : out->pixelPtr = loader(location, &(out->width), &(out->height), &(out->channel), 0);
|
||||
|
||||
00041 48 8b 85 e8 00
|
||||
00 00 mov rax, QWORD PTR out$[rbp]
|
||||
@@ -671,7 +671,7 @@ $LN2@loadImageD:
|
||||
00 00 mov rcx, QWORD PTR out$[rbp]
|
||||
00080 48 89 41 10 mov QWORD PTR [rcx+16], rax
|
||||
|
||||
; 77 : }
|
||||
; 83 : }
|
||||
|
||||
00084 48 8d a5 c8 00
|
||||
00 00 lea rsp, QWORD PTR [rbp+200]
|
||||
@@ -690,7 +690,7 @@ context$ = 256
|
||||
shaderProgram$ = 264
|
||||
linkShaderProgram PROC ; COMDAT
|
||||
|
||||
; 54 : {
|
||||
; 60 : {
|
||||
|
||||
$LN5:
|
||||
00000 89 54 24 10 mov DWORD PTR [rsp+16], edx
|
||||
@@ -715,7 +715,7 @@ $LN5:
|
||||
00 00 lea rcx, OFFSET FLAT:__59F96598_StgSharpC@c
|
||||
00048 e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
||||
|
||||
; 55 : context->LinkProgram(shaderProgram);
|
||||
; 61 : context->LinkProgram(shaderProgram);
|
||||
|
||||
0004d 8b 8d 08 01 00
|
||||
00 mov ecx, DWORD PTR shaderProgram$[rbp]
|
||||
@@ -724,9 +724,9 @@ $LN5:
|
||||
0005a ff 90 80 22 00
|
||||
00 call QWORD PTR [rax+8832]
|
||||
|
||||
; 56 :
|
||||
; 57 : int success;
|
||||
; 58 : context->GetProgramiv(shaderProgram, GL_LINK_STATUS, &success);
|
||||
; 62 :
|
||||
; 63 : int success;
|
||||
; 64 : context->GetProgramiv(shaderProgram, GL_LINK_STATUS, &success);
|
||||
|
||||
00060 4c 8d 45 04 lea r8, QWORD PTR success$[rbp]
|
||||
00064 ba 82 8b 00 00 mov edx, 35714 ; 00008b82H
|
||||
@@ -737,13 +737,13 @@ $LN5:
|
||||
00076 ff 90 48 1a 00
|
||||
00 call QWORD PTR [rax+6728]
|
||||
|
||||
; 59 : if (!success)
|
||||
; 65 : if (!success)
|
||||
|
||||
0007c 83 7d 04 00 cmp DWORD PTR success$[rbp], 0
|
||||
00080 75 28 jne SHORT $LN2@linkShader
|
||||
|
||||
; 60 : {
|
||||
; 61 : context->GetProgramInfoLog(shaderProgram, 512, NULL, infolog);
|
||||
; 66 : {
|
||||
; 67 : context->GetProgramInfoLog(shaderProgram, 512, NULL, infolog);
|
||||
|
||||
00082 4c 8d 0d 00 00
|
||||
00 00 lea r9, OFFSET FLAT:infolog
|
||||
@@ -756,27 +756,27 @@ $LN5:
|
||||
0009e ff 90 98 19 00
|
||||
00 call QWORD PTR [rax+6552]
|
||||
|
||||
; 62 : return 0;
|
||||
; 68 : return 0;
|
||||
|
||||
000a4 33 c0 xor eax, eax
|
||||
000a6 eb 08 jmp SHORT $LN1@linkShader
|
||||
|
||||
; 63 : }
|
||||
; 69 : }
|
||||
|
||||
000a8 eb 06 jmp SHORT $LN3@linkShader
|
||||
$LN2@linkShader:
|
||||
|
||||
; 64 : else
|
||||
; 65 : {
|
||||
; 66 : return shaderProgram;
|
||||
; 70 : else
|
||||
; 71 : {
|
||||
; 72 : return shaderProgram;
|
||||
|
||||
000aa 8b 85 08 01 00
|
||||
00 mov eax, DWORD PTR shaderProgram$[rbp]
|
||||
$LN3@linkShader:
|
||||
$LN1@linkShader:
|
||||
|
||||
; 67 : }
|
||||
; 68 : }
|
||||
; 73 : }
|
||||
; 74 : }
|
||||
|
||||
000b0 48 8b f8 mov rdi, rax
|
||||
000b3 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32]
|
||||
@@ -810,7 +810,7 @@ loadShaderCode PROC ; COMDAT
|
||||
|
||||
; 19 : {
|
||||
|
||||
$LN7:
|
||||
$LN8:
|
||||
00000 44 89 44 24 18 mov DWORD PTR [rsp+24], r8d
|
||||
00005 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx
|
||||
0000a 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx
|
||||
@@ -834,123 +834,151 @@ $LN7:
|
||||
00 00 lea rcx, OFFSET FLAT:__59F96598_StgSharpC@c
|
||||
0004e e8 00 00 00 00 call __CheckForDebuggerJustMyCode
|
||||
|
||||
; 20 : unsigned int shader = context->CreateShader(shadertype);
|
||||
; 20 : unsigned int shader = context->CreateShader(GL_VERTEX_SHADER);
|
||||
|
||||
00053 8b 8d 50 01 00
|
||||
00 mov ecx, DWORD PTR shadertype$[rbp]
|
||||
00059 48 8b 85 40 01
|
||||
00053 b9 31 8b 00 00 mov ecx, 35633 ; 00008b31H
|
||||
00058 48 8b 85 40 01
|
||||
00 00 mov rax, QWORD PTR context$[rbp]
|
||||
00060 ff 90 f0 09 00
|
||||
0005f ff 90 f0 09 00
|
||||
00 call QWORD PTR [rax+2544]
|
||||
00066 89 45 04 mov DWORD PTR shader$[rbp], eax
|
||||
00065 89 45 04 mov DWORD PTR shader$[rbp], eax
|
||||
|
||||
; 21 : context->ShaderSource(shader, 1, &shaderCode, NULL);
|
||||
; 21 : if (!shader)
|
||||
|
||||
00069 45 33 c9 xor r9d, r9d
|
||||
0006c 4c 8d 85 48 01
|
||||
00 00 lea r8, QWORD PTR shaderCode$[rbp]
|
||||
00073 ba 01 00 00 00 mov edx, 1
|
||||
00078 8b 4d 04 mov ecx, DWORD PTR shader$[rbp]
|
||||
0007b 48 8b 85 40 01
|
||||
00 00 mov rax, QWORD PTR context$[rbp]
|
||||
00082 ff 90 50 37 00
|
||||
00 call QWORD PTR [rax+14160]
|
||||
00068 83 7d 04 00 cmp DWORD PTR shader$[rbp], 0
|
||||
0006c 75 0a jne SHORT $LN2@loadShader
|
||||
|
||||
; 22 : context->CompileShader(shader);
|
||||
; 22 : {
|
||||
; 23 : return 0xffffffff;
|
||||
|
||||
00088 8b 4d 04 mov ecx, DWORD PTR shader$[rbp]
|
||||
0008b 48 8b 85 40 01
|
||||
00 00 mov rax, QWORD PTR context$[rbp]
|
||||
00092 ff 90 18 07 00
|
||||
00 call QWORD PTR [rax+1816]
|
||||
|
||||
; 23 : int success;
|
||||
; 24 : context->GetShaderiv(shader, GL_COMPILE_STATUS, &success);
|
||||
|
||||
00098 4c 8d 45 24 lea r8, QWORD PTR success$[rbp]
|
||||
0009c ba 81 8b 00 00 mov edx, 35713 ; 00008b81H
|
||||
000a1 8b 4d 04 mov ecx, DWORD PTR shader$[rbp]
|
||||
000a4 48 8b 85 40 01
|
||||
00 00 mov rax, QWORD PTR context$[rbp]
|
||||
000ab ff 90 40 1b 00
|
||||
00 call QWORD PTR [rax+6976]
|
||||
|
||||
; 25 : if (!success)
|
||||
|
||||
000b1 83 7d 24 00 cmp DWORD PTR success$[rbp], 0
|
||||
000b5 75 5e jne SHORT $LN2@loadShader
|
||||
|
||||
; 26 : {
|
||||
; 27 : context->GetShaderInfoLog(shader, 512, NULL, infolog);
|
||||
|
||||
000b7 4c 8d 0d 00 00
|
||||
00 00 lea r9, OFFSET FLAT:infolog
|
||||
000be 45 33 c0 xor r8d, r8d
|
||||
000c1 ba 00 02 00 00 mov edx, 512 ; 00000200H
|
||||
000c6 8b 4d 04 mov ecx, DWORD PTR shader$[rbp]
|
||||
000c9 48 8b 85 40 01
|
||||
00 00 mov rax, QWORD PTR context$[rbp]
|
||||
000d0 ff 90 20 1b 00
|
||||
00 call QWORD PTR [rax+6944]
|
||||
|
||||
; 28 : infolog[511] = '\0';
|
||||
|
||||
000d6 b8 01 00 00 00 mov eax, 1
|
||||
000db 48 69 c0 ff 01
|
||||
00 00 imul rax, rax, 511 ; 000001ffH
|
||||
000e2 48 89 85 08 01
|
||||
00 00 mov QWORD PTR $T4[rbp], rax
|
||||
000e9 48 81 bd 08 01
|
||||
00 00 00 02 00
|
||||
00 cmp QWORD PTR $T4[rbp], 512 ; 00000200H
|
||||
000f4 73 02 jae SHORT $LN5@loadShader
|
||||
000f6 eb 05 jmp SHORT $LN6@loadShader
|
||||
$LN5@loadShader:
|
||||
000f8 e8 00 00 00 00 call __report_rangecheckfailure
|
||||
$LN6@loadShader:
|
||||
000fd 48 8d 05 00 00
|
||||
00 00 lea rax, OFFSET FLAT:infolog
|
||||
00104 48 8b 8d 08 01
|
||||
00 00 mov rcx, QWORD PTR $T4[rbp]
|
||||
0010b c6 04 08 00 mov BYTE PTR [rax+rcx], 0
|
||||
|
||||
; 29 : return 0;
|
||||
|
||||
0010f 33 c0 xor eax, eax
|
||||
00111 eb 05 jmp SHORT $LN1@loadShader
|
||||
|
||||
; 30 : }
|
||||
|
||||
00113 eb 03 jmp SHORT $LN3@loadShader
|
||||
0006e b8 ff ff ff ff mov eax, -1 ; ffffffffH
|
||||
00073 e9 d5 00 00 00 jmp $LN1@loadShader
|
||||
$LN2@loadShader:
|
||||
|
||||
; 31 : else
|
||||
; 24 : }
|
||||
; 25 : printf("%s\n", shaderCode);
|
||||
|
||||
00078 48 8b 95 48 01
|
||||
00 00 mov rdx, QWORD PTR shaderCode$[rbp]
|
||||
0007f 48 8d 0d 00 00
|
||||
00 00 lea rcx, OFFSET FLAT:??_C@_03OFAPEBGM@?$CFs?6@
|
||||
00086 e8 00 00 00 00 call printf
|
||||
|
||||
; 26 : context->ShaderSource(shader, 1, shaderCode, NULL);
|
||||
|
||||
0008b 45 33 c9 xor r9d, r9d
|
||||
0008e 4c 8b 85 48 01
|
||||
00 00 mov r8, QWORD PTR shaderCode$[rbp]
|
||||
00095 ba 01 00 00 00 mov edx, 1
|
||||
0009a 8b 4d 04 mov ecx, DWORD PTR shader$[rbp]
|
||||
0009d 48 8b 85 40 01
|
||||
00 00 mov rax, QWORD PTR context$[rbp]
|
||||
000a4 ff 90 50 37 00
|
||||
00 call QWORD PTR [rax+14160]
|
||||
|
||||
; 27 : printf("%s\n", shaderCode);
|
||||
|
||||
000aa 48 8b 95 48 01
|
||||
00 00 mov rdx, QWORD PTR shaderCode$[rbp]
|
||||
000b1 48 8d 0d 00 00
|
||||
00 00 lea rcx, OFFSET FLAT:??_C@_03OFAPEBGM@?$CFs?6@
|
||||
000b8 e8 00 00 00 00 call printf
|
||||
|
||||
; 28 : context->CompileShader(shader);
|
||||
|
||||
000bd 8b 4d 04 mov ecx, DWORD PTR shader$[rbp]
|
||||
000c0 48 8b 85 40 01
|
||||
00 00 mov rax, QWORD PTR context$[rbp]
|
||||
000c7 ff 90 18 07 00
|
||||
00 call QWORD PTR [rax+1816]
|
||||
|
||||
; 29 : int success;
|
||||
; 30 : context->GetShaderiv(shader, GL_COMPILE_STATUS, &success);
|
||||
|
||||
000cd 4c 8d 45 24 lea r8, QWORD PTR success$[rbp]
|
||||
000d1 ba 81 8b 00 00 mov edx, 35713 ; 00008b81H
|
||||
000d6 8b 4d 04 mov ecx, DWORD PTR shader$[rbp]
|
||||
000d9 48 8b 85 40 01
|
||||
00 00 mov rax, QWORD PTR context$[rbp]
|
||||
000e0 ff 90 40 1b 00
|
||||
00 call QWORD PTR [rax+6976]
|
||||
|
||||
; 31 : if (!success)
|
||||
|
||||
000e6 83 7d 24 00 cmp DWORD PTR success$[rbp], 0
|
||||
000ea 75 5e jne SHORT $LN3@loadShader
|
||||
|
||||
; 32 : {
|
||||
; 33 : return shader;
|
||||
; 33 : context->GetShaderInfoLog(shader, 512, NULL, infolog);
|
||||
|
||||
00115 8b 45 04 mov eax, DWORD PTR shader$[rbp]
|
||||
000ec 4c 8d 0d 00 00
|
||||
00 00 lea r9, OFFSET FLAT:infolog
|
||||
000f3 45 33 c0 xor r8d, r8d
|
||||
000f6 ba 00 02 00 00 mov edx, 512 ; 00000200H
|
||||
000fb 8b 4d 04 mov ecx, DWORD PTR shader$[rbp]
|
||||
000fe 48 8b 85 40 01
|
||||
00 00 mov rax, QWORD PTR context$[rbp]
|
||||
00105 ff 90 20 1b 00
|
||||
00 call QWORD PTR [rax+6944]
|
||||
|
||||
; 34 : infolog[511] = '\0';
|
||||
|
||||
0010b b8 01 00 00 00 mov eax, 1
|
||||
00110 48 69 c0 ff 01
|
||||
00 00 imul rax, rax, 511 ; 000001ffH
|
||||
00117 48 89 85 08 01
|
||||
00 00 mov QWORD PTR $T4[rbp], rax
|
||||
0011e 48 81 bd 08 01
|
||||
00 00 00 02 00
|
||||
00 cmp QWORD PTR $T4[rbp], 512 ; 00000200H
|
||||
00129 73 02 jae SHORT $LN6@loadShader
|
||||
0012b eb 05 jmp SHORT $LN7@loadShader
|
||||
$LN6@loadShader:
|
||||
0012d e8 00 00 00 00 call __report_rangecheckfailure
|
||||
$LN7@loadShader:
|
||||
00132 48 8d 05 00 00
|
||||
00 00 lea rax, OFFSET FLAT:infolog
|
||||
00139 48 8b 8d 08 01
|
||||
00 00 mov rcx, QWORD PTR $T4[rbp]
|
||||
00140 c6 04 08 00 mov BYTE PTR [rax+rcx], 0
|
||||
|
||||
; 35 : return 0;
|
||||
|
||||
00144 33 c0 xor eax, eax
|
||||
00146 eb 05 jmp SHORT $LN1@loadShader
|
||||
|
||||
; 36 : }
|
||||
|
||||
00148 eb 03 jmp SHORT $LN4@loadShader
|
||||
$LN3@loadShader:
|
||||
$LN1@loadShader:
|
||||
|
||||
; 37 : else
|
||||
; 38 : {
|
||||
; 39 : return shader;
|
||||
|
||||
0014a 8b 45 04 mov eax, DWORD PTR shader$[rbp]
|
||||
$LN4@loadShader:
|
||||
$LN1@loadShader:
|
||||
$LN5@loadShader:
|
||||
|
||||
; 34 : }
|
||||
; 35 : }
|
||||
; 40 : }
|
||||
; 41 : }
|
||||
|
||||
00118 48 8b f8 mov rdi, rax
|
||||
0011b 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32]
|
||||
0011f 48 8d 15 00 00
|
||||
0014d 48 8b f8 mov rdi, rax
|
||||
00150 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32]
|
||||
00154 48 8d 15 00 00
|
||||
00 00 lea rdx, OFFSET FLAT:loadShaderCode$rtcFrameData
|
||||
00126 e8 00 00 00 00 call _RTC_CheckStackVars
|
||||
0012b 48 8b c7 mov rax, rdi
|
||||
0012e 48 8b 8d 18 01
|
||||
0015b e8 00 00 00 00 call _RTC_CheckStackVars
|
||||
00160 48 8b c7 mov rax, rdi
|
||||
00163 48 8b 8d 18 01
|
||||
00 00 mov rcx, QWORD PTR __$ArrayPad$[rbp]
|
||||
00135 48 33 cd xor rcx, rbp
|
||||
00138 e8 00 00 00 00 call __security_check_cookie
|
||||
0013d 48 8d a5 28 01
|
||||
0016a 48 33 cd xor rcx, rbp
|
||||
0016d e8 00 00 00 00 call __security_check_cookie
|
||||
00172 48 8d a5 28 01
|
||||
00 00 lea rsp, QWORD PTR [rbp+296]
|
||||
00144 5f pop rdi
|
||||
00145 5d pop rbp
|
||||
00146 c3 ret 0
|
||||
00179 5f pop rdi
|
||||
0017a 5d pop rbp
|
||||
0017b c3 ret 0
|
||||
loadShaderCode ENDP
|
||||
_TEXT ENDS
|
||||
; Function compile flags: /Odtp /RTCsu /ZI
|
||||
|
||||
Binary file not shown.
@@ -1,4 +1,8 @@
|
||||
StgSharpC.c
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpC\StgSharpC.c(43,18): warning C4047: “=”:“char”与“char [27]”的间接级别不同
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpC\StgSharpC.c(87,5): warning C4047: “return”:“char *”与“char (*)[512]”的间接级别不同
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpC\StgSharpC.c(26,38): warning C4047: “函数”:“const GLchar *const *”与“char *const ”的间接级别不同
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpC\StgSharpC.c(26,38): warning C4024: “通过指针的函数”: 形参和实参 3 的类型不同
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpC\StgSharpC.c(49,18): warning C4047: “=”:“char”与“char [27]”的间接级别不同
|
||||
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpC\StgSharpC.c(93,5): warning C4047: “return”:“char *”与“char (*)[512]”的间接级别不同
|
||||
glfw3.lib(init.obj) : warning LNK4099: 未找到 PDB“”(使用“glfw3.lib(init.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样
|
||||
glfw3.lib(win32_joystick.obj) : warning LNK4099: 未找到 PDB“”(使用“glfw3.lib(win32_joystick.obj)”或在“”中寻找);正在链接对象,如同没有调试信息一样
|
||||
StgSharpC.vcxproj -> D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpC.dll
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user