test(recompiler): set layerExported in the disk cache entry round trip
#5097 added ShaderInfo::layerExported to the entry encoder, and this series moves that line into encodeShaderInfo, which plan entries use too. The entry round trip left the flag false, so an encoder and a decoder that both skipped it still passed. Set it like the other ShaderInfo flags: with layerExported dropped from both, the round trip now fails with "entry round trip: shader info differs". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
664ad77037
commit
5d3ea5f511
|
|
@ -253,6 +253,7 @@ CompiledVariant sampleVariant() {
|
|||
info.info.usesDma = true;
|
||||
info.info.usesFaultBuffer = true;
|
||||
info.info.rasterPrimitive = true;
|
||||
info.info.layerExported = true;
|
||||
info.bindings.pushDataStartDword = 2;
|
||||
info.bindings.memoryOffsetDword = 1;
|
||||
info.bindings.memoryOffsetCount = 5;
|
||||
|
|
|
|||
Loading…
Reference in New Issue