mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-07 11:13:15 +00:00
shader_recompiler: Implement manual barycentric interpolation path (#1644)
* shader_recompiler: Implement manual barycentric interpolation path * clang format * emit_spirv: Fix typo * emit_spirv: Simplify variable definition * spirv_emit: clang format
This commit is contained in:
parent
fda4f06518
commit
eb844b9b63
9 changed files with 129 additions and 58 deletions
|
@ -8,6 +8,9 @@
|
|||
namespace Shader::Backend::SPIRV {
|
||||
|
||||
void EmitPrologue(EmitContext& ctx) {
|
||||
if (ctx.stage == Stage::Fragment) {
|
||||
ctx.DefineInterpolatedAttribs();
|
||||
}
|
||||
ctx.DefineBufferOffsets();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue