syntax error

This commit is contained in:
Andrew Cassidy 2022-06-26 18:13:38 -07:00
parent 9011718c09
commit 29741447cd
2 changed files with 32 additions and 1 deletions

View File

@ -44,7 +44,7 @@ jobs:
- name: Build C side with cmake
run: |
ls
cmake . -DQUICKTEX_NOPYTHON
cmake . -DQUICKTEX_NOPYTHON=TRUE
cmake --build .
- name: Run C tests

31
quicktex/test.cpp Normal file
View File

@ -0,0 +1,31 @@
/* Quicktex Texture Compression Library
Copyright (C) 2021 Andrew Cassidy <drewcassidy@me.com>
Partially derived from rgbcx.h written by Richard Geldreich <richgel99@gmail.com>
and licenced under the public domain
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <array>
#include <cstdint>
#include <xsimd/xsimd.hpp>
#include "Matrix.h"
// Type your code here, or load an example.
namespace quicktex {
auto test(Matrix<float, 4, 1> a, Matrix<float, 4, 1> b, Matrix<float, 4, 1> c) {
return a * 7;
};
} // namespace quicktex