Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes found by header analysis #861

Merged
merged 1 commit into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading