Cleanup
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include <kinc/graphics4/texture.h>
|
||||
#include <kinc/log.h>
|
||||
#include <kinc/math/core.h>
|
||||
#include <kinc/backend/SystemMicrosoft.h>
|
||||
#include <kinc/backend/system_microsoft.h>
|
||||
|
||||
void kinc_g5_compute_shader_init(kinc_g5_compute_shader *shader, void *_data, int length) {
|
||||
unsigned index = 0;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
#include <kinc/backend/SystemMicrosoft.h>
|
||||
#include <kinc/backend/system_microsoft.h>
|
||||
|
||||
bool kinc_g5_transposeMat = false;
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ static bool compute_pipeline_set = false;
|
||||
#include <malloc.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "Direct3D12.c.h"
|
||||
#include "direct3d12.c.h"
|
||||
#include "shaderhash.c.h"
|
||||
#include "commandlist.c.h"
|
||||
#include "compute.c.h"
|
||||
|
||||
+2
-2
@@ -10,8 +10,8 @@
|
||||
#include <dxgi1_4.h>
|
||||
#undef CreateWindow
|
||||
#include <kinc/system.h>
|
||||
#include <kinc/backend/Windows.h>
|
||||
#include <kinc/backend/SystemMicrosoft.h>
|
||||
#include <kinc/backend/windows.h>
|
||||
#include <kinc/backend/system_microsoft.h>
|
||||
|
||||
ID3D12CommandQueue *commandQueue;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "indexbuffer.h"
|
||||
|
||||
#include <kinc/backend/SystemMicrosoft.h>
|
||||
#include <kinc/backend/system_microsoft.h>
|
||||
#include <kinc/graphics5/indexbuffer.h>
|
||||
|
||||
void kinc_g5_index_buffer_init(kinc_g5_index_buffer_t *buffer, int count, bool gpuMemory) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <kinc/graphics5/pipeline.h>
|
||||
#include <kinc/graphics5/shader.h>
|
||||
#include <kinc/log.h>
|
||||
#include <kinc/backend/SystemMicrosoft.h>
|
||||
#include <kinc/backend/system_microsoft.h>
|
||||
|
||||
void kinc_g5_internal_setConstants(kinc_g5_command_list_t *commandList, kinc_g5_pipeline_t *pipeline) {
|
||||
commandList->impl._commandList->lpVtbl->SetGraphicsRootSignature(commandList->impl._commandList, globalRootSignature);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "rendertarget.h"
|
||||
#include <kinc/graphics5/rendertarget.h>
|
||||
#include <kinc/graphics5/texture.h>
|
||||
#include <kinc/backend/SystemMicrosoft.h>
|
||||
#include <kinc/backend/system_microsoft.h>
|
||||
#include <dxgi1_4.h>
|
||||
|
||||
static void WaitForFence(ID3D12Fence *fence, UINT64 completionValue, HANDLE waitEvent) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <kinc/backend/SystemMicrosoft.h>
|
||||
#include <kinc/backend/system_microsoft.h>
|
||||
#include <kinc/graphics5/shader.h>
|
||||
#include <kinc/math/core.h>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <kinc/graphics5/texture.h>
|
||||
#include <kinc/math/core.h>
|
||||
|
||||
#include <kinc/backend/SystemMicrosoft.h>
|
||||
#include <kinc/backend/system_microsoft.h>
|
||||
|
||||
#include <math.h>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "vertexbuffer.h"
|
||||
#include <kinc/graphics5/vertexbuffer.h>
|
||||
#include <kinc/backend/SystemMicrosoft.h>
|
||||
#include <kinc/backend/system_microsoft.h>
|
||||
#include <kinc/graphics4/graphics.h>
|
||||
|
||||
kinc_g5_vertex_buffer_t *_current_vertex_buffer = NULL;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "G4.h"
|
||||
#include "g4.h"
|
||||
#include "kinc/graphics4/graphics.h"
|
||||
#include "kinc/window.h"
|
||||
#include <kinc/backend/graphics4/indexbuffer.h>
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "samplers.c.h"
|
||||
|
||||
#include "G4.c.h"
|
||||
#include "g4.c.h"
|
||||
#include "compute.c.h"
|
||||
#include "indexbuffer.c.h"
|
||||
#include "pipeline.c.h"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "Metal.h"
|
||||
#include "metal.h"
|
||||
#include <kinc/color.h>
|
||||
#include <kinc/system.h>
|
||||
#include <kinc/window.h>
|
||||
@@ -8,7 +8,7 @@ static id<MTLComputeCommandEncoder> compute_command_encoder = nil;
|
||||
static void start_render_pass(void);
|
||||
static void end_render_pass(void);
|
||||
|
||||
#include "Metal.m.h"
|
||||
#include "metal.m.h"
|
||||
#include "commandlist.m.h"
|
||||
#include "compute.m.h"
|
||||
#include "constantbuffer.m.h"
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#include <intrin.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "SystemMicrosoft.c.h"
|
||||
#include "system_microsoft.c.h"
|
||||
#include "event.c.h"
|
||||
#include "fiber.c.h"
|
||||
#include "mutex.c.h"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "SystemMicrosoft.h"
|
||||
#include "system_microsoft.h"
|
||||
#include <kinc/error.h>
|
||||
#include <stb_sprintf.h>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#ifdef KINC_A2
|
||||
|
||||
#include <kinc/audio2/audio.h>
|
||||
#include <kinc/backend/SystemMicrosoft.h>
|
||||
#include <kinc/backend/system_microsoft.h>
|
||||
#include <kinc/error.h>
|
||||
#include <kinc/log.h>
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
#include "Windows.h"
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <kinc/backend/Windows.h>
|
||||
#include <kinc/backend/windows.h>
|
||||
#include <kinc/display.h>
|
||||
#include <kinc/error.h>
|
||||
#include <kinc/log.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <kinc/backend/Windows.h>
|
||||
#include <kinc/backend/windows.h>
|
||||
#include <kinc/system.h>
|
||||
#include <kinc/window.h>
|
||||
#include <kinc/input/mouse.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <kinc/graphics4/graphics.h>
|
||||
#include <kinc/input/gamepad.h>
|
||||
#include <kinc/backend/SystemMicrosoft.h>
|
||||
#include <kinc/backend/Windows.h>
|
||||
#include <kinc/backend/system_microsoft.h>
|
||||
#include <kinc/backend/windows.h>
|
||||
#include <kinc/display.h>
|
||||
#include <kinc/input/keyboard.h>
|
||||
#include <kinc/input/mouse.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <kinc/display.h>
|
||||
#include <kinc/graphics4/graphics.h>
|
||||
#include <kinc/window.h>
|
||||
#include <kinc/backend/Windows.h>
|
||||
#include <kinc/backend/windows.h>
|
||||
|
||||
#undef CreateWindow
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
#include "windows.h"
|
||||
@@ -117,7 +117,7 @@ enum tagPOINTER_INPUT_TYPE {
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "Windows.c.h"
|
||||
#include "windows.c.h"
|
||||
#include "base.c.h"
|
||||
#include "display.c.h"
|
||||
#include "http.c.h"
|
||||
|
||||
@@ -35,8 +35,8 @@ void kinc_error_args(const char *format, va_list args);
|
||||
|
||||
#ifdef KINC_WINDOWS
|
||||
|
||||
#include <kinc/backend/MiniWindows.h>
|
||||
#include <kinc/backend/SystemMicrosoft.h>
|
||||
#include <kinc/backend/miniwindows.h>
|
||||
#include <kinc/backend/system_microsoft.h>
|
||||
#endif
|
||||
|
||||
void kinc_affirm(bool condition) {
|
||||
|
||||
@@ -127,7 +127,7 @@ const char *macgetresourcepath(void);
|
||||
#endif
|
||||
|
||||
#if defined(KINC_WINDOWS)
|
||||
#include <kinc/backend/MiniWindows.h>
|
||||
#include <kinc/backend/miniwindows.h>
|
||||
#endif
|
||||
|
||||
static char *fileslocation = NULL;
|
||||
|
||||
@@ -35,7 +35,7 @@ void kinc_file_writer_close(kinc_file_writer_t *writer);
|
||||
#include <string.h>
|
||||
|
||||
#if defined(KINC_WINDOWS)
|
||||
#include <kinc/backend/MiniWindows.h>
|
||||
#include <kinc/backend/miniwindows.h>
|
||||
#endif
|
||||
|
||||
bool kinc_file_writer_open(kinc_file_writer_t *writer, const char *filepath) {
|
||||
|
||||
@@ -27,8 +27,8 @@ void kinc_log_args(kinc_log_level_t log_level, const char *format, va_list args)
|
||||
#endif
|
||||
|
||||
#ifdef KINC_MICROSOFT
|
||||
#include <kinc/backend/MiniWindows.h>
|
||||
#include <kinc/backend/SystemMicrosoft.h>
|
||||
#include <kinc/backend/miniwindows.h>
|
||||
#include <kinc/backend/system_microsoft.h>
|
||||
#endif
|
||||
|
||||
#ifdef KINC_ANDROID
|
||||
|
||||
Reference in New Issue
Block a user