{"id":18019800,"url":"https://github.com/gwihlidal/svc-shader","last_synced_at":"2025-03-26T20:31:32.497Z","repository":{"id":77093346,"uuid":"168049319","full_name":"gwihlidal/svc-shader","owner":"gwihlidal","description":"A gRPC micro-service that exposes a variety of GPU shader compilers under a common cloud-based abstraction.","archived":false,"fork":false,"pushed_at":"2019-06-25T03:36:03.000Z","size":1928,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-22T10:42:55.013Z","etag":null,"topics":["docker","dxc","glsl","gpu-shader-compilers","grpc-micro-service","hlsl","kubernetes","protobuf","rust-lang"],"latest_commit_sha":null,"homepage":null,"language":"HLSL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gwihlidal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-28T22:36:18.000Z","updated_at":"2023-08-19T05:24:42.000Z","dependencies_parsed_at":"2023-02-25T00:00:53.686Z","dependency_job_id":null,"html_url":"https://github.com/gwihlidal/svc-shader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwihlidal%2Fsvc-shader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwihlidal%2Fsvc-shader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwihlidal%2Fsvc-shader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwihlidal%2Fsvc-shader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gwihlidal","download_url":"https://codeload.github.com/gwihlidal/svc-shader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245731462,"owners_count":20663193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["docker","dxc","glsl","gpu-shader-compilers","grpc-micro-service","hlsl","kubernetes","protobuf","rust-lang"],"created_at":"2024-10-30T05:12:29.102Z","updated_at":"2025-03-26T20:31:32.485Z","avatar_url":"https://github.com/gwihlidal.png","language":"HLSL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# svc-shader\n\nA gRPC micro-service that exposes a variety of GPU shader compilers under a common cloud-based abstraction.\n\n[![Build Status](https://travis-ci.org/gwihlidal/svc-shader.svg?branch=master)](https://travis-ci.org/gwihlidal/svc-shader)\n\nHub: https://hub.docker.com/r/gwihlidal/svc-shader/\n\n## Extensive documentation\n\n- https://www.wihlidal.com/blog/pipeline/2018-09-15-linux-dxc-docker/\n- https://www.wihlidal.com/blog/pipeline/2018-09-16-dxil-signing-post-compile/\n- https://www.wihlidal.com/blog/pipeline/2018-09-17-linux-fxc-docker/\n- https://www.wihlidal.com/blog/pipeline/2018-12-28-containerized_shader_compilers/\n\n## Updating Compilers\n\nThe `svc-shader` image inherits from the `docker-shader` image. A new `docker-shader` image must be built when compilers need to be updated. Once there is a new `docker-shader` image, the `svc-shader` image and scripts should be modified to point to the new version.\n\nThe `docker-shader` image can be modified as per [these instructions](https://github.com/gwihlidal/docker-shader#updating-compilers).\n\nBefore building and pushing a new image, increment the version number at the top of `Makefile`\n\nBuild and push a new image by running `\"make push\"`, `image.sh`, or by running the commands manually (substituting in the correct variable values):\n\n```bash\ndocker build -t $(NS)/$(REPO):$(VERSION) .\ndocker push $(NS)/$(REPO):$(VERSION)\n```\n\nExample:\n\n```bash\ndocker build -t gwihlidal/svc-shader:15 .\ndocker push gwihlidal/svc-shader:15\n```\n\nNote, you won't have permission to push to the `gwihlidal` namespace on Docker Hub, so make sure to use your own account or custom container registry like https://cloud.google.com/container-registry/\n\nExample of a version update:\n\nhttps://github.com/gwihlidal/svc-shader/commit/a845f5bffeadb76b0cb77ea4bd4525d2b58798fe\n\n## Deployment\n\nOnce a new `svc-shader` image is built and pushed to the container registry, it should be deployed to Google Kubernetes Engine (GKE).\n\nDeployment can be done by executing `deploy.sh`, or running the following command:\n\n```bash\nkubectl apply -f ./svc_shader_k8s.yaml\n```\n\nYou can verify the new image is running by confirming the version of the image on [GKE](https://console.cloud.google.com):\n\n![alt text](https://github.com/gwihlidal/svc-shader/blob/master/svc_shader.png \"Deployed Version\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgwihlidal%2Fsvc-shader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgwihlidal%2Fsvc-shader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgwihlidal%2Fsvc-shader/lists"}