Commit 012b46e
committed
Use unprefixed hook name in scope error message
The scope error message now uses the display name alias (e.g. worldInputs)
instead of the internal shader function name (e.g. getWorldInputs).
This matches the primary API that users interact with via begin()/end().
Also added a unit test verifying the error uses the unprefixed name.1 parent f458618 commit 012b46e
2 files changed
Lines changed: 29 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
812 | 816 | | |
813 | 817 | | |
814 | 818 | | |
815 | 819 | | |
816 | 820 | | |
817 | 821 | | |
818 | 822 | | |
819 | | - | |
820 | | - | |
821 | | - | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
822 | 826 | | |
823 | 827 | | |
824 | 828 | | |
| |||
829 | 833 | | |
830 | 834 | | |
831 | 835 | | |
832 | | - | |
| 836 | + | |
833 | 837 | | |
834 | 838 | | |
835 | 839 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2759 | 2759 | | |
2760 | 2760 | | |
2761 | 2761 | | |
| 2762 | + | |
| 2763 | + | |
| 2764 | + | |
| 2765 | + | |
| 2766 | + | |
| 2767 | + | |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
| 2771 | + | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
| 2781 | + | |
| 2782 | + | |
2762 | 2783 | | |
2763 | 2784 | | |
0 commit comments