mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
increase minimal required cmake version.
This commit is contained in:
10
sandbox/metalcpp/add.metal
Normal file
10
sandbox/metalcpp/add.metal
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <metal_stdlib>
|
||||
using namespace metal;
|
||||
|
||||
kernel void add_arrays(device const float* inA,
|
||||
device const float* inB,
|
||||
device float* result,
|
||||
uint index [[thread_position_in_grid]])
|
||||
{
|
||||
result[index] = inA[index] + inB[index];
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
# Assume this project is invoked by emcmake.
|
||||
cmake_minimum_required(VERSION 3.5.1)
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
set(BUILD_TARGET "tinyusdz")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user