diff options
| author | skallweitNV <64953474+skallweitNV@users.noreply.github.com> | 2024-06-11 17:21:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-11 08:21:45 -0700 |
| commit | 5a289681e511ec419829291c7281cdd3c7918b7f (patch) | |
| tree | a1dd2c5d6fb3eaff5f17f9c0033326c1fd52dbd5 /tools/gfx/metal/metal-shader-object.cpp | |
| parent | df0a201d85eac4c55c1abf15ed0bf9baea0ae971 (diff) | |
[gfx] Metal texture fixes (#4331)
Diffstat (limited to 'tools/gfx/metal/metal-shader-object.cpp')
| -rw-r--r-- | tools/gfx/metal/metal-shader-object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/metal/metal-shader-object.cpp b/tools/gfx/metal/metal-shader-object.cpp index fde04f9ba..33e19bc6f 100644 --- a/tools/gfx/metal/metal-shader-object.cpp +++ b/tools/gfx/metal/metal-shader-object.cpp @@ -388,7 +388,7 @@ Result ShaderObjectImpl::bindAsValue( for (uint32_t i = 0; i < count; ++i) { auto texture = m_textures[baseIndex + i]; - context->setTexture(texture ? texture->m_texture->m_texture.get() : nullptr, registerOffset + i); + context->setTexture(texture ? texture->m_textureView.get() : nullptr, registerOffset + i); } } |
