-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compile the first ray shaders with dxc
- Loading branch information
1 parent
592b41a
commit fc95cef
Showing
3 changed files
with
223 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
#pragma once | ||
|
||
typedef enum shader_stage { SHADER_STAGE_VERTEX, SHADER_STAGE_FRAGMENT, SHADER_STAGE_COMPUTE } shader_stage; | ||
typedef enum shader_stage { | ||
SHADER_STAGE_VERTEX, | ||
SHADER_STAGE_FRAGMENT, | ||
SHADER_STAGE_COMPUTE, | ||
SHADER_STAGE_RAY_GENERATION, | ||
SHADER_STAGE_RAY_MISS, | ||
SHADER_STAGE_RAY_CLOSEST_HIT | ||
} shader_stage; |