SDL_shader_tools
Shader compiler and tools for SDLSL (Simple Directmedia Layer Shader Language)
파일 탐색기
최종 버전 다운로드 (.zip)- main.yml
- Findre2c.cmake
- README-bytecode-format.md
- README-SDL_gpu.md
- README-shader-language-quickstart.md
- CMakeLists.txt
- lemon.c
- lempar.c
- division-zero
- division-zero.correct
- failing-short-circuit-and
- failing-short-circuit-and.correct
- failing-short-circuit-or
- failing-short-circuit-or.correct
- forbid-absolute-include
- forbid-absolute-include.correct
- forbid-dotdot-include
- forbid-dotdot-include.correct
- forbid-windows-dirsep-include
- forbid-windows-dirsep-include.correct
- macro-with-comma-after-params
- macro-with-comma-after-params.correct
- missing-include
- missing-include.correct
- modulo-zero
- modulo-zero.correct
- recover-from-bad-elif-expression
- recover-from-bad-elif-expression.correct
- recover-from-bad-if-expression
- recover-from-bad-if-expression.correct
- redefinition
- redefinition-file
- redefinition-file.correct
- redefinition-line
- redefinition-line.correct
- redefinition.correct
- too-many-macro-args
- too-many-macro-args.correct
- undef-file
- undef-file-twice
- undef-file-twice.correct
- undef-file.correct
- undef-line
- undef-line-twice
- undef-line-twice.correct
- undef-line.correct
- unknown-directive
- unknown-directive.correct
- another-from-current-dir
- include-another-from-current-dir
- another-from-current-dir
- another-from-current-dir.correct
- basic-sanity
- basic-sanity.correct
- comment-after-preprocessor-directives
- comment-after-preprocessor-directives.correct
- comment-before-preprocessor-directive
- comment-before-preprocessor-directive.correct
- concat-operator-basic
- concat-operator-basic.correct
- concat-operator-define-override
- concat-operator-define-override.correct
- concat-operator-ignore-non-args
- concat-operator-ignore-non-args.correct
- concat-operator-multiple
- concat-operator-multiple.correct
- concat-operator-stacked-override
- concat-operator-stacked-override.correct
- concat-operator-two-macros-with-args
- concat-operator-two-macros-with-args.correct
- elif-after-macro
- elif-after-macro-with-args
- elif-after-macro-with-args.correct
- elif-after-macro.correct
- empty-file
- empty-file.correct
- empty-macro-with-arg
- empty-macro-with-arg.correct
- expression-depth
- expression-depth.correct
- file-macro
- file-macro.correct
- float-half-suffix
- float-half-suffix.correct
- if-with-embedded-parens
- if-with-embedded-parens.correct
- include-file-from-same-directory
- include-file-from-same-directory.correct
- include-file-from-subdir-that-includes-from-current-directory
- include-file-from-subdir-that-includes-from-current-directory.correct
- just-a-comment
- just-a-comment.correct
- line-directive-filename
- line-directive-filename.correct
- line-directive-no-filename
- line-directive-no-filename.correct
- line-directive-whitespace-filename
- line-directive-whitespace-filename.correct
- line-macro
- line-macro.correct
- macro-1-arg-accepts-void
- macro-1-arg-accepts-void.correct
- macro-arg
- macro-arg-overrides-define
- macro-arg-overrides-define.correct
- macro-arg.correct
- macro-args
- macro-args-with-whitespace
- macro-args-with-whitespace.correct
- macro-args.correct
- macro-blank-arg
- macro-blank-arg.correct
- macro-empty-arg
- macro-empty-arg.correct
- macro-multi-args-with-whitespace
- macro-multi-args-with-whitespace.correct
- macro-paren-stacking
- macro-paren-stacking.correct
- macro-void-arg
- macro-void-arg.correct
- macro-with-arg-as-macro-arg
- macro-with-arg-as-macro-arg.correct
- multiline-comment-no-whitespace
- multiline-comment-no-whitespace-between-tokens
- multiline-comment-no-whitespace-between-tokens.correct
- multiline-comment-no-whitespace.correct
- multiline-comments-alone-on-line
- multiline-comments-alone-on-line.correct
- multiline-concat
- multiline-concat.correct
- multiline-spaces
- multiline-spaces.correct
- nested-macro-args
- nested-macro-args.correct
- pragma-directive-line-break
- pragma-directive-line-break.correct
- recursive-macros
- recursive-macros-multiple
- recursive-macros-multiple-with-args
- recursive-macros-multiple-with-args.correct
- recursive-macros-multiple.correct
- recursive-macros-with-args
- recursive-macros-with-args.correct
- recursive-macros.correct
- self-referencing-macro
- self-referencing-macro-with-args
- self-referencing-macro-with-args.correct
- self-referencing-macro.correct
- short-circuit-and
- short-circuit-and.correct
- short-circuit-or
- short-circuit-or.correct
- stringify-operator-basic
- stringify-operator-basic.correct
- stringify-operator-blank-arg
- stringify-operator-blank-arg.correct
- stringify-operator-indirect
- stringify-operator-indirect-line-macro
- stringify-operator-indirect-line-macro.correct
- stringify-operator-indirect.correct
- run_tests.pl
- sdl-shader-bytecode-dumper.c
- sdl-shader-compiler.c
- .editorconfig
- .gitignore
- CMakeLists.txt
- LICENSE.txt
- README.md
- SDL_shader_ast.c
- SDL_shader_ast.h
- SDL_shader_bytecode.h
- SDL_shader_common.c
- SDL_shader_compiler.c
- SDL_shader_compiler.h
- SDL_shader_internal.h
- SDL_shader_lexer.c
- SDL_shader_lexer.re
- SDL_shader_parser.lemon
- SDL_shader_preprocessor.c
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/libsdl-org/SDL_shader_tools
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd SDL_shader_tools
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. CMake
보통 추천사전 준비물
mkdir build && cd build
빌드 결과물을 담을 폴더를 만들고 그 안으로 이동합니다.
cmake ..
소스코드를 분석해 빌드 설정 파일을 생성합니다 (build 폴더 안에서 실행해야 함).
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
build 폴더 안에 실행 파일이 생성됐는지 확인하고, 직접 실행해보세요 (예: ./build/앱이름).
// repository documentation
Was this content helpful?
(0 ratings)
