Skip to content

Commit

Permalink
sdlgpu: Fix compiler warning for hash functions
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Oct 7, 2024
1 parent 2e2d5d5 commit 9eea5d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mojoshader_sdlgpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,13 +471,15 @@ static inline uint64_t hash_vertex_shader(
int vertexAttributeCount)
{
// TODO: Combine d3dbc hash with vertex attribute hash
return 0;
}

static inline uint64_t hash_pixel_shader(
MOJOSHADER_sdlContext *ctx,
MOJOSHADER_sdlShaderData *pshader)
{
// TODO: Calculate hash of pshader d3dbc
return 0;
}

static inline ShaderBlob *fetch_blob_shader(
Expand Down

0 comments on commit 9eea5d1

Please sign in to comment.