Merge pull request #9167 from vonchenplus/tess
video_core: Fix few issues in Tess stage
This commit is contained in:
commit
c973029374
18 changed files with 63 additions and 6 deletions
|
@ -166,6 +166,7 @@ Shader::RuntimeInfo MakeRuntimeInfo(std::span<const Shader::IR::Program> program
|
|||
}
|
||||
break;
|
||||
case Shader::Stage::TessellationEval:
|
||||
info.tess_clockwise = key.state.tessellation_clockwise != 0;
|
||||
info.tess_primitive = [&key] {
|
||||
const u32 raw{key.state.tessellation_primitive.Value()};
|
||||
switch (static_cast<Maxwell::Tessellation::DomainType>(raw)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue