Skip to content

Commit

Permalink
[D3D9] Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Jan 17, 2024
1 parent 66a400b commit 5009b0f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 91 deletions.
66 changes: 0 additions & 66 deletions Backends/Graphics4/Direct3D9/Sources/kinc/backend/compute.cpp

This file was deleted.

25 changes: 0 additions & 25 deletions Backends/Graphics4/Direct3D9/Sources/kinc/backend/compute.h

This file was deleted.

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) {}
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

0 comments on commit 5009b0f

Please sign in to comment.