vulkan-cpu
work-in-progress for Vulkan implementation on cpu
파일 탐색기
최종 버전 다운로드 (.zip)- build.sh
- demo.md
- generate_spirv_parser.md
- generate_spirv_parser_indentation_control.md
- GSOC 2017 Project Proposal - Software Renderer for Vulkan.pdf
- gsoc-2017-landing-page.md
- image.md
- json.md
- llvm_wrapper.md
- pipeline.md
- spirv.md
- spirv_to_llvm.md
- todo.md
- util.md
- vulkan.md
- CMakeLists.txt
- demo.cpp
- ast.cpp
- ast.h
- CMakeLists.txt
- generate.cpp
- generate.h
- generate_spirv_parser.cpp
- instruction_properties.cpp
- instruction_properties.h
- parser.cpp
- parser.h
- patch.cpp
- patch.h
- word_iterator.h
- CMakeLists.txt
- image.cpp
- image.h
- CMakeLists.txt
- json.cpp
- json.h
- location.cpp
- location.h
- parser.cpp
- parser.h
- source.cpp
- source.h
- extinst.glsl.std.450.grammar.json
- extinst.opencl.std.100.grammar.json
- LICENSE
- spirv.core.grammar.json
- spirv.json
- CMakeLists.txt
- llvm_wrapper.cpp
- llvm_wrapper.h
- orc_compile_stack.cpp
- orc_compile_stack.h
- CMakeLists.txt
- pipeline.cpp
- pipeline.h
- CMakeLists.txt
- literal_string.cpp
- literal_string.h
- word.h
- CMakeLists.txt
- core_instructions.cpp
- fragment_entry_point.cpp
- glsl_instructions.cpp
- opencl_instructions.cpp
- spirv_to_llvm.cpp
- spirv_to_llvm.h
- spirv_to_llvm_implementation.h
- vertex_entry_point.cpp
- bit_intrinsics.cpp
- bit_intrinsics.h
- bitset.cpp
- bitset.h
- CMakeLists.txt
- constexpr_array.h
- copy_cv_ref.cpp
- copy_cv_ref.h
- endian.h
- endian_config.h.in
- enum.h
- filesystem.cpp
- filesystem.h
- in_place.cpp
- in_place.h
- invoke.cpp
- invoke.h
- is_referenceable.cpp
- is_referenceable.h
- is_swappable.cpp
- is_swappable.h
- memory.h
- optional.cpp
- optional.h
- soft_float.cpp
- soft_float.h
- string_view.cpp
- string_view.h
- system_memory_info.cpp
- system_memory_info.h
- text.h
- util_test.cpp
- variant.cpp
- variant.h
- void_t.cpp
- void_t.h
- api_objects.cpp
- api_objects.h
- CMakeLists.txt
- util.h
- vk_icd.h
- vk_platform.h
- vulkan.cpp
- vulkan.h
- CMakeLists.txt
- kazan_vulkan_icd.json.in
- vulkan_icd.cpp
- vulkan_icd.h
- CMakeLists.txt
- demo-text.obj
- test.spv
- tri.frag
- tri.frag.spv
- tri.vert
- tri.vert.spv
- .clang-format
- .dockerignore
- .gitignore
- .travis.yml
- CMakeLists.txt
- Dockerfile
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/programmerjake/vulkan-cpu
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd vulkan-cpu
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- APT (Debian/Ubuntu 계열) Debian/Ubuntu 계열 리눅스에 기본 내장된 패키지 매니저입니다.
sudo apt install build-essential git clang-4.0 llvm-4.0-dev cmake zlib1g-dev libsdl2-dev
APT 패키지 저장소에서 바로 설치합니다 (Debian/Ubuntu 계열).
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Docker
쉬움사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -t kazan .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
4. CMake
보통사전 준비물
sudo apt install build-essential git clang-4.0 llvm-4.0-dev cmake zlib1g-dev libsdl2-dev
APT 패키지 저장소에서 바로 설치합니다 (Debian/Ubuntu 계열).
cmake .. -DCMAKE_CXX_COMPILER="`which clang++-4.0`" -DCMAKE_C_COMPILER="`which clang-4.0`" -DCMAKE_BUILD_TYPE=Debug
소스코드를 분석해 빌드 설정 파일을 생성합니다 (build 폴더 안에서 실행해야 함).
build 폴더 안에 실행 파일이 생성됐는지 확인하고, 직접 실행해보세요 (예: ./build/앱이름).
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
