/
redgpu
/
ispc
Обзор
Документация
Войти
/
redgpu
/
ispc
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
test
tests_errors/soa-9.ispc
9 строк
203 B
Matt Pharr
Choose type for integer literals to match the target mask size (if possible).
24 июл 2013, 04:24
24 июл 2013, 04:24
f7f281a
Код
Авторство
О чём код?
// Can't convert from pointer to SOA type "soa<8> struct A \* uniform" to pointer to non-SOA type "void \* varying" struct A { float a, b; }; soa<8> A as[100]; void foo() { void *ptr = &as[0]; }