├── .github ├── actions │ └── cmake-build │ │ └── action.yaml └── workflows │ ├── apple-clang.yml │ ├── clang-latest.yml │ ├── gcc-latest.yml │ ├── vs2019.yml │ └── vs2022.yml ├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── LICENSE.txt ├── README.md ├── README_Creation.png ├── README_Doom.gif ├── cmake └── Modules │ ├── CxxSwizzleSandbox.cmake │ ├── JSONParser.cmake │ ├── JSONParser_LICENSE.txt │ └── ShadertoyAPI.cmake ├── include └── swizzle │ ├── array.hpp │ ├── batch_adapters.hpp │ ├── define_vector_functions.hpp │ ├── detail │ ├── batch_write_mask.hpp │ ├── cmath_imports.hpp │ ├── common_batch_operators.hpp │ ├── common_binary_operators.h │ ├── fwd.hpp │ ├── indexed_swizzle.hpp │ ├── indexed_swizzle_storage.hpp │ ├── indexed_swizzle_swizzles.hpp │ ├── indexed_vector_iterator.hpp │ ├── preprocessor_sub.hpp │ ├── setup_common.hpp │ ├── simd_mask.hpp │ ├── utils.hpp │ ├── vector_base_type.hpp │ ├── vector_storage.hpp │ └── vector_traits.hpp │ ├── inout_wrapper.hpp │ ├── matrix.hpp │ ├── sampler_generic.hpp │ ├── setup_scalar.hpp │ ├── setup_simd_naive.hpp │ ├── setup_simd_vc.hpp │ ├── setup_simd_vc_masked.hpp │ └── vector.hpp ├── samples ├── CMakeLists.txt ├── _sh16c__doom │ ├── README.md │ ├── buffer_a.frag │ ├── buffer_b.frag │ ├── buffer_c.frag │ ├── buffer_d.frag │ ├── common.frag │ ├── image.frag │ └── shadertoy_config.hpp ├── creation_by_silexars │ ├── README.md │ ├── image.frag │ └── shadertoy_config.hpp ├── dry_ice_2 │ ├── README.md │ ├── buffer_a.frag │ ├── buffer_b.frag │ ├── buffer_c.frag │ ├── buffer_d.frag │ ├── common.frag │ ├── image.frag │ └── shadertoy_config.hpp └── seascape │ ├── README.md │ ├── image.frag │ └── shadertoy_config.hpp ├── sandbox_template ├── config.hpp.in ├── cxxswizzle.natvis ├── main.cpp ├── shadertoy_sandbox.cpp.in └── shadertoy_sandbox.hpp ├── shadertoys └── .gitkeep ├── test ├── CMakeLists.txt ├── main.cpp ├── setup.h ├── test_basic.cpp ├── test_functions.cpp ├── test_inout_proxies.cpp ├── test_proxies.cpp └── test_specs.cpp ├── textures └── .gitkeep └── vcpkg.json /.github/actions/cmake-build/action.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/.github/actions/cmake-build/action.yaml -------------------------------------------------------------------------------- /.github/workflows/apple-clang.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/.github/workflows/apple-clang.yml -------------------------------------------------------------------------------- /.github/workflows/clang-latest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/.github/workflows/clang-latest.yml -------------------------------------------------------------------------------- /.github/workflows/gcc-latest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/.github/workflows/gcc-latest.yml -------------------------------------------------------------------------------- /.github/workflows/vs2019.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/.github/workflows/vs2019.yml -------------------------------------------------------------------------------- /.github/workflows/vs2022.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/.github/workflows/vs2022.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/README.md -------------------------------------------------------------------------------- /README_Creation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/README_Creation.png -------------------------------------------------------------------------------- /README_Doom.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/README_Doom.gif -------------------------------------------------------------------------------- /cmake/Modules/CxxSwizzleSandbox.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/cmake/Modules/CxxSwizzleSandbox.cmake -------------------------------------------------------------------------------- /cmake/Modules/JSONParser.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/cmake/Modules/JSONParser.cmake -------------------------------------------------------------------------------- /cmake/Modules/JSONParser_LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/cmake/Modules/JSONParser_LICENSE.txt -------------------------------------------------------------------------------- /cmake/Modules/ShadertoyAPI.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/cmake/Modules/ShadertoyAPI.cmake -------------------------------------------------------------------------------- /include/swizzle/array.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/array.hpp -------------------------------------------------------------------------------- /include/swizzle/batch_adapters.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/batch_adapters.hpp -------------------------------------------------------------------------------- /include/swizzle/define_vector_functions.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/define_vector_functions.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/batch_write_mask.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/batch_write_mask.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/cmath_imports.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/cmath_imports.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/common_batch_operators.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/common_batch_operators.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/common_binary_operators.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/common_binary_operators.h -------------------------------------------------------------------------------- /include/swizzle/detail/fwd.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/fwd.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/indexed_swizzle.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/indexed_swizzle.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/indexed_swizzle_storage.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/indexed_swizzle_storage.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/indexed_swizzle_swizzles.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/indexed_swizzle_swizzles.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/indexed_vector_iterator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/indexed_vector_iterator.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/preprocessor_sub.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/preprocessor_sub.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/setup_common.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/setup_common.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/simd_mask.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/simd_mask.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/utils.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/utils.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/vector_base_type.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/vector_base_type.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/vector_storage.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/vector_storage.hpp -------------------------------------------------------------------------------- /include/swizzle/detail/vector_traits.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/detail/vector_traits.hpp -------------------------------------------------------------------------------- /include/swizzle/inout_wrapper.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/inout_wrapper.hpp -------------------------------------------------------------------------------- /include/swizzle/matrix.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/matrix.hpp -------------------------------------------------------------------------------- /include/swizzle/sampler_generic.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/sampler_generic.hpp -------------------------------------------------------------------------------- /include/swizzle/setup_scalar.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/setup_scalar.hpp -------------------------------------------------------------------------------- /include/swizzle/setup_simd_naive.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/setup_simd_naive.hpp -------------------------------------------------------------------------------- /include/swizzle/setup_simd_vc.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/setup_simd_vc.hpp -------------------------------------------------------------------------------- /include/swizzle/setup_simd_vc_masked.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/setup_simd_vc_masked.hpp -------------------------------------------------------------------------------- /include/swizzle/vector.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/include/swizzle/vector.hpp -------------------------------------------------------------------------------- /samples/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/CMakeLists.txt -------------------------------------------------------------------------------- /samples/_sh16c__doom/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/_sh16c__doom/README.md -------------------------------------------------------------------------------- /samples/_sh16c__doom/buffer_a.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/_sh16c__doom/buffer_a.frag -------------------------------------------------------------------------------- /samples/_sh16c__doom/buffer_b.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/_sh16c__doom/buffer_b.frag -------------------------------------------------------------------------------- /samples/_sh16c__doom/buffer_c.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/_sh16c__doom/buffer_c.frag -------------------------------------------------------------------------------- /samples/_sh16c__doom/buffer_d.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/_sh16c__doom/buffer_d.frag -------------------------------------------------------------------------------- /samples/_sh16c__doom/common.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/_sh16c__doom/common.frag -------------------------------------------------------------------------------- /samples/_sh16c__doom/image.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/_sh16c__doom/image.frag -------------------------------------------------------------------------------- /samples/_sh16c__doom/shadertoy_config.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/_sh16c__doom/shadertoy_config.hpp -------------------------------------------------------------------------------- /samples/creation_by_silexars/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/creation_by_silexars/README.md -------------------------------------------------------------------------------- /samples/creation_by_silexars/image.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/creation_by_silexars/image.frag -------------------------------------------------------------------------------- /samples/creation_by_silexars/shadertoy_config.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/creation_by_silexars/shadertoy_config.hpp -------------------------------------------------------------------------------- /samples/dry_ice_2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/dry_ice_2/README.md -------------------------------------------------------------------------------- /samples/dry_ice_2/buffer_a.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/dry_ice_2/buffer_a.frag -------------------------------------------------------------------------------- /samples/dry_ice_2/buffer_b.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/dry_ice_2/buffer_b.frag -------------------------------------------------------------------------------- /samples/dry_ice_2/buffer_c.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/dry_ice_2/buffer_c.frag -------------------------------------------------------------------------------- /samples/dry_ice_2/buffer_d.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/dry_ice_2/buffer_d.frag -------------------------------------------------------------------------------- /samples/dry_ice_2/common.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/dry_ice_2/common.frag -------------------------------------------------------------------------------- /samples/dry_ice_2/image.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/dry_ice_2/image.frag -------------------------------------------------------------------------------- /samples/dry_ice_2/shadertoy_config.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/dry_ice_2/shadertoy_config.hpp -------------------------------------------------------------------------------- /samples/seascape/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/seascape/README.md -------------------------------------------------------------------------------- /samples/seascape/image.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/seascape/image.frag -------------------------------------------------------------------------------- /samples/seascape/shadertoy_config.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/samples/seascape/shadertoy_config.hpp -------------------------------------------------------------------------------- /sandbox_template/config.hpp.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/sandbox_template/config.hpp.in -------------------------------------------------------------------------------- /sandbox_template/cxxswizzle.natvis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/sandbox_template/cxxswizzle.natvis -------------------------------------------------------------------------------- /sandbox_template/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/sandbox_template/main.cpp -------------------------------------------------------------------------------- /sandbox_template/shadertoy_sandbox.cpp.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/sandbox_template/shadertoy_sandbox.cpp.in -------------------------------------------------------------------------------- /sandbox_template/shadertoy_sandbox.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/sandbox_template/shadertoy_sandbox.hpp -------------------------------------------------------------------------------- /shadertoys/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/test/CMakeLists.txt -------------------------------------------------------------------------------- /test/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/test/main.cpp -------------------------------------------------------------------------------- /test/setup.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/test/setup.h -------------------------------------------------------------------------------- /test/test_basic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/test/test_basic.cpp -------------------------------------------------------------------------------- /test/test_functions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/test/test_functions.cpp -------------------------------------------------------------------------------- /test/test_inout_proxies.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/test/test_inout_proxies.cpp -------------------------------------------------------------------------------- /test/test_proxies.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/test/test_proxies.cpp -------------------------------------------------------------------------------- /test/test_specs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/test/test_specs.cpp -------------------------------------------------------------------------------- /textures/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vcpkg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwiazdorrr/CxxSwizzle/HEAD/vcpkg.json --------------------------------------------------------------------------------