{"id":18782114,"url":"https://github.com/gpuopen-librariesandsdks/barycentrics11","last_synced_at":"2026-01-27T15:31:10.195Z","repository":{"id":99065903,"uuid":"60205972","full_name":"GPUOpen-LibrariesAndSDKs/Barycentrics11","owner":"GPUOpen-LibrariesAndSDKs","description":"Barycentric coordinates GCN shader extension sample for DirectX 11","archived":false,"fork":false,"pushed_at":"2021-01-13T17:03:43.000Z","size":3862,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-21T07:47:39.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HLSL","has_issues":false,"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/GPUOpen-LibrariesAndSDKs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-06-01T19:46:12.000Z","updated_at":"2025-02-15T15:13:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"960d5465-df85-42fd-828b-cfa6863c75fc","html_url":"https://github.com/GPUOpen-LibrariesAndSDKs/Barycentrics11","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/GPUOpen-LibrariesAndSDKs/Barycentrics11","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-LibrariesAndSDKs%2FBarycentrics11","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-LibrariesAndSDKs%2FBarycentrics11/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-LibrariesAndSDKs%2FBarycentrics11/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-LibrariesAndSDKs%2FBarycentrics11/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GPUOpen-LibrariesAndSDKs","download_url":"https://codeload.github.com/GPUOpen-LibrariesAndSDKs/Barycentrics11/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GPUOpen-LibrariesAndSDKs%2FBarycentrics11/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28815397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: 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":[],"created_at":"2024-11-07T20:34:57.485Z","updated_at":"2026-01-27T15:31:10.179Z","avatar_url":"https://github.com/GPUOpen-LibrariesAndSDKs.png","language":"HLSL","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![pipeline status](http://isvgit.amd.com/gpuopen/Barycentrics11/badges/master/pipeline.svg)](http://isvgit.amd.com/gpuopen/Barycentrics11/commits/master)\r\n\r\n# AMD Barycentric Shader Extension Sample\r\n\r\nThis sample shows how to use the GCN shader extensions for D3D11 to access the barycentric intrinsic instruction in an HLSL pixel shader.\r\n\r\n### Prerequisites\r\n* AMD Radeon\u0026trade; GCN-based GPU (HD 7000 series or newer)\r\n* 64-bit Windows\u0026reg; 10\r\n* Visual Studio\u0026reg; 2019\r\n* Radeon Software Crimson Edition 16.9.1 (driver version 16.40) or later\r\n\r\n### Sample Overview\r\nThis sample renders a triangle zooming in and out. The triangle uses a checker board texture modulated by the barycentric coordinates as RGB colors.\r\n\r\n### Points of Interest\r\n* This sample uses a driver extension to enable the use of instrinsic instructions.\r\n  * The driver extension is accessed through the AMD GPU Services (AGS) library.\r\n  * For more information on AGS, including samples, visit the AGS SDK repository: https://github.com/GPUOpen-LibrariesAndSDKs/AGS_SDK\r\n* The shader compiler should not use the D3DCOMPILE_SKIP_OPTIMIZATION option, otherwise it will not work.\r\n* Other instrinsics are also available.\r\n\r\n### Attribution\r\n* AMD, the AMD Arrow logo, Radeon, and combinations thereof are either registered trademarks or trademarks of Advanced Micro Devices, Inc. in the United States and/or other countries.\r\n* Microsoft, Direct3D, DirectX, Visual Studio, and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpuopen-librariesandsdks%2Fbarycentrics11","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpuopen-librariesandsdks%2Fbarycentrics11","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpuopen-librariesandsdks%2Fbarycentrics11/lists"}