Skip to content

Commit

Permalink
Minor fixes found by header analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
SunDaw committed Feb 17, 2024
1 parent 9f1a109 commit 3b4a880
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ struct ID3D12StateObject;
struct ID3D12Resource;

typedef struct {
ID3D12StateObject *dxr_state;
ID3D12Resource *raygen_shader_table;
ID3D12Resource *miss_shader_table;
ID3D12Resource *hitgroup_shader_table;
struct ID3D12StateObject *dxr_state;
struct ID3D12Resource *raygen_shader_table;
struct ID3D12Resource *miss_shader_table;
struct ID3D12Resource *hitgroup_shader_table;
} kinc_raytrace_pipeline_impl_t;

typedef struct {
ID3D12Resource *bottom_level_accel;
ID3D12Resource *top_level_accel;
struct ID3D12Resource *bottom_level_accel;
struct ID3D12Resource *top_level_accel;
} kinc_raytrace_acceleration_structure_impl_t;

#ifdef __cplusplus
Expand Down
2 changes: 2 additions & 0 deletions Sources/kinc/libs/lz4x.h
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,8 @@ static size_t kwrite(void* src, size_t size, char* dst, size_t* offset, int maxO

//int decompress()
#ifdef KORE_LZ4X
#include <kinc/error.h>

int LZ4_decompress_safe(const char *source, char *buf, int compressedSize, int maxOutputSize)
{
size_t read_offset = 0;
Expand Down
2 changes: 1 addition & 1 deletion Sources/kinc/simd/type_conversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include "types.h"
#include <kinc/global.h>
#include <string>
#include <string.h>

/*! \file type_conversions.h
\brief Provides type casts and type conversions between all 128bit SIMD types
Expand Down

0 comments on commit 3b4a880

Please sign in to comment.