-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66a400b
commit 5009b0f
Showing
4 changed files
with
35 additions
and
91 deletions.
There are no files selected for viewing
66 changes: 0 additions & 66 deletions
66
Backends/Graphics4/Direct3D9/Sources/kinc/backend/compute.cpp
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
Backends/Graphics4/Direct3D9/Sources/kinc/backend/compute.h
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
Backends/Graphics4/Direct3D9/Sources/kinc/backend/graphics4/compute.cpp
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#include <kinc/graphics4/compute.h> | ||
#include <kinc/graphics4/rendertarget.h> | ||
#include <kinc/graphics4/texture.h> | ||
#include <kinc/math/core.h> | ||
|
||
void kinc_g4_compute_shader_init(kinc_g4_compute_shader *shader, void *source, int length) {} | ||
|
||
void kinc_g4_compute_shader_destroy(kinc_g4_compute_shader *shader) {} | ||
|
||
kinc_g4_constant_location_t kinc_g4_compute_shader_get_constant_location(kinc_g4_compute_shader *shader, const char *name) { | ||
kinc_g4_constant_location_t location = {0}; | ||
return location; | ||
} | ||
|
||
kinc_g4_texture_unit_t kinc_g4_compute_shader_get_texture_unit(kinc_g4_compute_shader *shader, const char *name) { | ||
kinc_g4_texture_unit_t unit = {0}; | ||
return unit; | ||
} | ||
|
||
void kinc_g4_set_compute_shader(kinc_g4_compute_shader *shader) {} | ||
|
||
void kinc_g4_compute(int x, int y, int z) {} |
13 changes: 13 additions & 0 deletions
13
Backends/Graphics4/Direct3D9/Sources/kinc/backend/graphics4/compute.h
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#pragma once | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
typedef struct kinc_g4_compute_shader_impl { | ||
int nothing; | ||
} kinc_g4_compute_shader_impl; | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif |