/
redgpu
/
ispc
Обзор
Документация
Войти
/
redgpu
/
ispc
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
test
tests_errors/assign-struct-with-const-member.ispc
10 строк
178 B
Matt Pharr
Implement unbound varibility for struct types.
21 фев 2012, 22:28
21 фев 2012, 22:28
f81acbf
Код
Авторство
О чём код?
// Illegal to assign to type "varying struct Foo" due to element "a" with type "const varying int32" struct Foo { const int a; }; void foo(Foo f) { Foo a; a = f; }