mark readonly parameters as const

This commit is contained in:
Recep Aslantas
2019-04-28 12:15:43 +03:00
parent 85ca81ce79
commit 6ed275734b
24 changed files with 237 additions and 234 deletions

View File

@@ -103,7 +103,7 @@ glmm_vdot(__m128 a, __m128 b) {
static inline
float
glmm_dot(__m128 a, __m128 b) {
glmm_dot(const __m128 a, const __m128 b) {
return _mm_cvtss_f32(glmm_vdots(a, b));
}
@@ -115,7 +115,7 @@ glmm_norm(__m128 a) {
static inline
__m128
glmm_load3(float v[3]) {
glmm_load3(const float v[3]) {
__m128i xy;
__m128 z;