/
redgpu
/
ispc
Обзор
Документация
Войти
/
redgpu
/
ispc
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/lit-tests/header-bool.ispc
10 строк
338 B
Aleksei Nurmukhametov
Fix C compatibility for headers generated by ISPC
12 сен 2023, 19:01
12 сен 2023, 19:01
667a545
Код
Авторство
О чём код?
// This test checks whether ISPC generates correct C and C++ header regarding used bool function parameter // RUN: %{ispc} --target=host --nostdlib --nowrap -h %t.h %s 2>&1 // RUN: %{cc} -c -x c++ %t.h // RUN: %{cc} -c -x c %t.h // RUN: %{cc} -c -x c %t.h -E -o - 2>&1 | FileCheck %s // CHECK: _Bool export void use(uniform bool x) {}