Skip to content

Commit

Permalink
Merge pull request #26 from psydack/bugfix/shader-compiler-rp
Browse files Browse the repository at this point in the history
fix: #25 use packageRequirements suggestion
  • Loading branch information
psydack authored Jan 14, 2022
2 parents 5044f42 + 849418a commit 27afa3f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Resources/Shaders/DearImGui-Mesh.shader
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

Pass
{
PackageRequirements {
"com.unity.render-pipelines.universal"
}

Name "DEARIMGUI URP"

HLSLPROGRAM
Expand Down Expand Up @@ -56,6 +60,10 @@

Pass
{
PackageRequirements {
"com.unity.render-pipelines.high-definition"
}

Name "DEARIMGUI HDRP"

HLSLPROGRAM
Expand Down
8 changes: 8 additions & 0 deletions Resources/Shaders/DearImGui-Procedural.shader
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

Pass
{
PackageRequirements {
"com.unity.render-pipelines.universal"
}

Name "DEARIMGUI PROCEDURAL URP"

HLSLPROGRAM
Expand Down Expand Up @@ -82,6 +86,10 @@

Pass
{
PackageRequirements {
"com.unity.render-pipelines.high-definition"
}

Name "DEARIMGUI HDRP"

HLSLPROGRAM
Expand Down

0 comments on commit 27afa3f

Please sign in to comment.