shader: emit native texel offsets using sample execution context

Co-authored-by: netwarex <mail@pety.me>
This commit is contained in:
nmzikandnetwarex committed 2026-10-11 18:53:01 +02:00
1 parent df0412afb5
commit 984cfcebd1
6 files changed
+136 -63

No files matched your search

+1 -1
View File
@@ -1316,7 +1316,7 @@ void TestShaderFeatureCollection() {
{Value(0u), Value(0u), Value(0u)});
block->AppendNewInst(ValueOpcode::ImageGatherRaw,
{Value(0u), Value(0u), Value(0u), Value(0u),
Value(0u), Value(0u), Value(0u)});
Value(0u), Value(0u), Value(0u), Value(true)});
auto &shared = block->AppendNewInst(ValueOpcode::LoadSharedU32,
{Value(0u), Value(true)});
shared.SetFlags(MemoryFlags{.index = 0});