{"id":20106754,"url":"https://github.com/ravbug/nshaderc","last_synced_at":"2026-02-05T05:02:28.008Z","repository":{"id":40620279,"uuid":"504743409","full_name":"Ravbug/nshaderc","owner":"Ravbug","description":"New replacement shader compiler for bgfx","archived":false,"fork":false,"pushed_at":"2022-09-14T17:18:18.000Z","size":443,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-21T00:40:26.896Z","etag":null,"topics":["3d-graphics","bgfx","compilers","directx","metal","opengl","spirv-cross","vulkan"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ravbug.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-18T04:31:06.000Z","updated_at":"2023-08-19T13:56:31.000Z","dependencies_parsed_at":"2023-01-17T19:01:14.031Z","dependency_job_id":null,"html_url":"https://github.com/Ravbug/nshaderc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ravbug/nshaderc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Fnshaderc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Fnshaderc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Fnshaderc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Fnshaderc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ravbug","download_url":"https://codeload.github.com/Ravbug/nshaderc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Fnshaderc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29113189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T03:44:17.043Z","status":"ssl_error","status_checked_at":"2026-02-05T03:44:12.077Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d-graphics","bgfx","compilers","directx","metal","opengl","spirv-cross","vulkan"],"created_at":"2024-11-13T17:54:41.844Z","updated_at":"2026-02-05T05:02:27.992Z","avatar_url":"https://github.com/Ravbug.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nshaderc\nA work-in-progress replacement shader compiler for bgfx. It is not backwards-compatible with the existing bgfx shader compiler.\n\n**Goals**\n1. To take only standard GLSL as input\n2. To not rely on macros or other hacks for feature support\n3. To generate readable source that matches the original input as closely as possible for easier shader source debugging\n4. To be linkable as a library for runtime shader compilation\n\n**Non-goals**\n1. To support the DX9, NVN, and PSSL backends  \n2. To support legacy compilers or C++ versions\n3. To be backwards-compatibile with the existing bgfx shader compiler\n\n**Progress**\n- [x] Metal\n- [ ] Metal Binary\n- [ ] Vulkan\n- [ ] OpenGL\n- [ ] OpenGL ES\n- [ ] DX9\n- [ ] DX11\n- [ ] DX12 \n\n### Usage\nRun `nshaderc --help` for a menu of options. To specify the compatibility version, supply the major and minor versions \nin one integer. For example, for Metal 2.1, use 21, for DirectX Shader Model 5.1, use 51, and for Vulkan 1.3, use 13.\n\n### Building\nClone recursive to get all submodules:\n```\ngit clone https://github.com/Ravbug/nshaderc --depth=1 --recurse-submodules\n```\nThen build with cmake:\n```\nmkdir build\ncd build\ncmake -DCMAKE_BUILD_TYPE=Release ..\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravbug%2Fnshaderc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravbug%2Fnshaderc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravbug%2Fnshaderc/lists"}