mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-06 08:08:42 +00:00
spirv: Fix default attributes
This commit is contained in:
parent
74a5d1e7e4
commit
f13aa08e5d
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ void EmitContext::DefineInputs() {
|
||||||
front_facing = DefineVariable(U1[1], spv::BuiltIn::FrontFacing, spv::StorageClass::Input);
|
front_facing = DefineVariable(U1[1], spv::BuiltIn::FrontFacing, spv::StorageClass::Input);
|
||||||
for (const auto& input : info.ps_inputs) {
|
for (const auto& input : info.ps_inputs) {
|
||||||
const u32 semantic = input.param_index;
|
const u32 semantic = input.param_index;
|
||||||
if (input.is_default) {
|
if (input.is_default && !input.is_flat) {
|
||||||
input_params[semantic] = {MakeDefaultValue(*this, input.default_value), F32[1],
|
input_params[semantic] = {MakeDefaultValue(*this, input.default_value), F32[1],
|
||||||
F32[1], 4, true};
|
F32[1], 4, true};
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue