Skip to content

Commit 67d0142

Browse files
committed
Refactored example a bit following changes to separable samplers
1 parent 0f27558 commit 67d0142

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

24_ColorSpaceTest/main.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ class ColorSpaceTestSampleApp final : public examples::SimpleWindowedApplication
135135
.stageFlags = IShader::ESS_FRAGMENT,
136136
.count = 1,
137137
#if defined(COMBINED_IMMUTABLE)
138-
.samplers = &defaultSampler
138+
.immutableSamplers = &defaultSampler
139139
#else
140-
.samplers = nullptr
140+
.immutableSamplers = nullptr
141141
#endif
142142
}
143143
};
@@ -148,7 +148,7 @@ class ColorSpaceTestSampleApp final : public examples::SimpleWindowedApplication
148148
.createFlags = IGPUDescriptorSetLayout::SBinding::E_CREATE_FLAGS::ECF_NONE,
149149
.stageFlags = IShader::ESS_FRAGMENT,
150150
.count = 1,
151-
.samplers = nullptr
151+
.immutableSamplers = nullptr
152152
},
153153
{
154154
.binding = 1,
@@ -157,9 +157,9 @@ class ColorSpaceTestSampleApp final : public examples::SimpleWindowedApplication
157157
.stageFlags = IShader::ESS_FRAGMENT,
158158
.count = 1,
159159
#if defined(SEPARATED_IMMUTABLE)
160-
.samplers = &defaultSampler
160+
.immutableSamplers = &defaultSampler
161161
#else
162-
.samplers = nullptr
162+
.immutableSamplers = nullptr
163163
#endif
164164
}
165165
};

0 commit comments

Comments
 (0)