diff options
Diffstat (limited to 'source/slang/core.meta.slang')
| -rw-r--r-- | source/slang/core.meta.slang | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/slang/core.meta.slang b/source/slang/core.meta.slang index 56f5d8d1f..aa93863df 100644 --- a/source/slang/core.meta.slang +++ b/source/slang/core.meta.slang @@ -784,11 +784,7 @@ for (int tt = 0; tt < kBaseTextureTypeCount; ++tt) default: sb << "__target_intrinsic(glsl, \"imageStore($0, " << ivecN << "($1), $V2)\") set;\n"; - // Note: HLSL doesn't support component-granularity access into typed UAVs, - // and also doesn't support atomic operations on them. As such, there should - // be no reason why a `ref` accessor is required here. - // - // sb << "ref;\n"; + sb << "__intrinsic_op(" << int(kIROp_ImageSubscript) << ") ref;\n"; break; } |
