diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-19 13:21:14 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-19 13:21:14 -0400 |
| commit | 9baf5de90cb47bdf767ff9302d586ac54e9f525d (patch) | |
| tree | b6042566a3163c5fb1ebaab711917f3441a1df64 /src/video_core/engines/shader_bytecode.h | |
| parent | d6cb22b0df4e2b785827830e7af605477acbc9b4 (diff) | |
| parent | 731701a2d256efba969cdbaf8712a28aa1a10aad (diff) | |
Merge pull request #1108 from Subv/front_facing
Shaders: Implemented the gl_FrontFacing input attribute (attr 63).
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 6cfb9c5f8..059dc2e5d 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -79,6 +79,9 @@ union Attribute { // shader, and a tuple of (TessCoord.x, TessCoord.y, TessCoord.z, ~) when inside a Tess Eval // shader. TessCoordInstanceIDVertexID = 47, + // This attribute contains a tuple of (Unk, Unk, Unk, gl_FrontFacing) when inside a fragment + // shader. It is unknown what the other values contain. + FrontFacing = 63, }; union { |
