This commit is contained in:
luboslenco
2025-02-26 18:46:36 +01:00
parent 7451c5dd7e
commit bc1b125914
180 changed files with 12823 additions and 12819 deletions
+87
View File
@@ -0,0 +1,87 @@
#pragma once
#include <iron_gpu.h>
#include <iron_math.h>
#pragma once
#include <webgpu/webgpu.h>
typedef struct {
WGPUBuffer buffer;
int count;
int stride;
} VertexBuffer5Impl;
typedef struct {
WGPUBuffer buffer;
} ConstantBuffer5Impl;
typedef struct {
WGPUBuffer buffer;
int count;
} IndexBuffer5Impl;
#pragma once
#include <webgpu/webgpu.h>
typedef struct {
WGPUTexture texture;
} Texture5Impl;
typedef struct {
WGPUTexture texture;
} RenderTarget5Impl;
#pragma once
#include <webgpu/webgpu.h>
typedef struct {
WGPURenderPipeline pipeline;
} PipelineState5Impl;
typedef struct {
WGPUComputePipeline pipeline;
} ComputePipelineState5Impl;
typedef struct {
int vertexOffset;
int fragmentOffset;
int computeOffset;
} ConstantLocation5Impl;
typedef struct kinc_g5_sampler_impl {
int a;
} kinc_g5_sampler_impl_t;
struct WGPUShaderModuleImpl;
typedef struct {
WGPUShaderModule module;
} Shader5Impl;
#pragma once
#include <webgpu/webgpu.h>
typedef struct {
WGPUCommandEncoder encoder;
WGPURenderPassEncoder pass;
int indexCount;
} CommandList5Impl;
#pragma once
typedef struct kinc_g5_compute_shader_impl {
int nothing;
} kinc_g5_compute_shader_impl;