You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that SamplerOrTextureName is the name of the sampler or texture in the shader that the sampler object is assigned to.
The name of the sampler object should be defined in the Desc, and it is missing in this case.
I have just checked and SamplerDesc struct does not contain the Name field. Also, ImmutableSamplerDesc struct does not contain the Name field as well. So it seems we can't explicitly name samplers?
When unpacking the archive, sampler name is not shown in the error message:
Diligent Engine: ERROR in ValidateSamplerDesc() (SamplerBase.cpp, 46): Description of sampler '' is invalid: Subsampled sampler requires SHADING_RATE_CAP_FLAG_SUBSAMPLED_RENDER_TARGET capability
Diligent Engine: ERROR in CreateDeviceObject() (RenderDeviceBase.hpp, 511): Failed to create Sampler object ''
Diligent Engine: ERROR: Debug assertion failed in GetVkSampler(), file PipelineResourceSignatureVkImpl.cpp, line 183:
Debug expression failed:
Ptr
With the following .json contents:
The text was updated successfully, but these errors were encountered: