Boscop / Boscop/ShaderBoi

Difficulties when discriminating between lower and uppercase

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
11
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I have two (forked) shaders on shadertoy, which do only discriminate by the casing (for some reason). Now once one file is cached, the other will not be loaded.

This is because it loads the wrong JSON file from cache. On windows, the system can not store two files with only different casing. Thus causing the issue.

It needs to be tested, whether the file is stored with the very exact casing otherwise it can not be reused from cache.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the Shadertoy shader cache lookup and the JSON file path construction. Test two shader identifiers that differ only by casing on a case-insensitive filesystem, then verify that each exact-cased cache entry is selected without reusing the other one.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.