forked from LeenkxTeam/LNXRNT
41 lines
1.0 KiB
C
41 lines
1.0 KiB
C
#pragma once
|
|
|
|
#include "MiniVulkan.h"
|
|
|
|
#include "named_number.h"
|
|
|
|
struct kinc_g5_shader;
|
|
|
|
typedef struct PipelineState5Impl_s {
|
|
const char **textures;
|
|
int *textureValues;
|
|
int textureCount;
|
|
|
|
VkPipeline framebuffer_pipeline;
|
|
VkPipeline rendertarget_pipeline;
|
|
VkShaderModule vert_shader_module;
|
|
VkShaderModule frag_shader_module;
|
|
|
|
kinc_internal_named_number vertexLocations[KINC_INTERNAL_NAMED_NUMBER_COUNT];
|
|
kinc_internal_named_number fragmentLocations[KINC_INTERNAL_NAMED_NUMBER_COUNT];
|
|
kinc_internal_named_number textureBindings[KINC_INTERNAL_NAMED_NUMBER_COUNT];
|
|
kinc_internal_named_number vertexOffsets[KINC_INTERNAL_NAMED_NUMBER_COUNT];
|
|
kinc_internal_named_number fragmentOffsets[KINC_INTERNAL_NAMED_NUMBER_COUNT];
|
|
|
|
VkPipelineLayout pipeline_layout;
|
|
} PipelineState5Impl;
|
|
|
|
typedef struct ComputePipelineState5Impl_t {
|
|
int a;
|
|
} ComputePipelineState5Impl;
|
|
|
|
typedef struct {
|
|
int vertexOffset;
|
|
int fragmentOffset;
|
|
int computeOffset;
|
|
} ConstantLocation5Impl;
|
|
|
|
typedef struct {
|
|
int nothing;
|
|
} AttributeLocation5Impl;
|