@@ -55,19 +55,19 @@ enable_if_t<is_floating_point_v<FloatingPoint> && !is_matrix_v<FloatingPoint>, F
5555
5656template<typename FloatingPoint>
5757[[vk::ext_instruction (GLSLstd450::GLSLstd450Cross, "GLSL.std.450" )]]
58- enable_if_t<is_floating_point_v<FloatingPoint>, vector <FloatingPoint, 3 > > cross (in vector <FloatingPoint, 3 > lhs, in vector <FloatingPoint, 3 > rhs);
58+ enable_if_t<is_floating_point_v<FloatingPoint>, vector <FloatingPoint, 3 > > cross (NBL_CONST_REF_ARG ( vector <FloatingPoint, 3 >) lhs, NBL_CONST_REF_ARG ( vector <FloatingPoint, 3 >) rhs);
5959
6060template<typename FloatingPoint>
6161[[vk::ext_instruction (GLSLstd450::GLSLstd450FMix, "GLSL.std.450" )]]
6262enable_if_t<is_floating_point_v<FloatingPoint> && !is_matrix_v<FloatingPoint>, FloatingPoint> fMix (FloatingPoint x, FloatingPoint y, FloatingPoint a);
6363
6464template<typename T, int N>
6565[[vk::ext_instruction (GLSLstd450::GLSLstd450Determinant, "GLSL.std.450" )]]
66- T determinant (in matrix <T, N, N> mat);
66+ T determinant (NBL_CONST_REF_ARG ( matrix <T, N, N>) mat);
6767
6868template<typename T, int N>
6969[[vk::ext_instruction (GLSLstd450MatrixInverse, "GLSL.std.450" )]]
70- matrix <T, N, N> matrixInverse (in matrix <T, N, N> mat);
70+ matrix <T, N, N> matrixInverse (NBL_CONST_REF_ARG ( matrix <T, N, N>) mat);
7171
7272[[vk::ext_instruction (GLSLstd450UnpackSnorm2x16, "GLSL.std.450" )]]
7373float32_t2 unpackSnorm2x16 (uint32_t p);
0 commit comments