X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Ffunction_override.glsl;h=0a390952094fe1ad2ef11269da66596d219655f3;hb=d6a04ea0146ea58c13a10098957e1d48492e26c0;hp=c7e64d5233920f6a9b55b7a84b481e000016d88b;hpb=6dcf74922f46b086ad394c19fd6ce083a635b290;p=libs%2Fgl.git diff --git a/tests/glsl/function_override.glsl b/tests/glsl/function_override.glsl index c7e64d52..0a390952 100644 --- a/tests/glsl/function_override.glsl +++ b/tests/glsl/function_override.glsl @@ -4,7 +4,7 @@ virtual float get_scale() { return 1.0; } -int main() +void main() { gl_Position = position*get_scale(); } @@ -13,9 +13,11 @@ float get_scale() override return 2.0; } +// Target API: Vulkan + /* Expected output: vertex layout(location=0) in vec4 position; -int main() +void main() { gl_Position = position*2.0; }