diff options
Diffstat (limited to 'tools/gfx-unit-test/link-time-type.cpp')
| -rw-r--r-- | tools/gfx-unit-test/link-time-type.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/gfx-unit-test/link-time-type.cpp b/tools/gfx-unit-test/link-time-type.cpp index 32a6b6775..66a886c16 100644 --- a/tools/gfx-unit-test/link-time-type.cpp +++ b/tools/gfx-unit-test/link-time-type.cpp @@ -20,6 +20,8 @@ namespace gfx_test { [Differentiable] float getBaseValue(); + [Differentiable] + static float getBaseValueS(); } interface IFoo : IBase { @@ -36,6 +38,8 @@ namespace gfx_test float getValue() { return val + 1.0; } [Differentiable] float getBaseValue() { return val; } + [Differentiable] + static float getBaseValueS() { return 0.0; } property float val2 { get { return val + 2.0; } set { val = newValue; } |
