Skip to content

Commit b8462ed

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@a6109bf 🚀
1 parent 8e0cb3e commit b8462ed

File tree

244 files changed

+3452
-1827
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+3452
-1827
lines changed

doc/search-index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/search.desc/wgpu/wgpu-desc-0-.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/search.desc/wgpu/wgpu-desc-1-.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/search.desc/wgpu_hal/wgpu_hal-desc-0-.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/search.desc/wgpu_types/wgpu_types-desc-0-.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/src/wgpu_hal/dynamic/command.rs.html

Lines changed: 123 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,68 @@
686686
<a href="#685" id="685">685</a>
687687
<a href="#686" id="686">686</a>
688688
<a href="#687" id="687">687</a>
689-
<a href="#688" id="688">688</a></pre></div><pre class="rust"><code><span class="kw">use </span>alloc::{boxed::Box, vec::Vec};
689+
<a href="#688" id="688">688</a>
690+
<a href="#689" id="689">689</a>
691+
<a href="#690" id="690">690</a>
692+
<a href="#691" id="691">691</a>
693+
<a href="#692" id="692">692</a>
694+
<a href="#693" id="693">693</a>
695+
<a href="#694" id="694">694</a>
696+
<a href="#695" id="695">695</a>
697+
<a href="#696" id="696">696</a>
698+
<a href="#697" id="697">697</a>
699+
<a href="#698" id="698">698</a>
700+
<a href="#699" id="699">699</a>
701+
<a href="#700" id="700">700</a>
702+
<a href="#701" id="701">701</a>
703+
<a href="#702" id="702">702</a>
704+
<a href="#703" id="703">703</a>
705+
<a href="#704" id="704">704</a>
706+
<a href="#705" id="705">705</a>
707+
<a href="#706" id="706">706</a>
708+
<a href="#707" id="707">707</a>
709+
<a href="#708" id="708">708</a>
710+
<a href="#709" id="709">709</a>
711+
<a href="#710" id="710">710</a>
712+
<a href="#711" id="711">711</a>
713+
<a href="#712" id="712">712</a>
714+
<a href="#713" id="713">713</a>
715+
<a href="#714" id="714">714</a>
716+
<a href="#715" id="715">715</a>
717+
<a href="#716" id="716">716</a>
718+
<a href="#717" id="717">717</a>
719+
<a href="#718" id="718">718</a>
720+
<a href="#719" id="719">719</a>
721+
<a href="#720" id="720">720</a>
722+
<a href="#721" id="721">721</a>
723+
<a href="#722" id="722">722</a>
724+
<a href="#723" id="723">723</a>
725+
<a href="#724" id="724">724</a>
726+
<a href="#725" id="725">725</a>
727+
<a href="#726" id="726">726</a>
728+
<a href="#727" id="727">727</a>
729+
<a href="#728" id="728">728</a>
730+
<a href="#729" id="729">729</a>
731+
<a href="#730" id="730">730</a>
732+
<a href="#731" id="731">731</a>
733+
<a href="#732" id="732">732</a>
734+
<a href="#733" id="733">733</a>
735+
<a href="#734" id="734">734</a>
736+
<a href="#735" id="735">735</a>
737+
<a href="#736" id="736">736</a>
738+
<a href="#737" id="737">737</a>
739+
<a href="#738" id="738">738</a>
740+
<a href="#739" id="739">739</a>
741+
<a href="#740" id="740">740</a>
742+
<a href="#741" id="741">741</a>
743+
<a href="#742" id="742">742</a>
744+
<a href="#743" id="743">743</a>
745+
<a href="#744" id="744">744</a>
746+
<a href="#745" id="745">745</a>
747+
<a href="#746" id="746">746</a>
748+
<a href="#747" id="747">747</a>
749+
<a href="#748" id="748">748</a>
750+
<a href="#749" id="749">749</a></pre></div><pre class="rust"><code><span class="kw">use </span>alloc::{boxed::Box, vec::Vec};
690751
<span class="kw">use </span>core::ops::Range;
691752

692753
<span class="kw">use crate</span>::{
@@ -818,6 +879,12 @@
818879
first_instance: u32,
819880
instance_count: u32,
820881
);
882+
<span class="kw">unsafe fn </span>draw_mesh_tasks(
883+
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
884+
group_count_x: u32,
885+
group_count_y: u32,
886+
group_count_z: u32,
887+
);
821888
<span class="kw">unsafe fn </span>draw_indirect(
822889
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
823890
buffer: <span class="kw-2">&amp;</span><span class="kw">dyn </span>DynBuffer,
@@ -830,6 +897,12 @@
830897
offset: wgt::BufferAddress,
831898
draw_count: u32,
832899
);
900+
<span class="kw">unsafe fn </span>draw_mesh_tasks_indirect(
901+
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
902+
buffer: <span class="kw-2">&amp;</span><span class="kw">dyn </span>DynBuffer,
903+
offset: wgt::BufferAddress,
904+
draw_count: u32,
905+
);
833906
<span class="kw">unsafe fn </span>draw_indirect_count(
834907
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
835908
buffer: <span class="kw-2">&amp;</span><span class="kw">dyn </span>DynBuffer,
@@ -846,6 +919,14 @@
846919
count_offset: wgt::BufferAddress,
847920
max_count: u32,
848921
);
922+
<span class="kw">unsafe fn </span>draw_mesh_tasks_indirect_count(
923+
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
924+
buffer: <span class="kw-2">&amp;</span><span class="kw">dyn </span>DynBuffer,
925+
offset: wgt::BufferAddress,
926+
count_buffer: <span class="kw-2">&amp;</span><span class="kw">dyn </span>DynBuffer,
927+
count_offset: wgt::BufferAddress,
928+
max_count: u32,
929+
);
849930

850931
<span class="kw">unsafe fn </span>begin_compute_pass(<span class="kw-2">&amp;mut </span><span class="self">self</span>, desc: <span class="kw-2">&amp;</span>ComputePassDescriptor&lt;<span class="kw">dyn </span>DynQuerySet&gt;);
851932
<span class="kw">unsafe fn </span>end_compute_pass(<span class="kw-2">&amp;mut </span><span class="self">self</span>);
@@ -1161,6 +1242,15 @@
11611242
};
11621243
}
11631244

1245+
<span class="kw">unsafe fn </span>draw_mesh_tasks(
1246+
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
1247+
group_count_x: u32,
1248+
group_count_y: u32,
1249+
group_count_z: u32,
1250+
) {
1251+
<span class="kw">unsafe </span>{ C::draw_mesh_tasks(<span class="self">self</span>, group_count_x, group_count_y, group_count_z) };
1252+
}
1253+
11641254
<span class="kw">unsafe fn </span>draw_indirect(
11651255
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
11661256
buffer: <span class="kw-2">&amp;</span><span class="kw">dyn </span>DynBuffer,
@@ -1181,6 +1271,16 @@
11811271
<span class="kw">unsafe </span>{ C::draw_indexed_indirect(<span class="self">self</span>, buffer, offset, draw_count) };
11821272
}
11831273

1274+
<span class="kw">unsafe fn </span>draw_mesh_tasks_indirect(
1275+
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
1276+
buffer: <span class="kw-2">&amp;</span><span class="kw">dyn </span>DynBuffer,
1277+
offset: wgt::BufferAddress,
1278+
draw_count: u32,
1279+
) {
1280+
<span class="kw">let </span>buffer = buffer.expect_downcast_ref();
1281+
<span class="kw">unsafe </span>{ C::draw_mesh_tasks_indirect(<span class="self">self</span>, buffer, offset, draw_count) };
1282+
}
1283+
11841284
<span class="kw">unsafe fn </span>draw_indirect_count(
11851285
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
11861286
buffer: <span class="kw-2">&amp;</span><span class="kw">dyn </span>DynBuffer,
@@ -1218,6 +1318,28 @@
12181318
};
12191319
}
12201320

1321+
<span class="kw">unsafe fn </span>draw_mesh_tasks_indirect_count(
1322+
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
1323+
buffer: <span class="kw-2">&amp;</span><span class="kw">dyn </span>DynBuffer,
1324+
offset: wgt::BufferAddress,
1325+
count_buffer: <span class="kw-2">&amp;</span><span class="kw">dyn </span>DynBuffer,
1326+
count_offset: wgt::BufferAddress,
1327+
max_count: u32,
1328+
) {
1329+
<span class="kw">let </span>buffer = buffer.expect_downcast_ref();
1330+
<span class="kw">let </span>count_buffer = count_buffer.expect_downcast_ref();
1331+
<span class="kw">unsafe </span>{
1332+
C::draw_mesh_tasks_indirect_count(
1333+
<span class="self">self</span>,
1334+
buffer,
1335+
offset,
1336+
count_buffer,
1337+
count_offset,
1338+
max_count,
1339+
)
1340+
};
1341+
}
1342+
12211343
<span class="kw">unsafe fn </span>begin_compute_pass(<span class="kw-2">&amp;mut </span><span class="self">self</span>, desc: <span class="kw-2">&amp;</span>ComputePassDescriptor&lt;<span class="kw">dyn </span>DynQuerySet&gt;) {
12221344
<span class="kw">let </span>desc = ComputePassDescriptor {
12231345
label: desc.label,

doc/src/wgpu_hal/dynamic/device.rs.html

Lines changed: 73 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -530,16 +530,50 @@
530530
<a href="#529" id="529">529</a>
531531
<a href="#530" id="530">530</a>
532532
<a href="#531" id="531">531</a>
533-
<a href="#532" id="532">532</a></pre></div><pre class="rust"><code><span class="kw">use </span>alloc::{borrow::ToOwned <span class="kw">as _</span>, boxed::Box, vec::Vec};
533+
<a href="#532" id="532">532</a>
534+
<a href="#533" id="533">533</a>
535+
<a href="#534" id="534">534</a>
536+
<a href="#535" id="535">535</a>
537+
<a href="#536" id="536">536</a>
538+
<a href="#537" id="537">537</a>
539+
<a href="#538" id="538">538</a>
540+
<a href="#539" id="539">539</a>
541+
<a href="#540" id="540">540</a>
542+
<a href="#541" id="541">541</a>
543+
<a href="#542" id="542">542</a>
544+
<a href="#543" id="543">543</a>
545+
<a href="#544" id="544">544</a>
546+
<a href="#545" id="545">545</a>
547+
<a href="#546" id="546">546</a>
548+
<a href="#547" id="547">547</a>
549+
<a href="#548" id="548">548</a>
550+
<a href="#549" id="549">549</a>
551+
<a href="#550" id="550">550</a>
552+
<a href="#551" id="551">551</a>
553+
<a href="#552" id="552">552</a>
554+
<a href="#553" id="553">553</a>
555+
<a href="#554" id="554">554</a>
556+
<a href="#555" id="555">555</a>
557+
<a href="#556" id="556">556</a>
558+
<a href="#557" id="557">557</a>
559+
<a href="#558" id="558">558</a>
560+
<a href="#559" id="559">559</a>
561+
<a href="#560" id="560">560</a>
562+
<a href="#561" id="561">561</a>
563+
<a href="#562" id="562">562</a>
564+
<a href="#563" id="563">563</a>
565+
<a href="#564" id="564">564</a>
566+
<a href="#565" id="565">565</a>
567+
<a href="#566" id="566">566</a></pre></div><pre class="rust"><code><span class="kw">use </span>alloc::{borrow::ToOwned <span class="kw">as _</span>, boxed::Box, vec::Vec};
534568

535569
<span class="kw">use crate</span>::{
536570
AccelerationStructureBuildSizes, AccelerationStructureDescriptor, Api, BindGroupDescriptor,
537571
BindGroupLayoutDescriptor, BufferDescriptor, BufferMapping, CommandEncoderDescriptor,
538572
ComputePipelineDescriptor, Device, DeviceError, FenceValue,
539-
GetAccelerationStructureBuildSizesDescriptor, Label, MemoryRange, PipelineCacheDescriptor,
540-
PipelineCacheError, PipelineError, PipelineLayoutDescriptor, RenderPipelineDescriptor,
541-
SamplerDescriptor, ShaderError, ShaderInput, ShaderModuleDescriptor, TextureDescriptor,
542-
TextureViewDescriptor, TlasInstance,
573+
GetAccelerationStructureBuildSizesDescriptor, Label, MemoryRange, MeshPipelineDescriptor,
574+
PipelineCacheDescriptor, PipelineCacheError, PipelineError, PipelineLayoutDescriptor,
575+
RenderPipelineDescriptor, SamplerDescriptor, ShaderError, ShaderInput, ShaderModuleDescriptor,
576+
TextureDescriptor, TextureViewDescriptor, TlasInstance,
543577
};
544578

545579
<span class="kw">use super</span>::{
@@ -632,6 +666,14 @@
632666
<span class="kw">dyn </span>DynPipelineCache,
633667
&gt;,
634668
) -&gt; <span class="prelude-ty">Result</span>&lt;Box&lt;<span class="kw">dyn </span>DynRenderPipeline&gt;, PipelineError&gt;;
669+
<span class="kw">unsafe fn </span>create_mesh_pipeline(
670+
<span class="kw-2">&amp;</span><span class="self">self</span>,
671+
desc: <span class="kw-2">&amp;</span>MeshPipelineDescriptor&lt;
672+
<span class="kw">dyn </span>DynPipelineLayout,
673+
<span class="kw">dyn </span>DynShaderModule,
674+
<span class="kw">dyn </span>DynPipelineCache,
675+
&gt;,
676+
) -&gt; <span class="prelude-ty">Result</span>&lt;Box&lt;<span class="kw">dyn </span>DynRenderPipeline&gt;, PipelineError&gt;;
635677
<span class="kw">unsafe fn </span>destroy_render_pipeline(<span class="kw-2">&amp;</span><span class="self">self</span>, pipeline: Box&lt;<span class="kw">dyn </span>DynRenderPipeline&gt;);
636678

637679
<span class="kw">unsafe fn </span>create_compute_pipeline(
@@ -925,6 +967,32 @@
925967
.map(|b| -&gt; Box&lt;<span class="kw">dyn </span>DynRenderPipeline&gt; { Box::new(b) })
926968
}
927969

970+
<span class="kw">unsafe fn </span>create_mesh_pipeline(
971+
<span class="kw-2">&amp;</span><span class="self">self</span>,
972+
desc: <span class="kw-2">&amp;</span>MeshPipelineDescriptor&lt;
973+
<span class="kw">dyn </span>DynPipelineLayout,
974+
<span class="kw">dyn </span>DynShaderModule,
975+
<span class="kw">dyn </span>DynPipelineCache,
976+
&gt;,
977+
) -&gt; <span class="prelude-ty">Result</span>&lt;Box&lt;<span class="kw">dyn </span>DynRenderPipeline&gt;, PipelineError&gt; {
978+
<span class="kw">let </span>desc = MeshPipelineDescriptor {
979+
label: desc.label,
980+
layout: desc.layout.expect_downcast_ref(),
981+
task_stage: desc.task_stage.clone().map(|f| f.expect_downcast()),
982+
mesh_stage: desc.mesh_stage.clone().expect_downcast(),
983+
primitive: desc.primitive,
984+
depth_stencil: desc.depth_stencil.clone(),
985+
multisample: desc.multisample,
986+
fragment_stage: desc.fragment_stage.clone().map(|f| f.expect_downcast()),
987+
color_targets: desc.color_targets,
988+
multiview: desc.multiview,
989+
cache: desc.cache.map(|c| c.expect_downcast_ref()),
990+
};
991+
992+
<span class="kw">unsafe </span>{ D::create_mesh_pipeline(<span class="self">self</span>, <span class="kw-2">&amp;</span>desc) }
993+
.map(|b| -&gt; Box&lt;<span class="kw">dyn </span>DynRenderPipeline&gt; { Box::new(b) })
994+
}
995+
928996
<span class="kw">unsafe fn </span>destroy_render_pipeline(<span class="kw-2">&amp;</span><span class="self">self</span>, pipeline: Box&lt;<span class="kw">dyn </span>DynRenderPipeline&gt;) {
929997
<span class="kw">unsafe </span>{ D::destroy_render_pipeline(<span class="self">self</span>, pipeline.unbox()) };
930998
}

doc/src/wgpu_hal/gles/command.rs.html

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1226,7 +1226,33 @@
12261226
<a href="#1225" id="1225">1225</a>
12271227
<a href="#1226" id="1226">1226</a>
12281228
<a href="#1227" id="1227">1227</a>
1229-
<a href="#1228" id="1228">1228</a></pre></div><pre class="rust"><code><span class="kw">use </span>alloc::string::String;
1229+
<a href="#1228" id="1228">1228</a>
1230+
<a href="#1229" id="1229">1229</a>
1231+
<a href="#1230" id="1230">1230</a>
1232+
<a href="#1231" id="1231">1231</a>
1233+
<a href="#1232" id="1232">1232</a>
1234+
<a href="#1233" id="1233">1233</a>
1235+
<a href="#1234" id="1234">1234</a>
1236+
<a href="#1235" id="1235">1235</a>
1237+
<a href="#1236" id="1236">1236</a>
1238+
<a href="#1237" id="1237">1237</a>
1239+
<a href="#1238" id="1238">1238</a>
1240+
<a href="#1239" id="1239">1239</a>
1241+
<a href="#1240" id="1240">1240</a>
1242+
<a href="#1241" id="1241">1241</a>
1243+
<a href="#1242" id="1242">1242</a>
1244+
<a href="#1243" id="1243">1243</a>
1245+
<a href="#1244" id="1244">1244</a>
1246+
<a href="#1245" id="1245">1245</a>
1247+
<a href="#1246" id="1246">1246</a>
1248+
<a href="#1247" id="1247">1247</a>
1249+
<a href="#1248" id="1248">1248</a>
1250+
<a href="#1249" id="1249">1249</a>
1251+
<a href="#1250" id="1250">1250</a>
1252+
<a href="#1251" id="1251">1251</a>
1253+
<a href="#1252" id="1252">1252</a>
1254+
<a href="#1253" id="1253">1253</a>
1255+
<a href="#1254" id="1254">1254</a></pre></div><pre class="rust"><code><span class="kw">use </span>alloc::string::String;
12301256
<span class="kw">use </span>core::{mem, ops::Range, slice};
12311257

12321258
<span class="kw">use </span>arrayvec::ArrayVec;
@@ -2301,6 +2327,14 @@
23012327
first_instance_location: <span class="self">self</span>.state.first_instance_location.clone(),
23022328
});
23032329
}
2330+
<span class="kw">unsafe fn </span>draw_mesh_tasks(
2331+
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
2332+
_group_count_x: u32,
2333+
_group_count_y: u32,
2334+
_group_count_z: u32,
2335+
) {
2336+
<span class="macro">unreachable!</span>()
2337+
}
23042338
<span class="kw">unsafe fn </span>draw_indirect(
23052339
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
23062340
buffer: <span class="kw-2">&amp;</span><span class="kw">super</span>::Buffer,
@@ -2344,6 +2378,14 @@
23442378
});
23452379
}
23462380
}
2381+
<span class="kw">unsafe fn </span>draw_mesh_tasks_indirect(
2382+
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
2383+
_buffer: <span class="kw-2">&amp;</span>&lt;<span class="self">Self</span>::A <span class="kw">as </span><span class="kw">crate</span>::Api&gt;::Buffer,
2384+
_offset: wgt::BufferAddress,
2385+
_draw_count: u32,
2386+
) {
2387+
<span class="macro">unreachable!</span>()
2388+
}
23472389
<span class="kw">unsafe fn </span>draw_indirect_count(
23482390
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
23492391
_buffer: <span class="kw-2">&amp;</span><span class="kw">super</span>::Buffer,
@@ -2364,6 +2406,16 @@
23642406
) {
23652407
<span class="macro">unreachable!</span>()
23662408
}
2409+
<span class="kw">unsafe fn </span>draw_mesh_tasks_indirect_count(
2410+
<span class="kw-2">&amp;mut </span><span class="self">self</span>,
2411+
_buffer: <span class="kw-2">&amp;</span>&lt;<span class="self">Self</span>::A <span class="kw">as </span><span class="kw">crate</span>::Api&gt;::Buffer,
2412+
_offset: wgt::BufferAddress,
2413+
_count_buffer: <span class="kw-2">&amp;</span>&lt;<span class="self">Self</span>::A <span class="kw">as </span><span class="kw">crate</span>::Api&gt;::Buffer,
2414+
_count_offset: wgt::BufferAddress,
2415+
_max_count: u32,
2416+
) {
2417+
<span class="macro">unreachable!</span>()
2418+
}
23672419

23682420
<span class="comment">// compute
23692421

doc/src/wgpu_hal/gles/device.rs.html

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1615,7 +1615,17 @@
16151615
<a href="#1614" id="1614">1614</a>
16161616
<a href="#1615" id="1615">1615</a>
16171617
<a href="#1616" id="1616">1616</a>
1618-
<a href="#1617" id="1617">1617</a></pre></div><pre class="rust"><code><span class="kw">use </span>alloc::{
1618+
<a href="#1617" id="1617">1617</a>
1619+
<a href="#1618" id="1618">1618</a>
1620+
<a href="#1619" id="1619">1619</a>
1621+
<a href="#1620" id="1620">1620</a>
1622+
<a href="#1621" id="1621">1621</a>
1623+
<a href="#1622" id="1622">1622</a>
1624+
<a href="#1623" id="1623">1623</a>
1625+
<a href="#1624" id="1624">1624</a>
1626+
<a href="#1625" id="1625">1625</a>
1627+
<a href="#1626" id="1626">1626</a>
1628+
<a href="#1627" id="1627">1627</a></pre></div><pre class="rust"><code><span class="kw">use </span>alloc::{
16191629
borrow::ToOwned, format, string::String, string::ToString <span class="kw">as _</span>, sync::Arc, vec, vec::Vec,
16201630
};
16211631
<span class="kw">use </span>core::{cmp::max, convert::TryInto, num::NonZeroU32, ptr, sync::atomic::Ordering};
@@ -3032,6 +3042,16 @@
30323042
alpha_to_coverage_enabled: desc.multisample.alpha_to_coverage_enabled,
30333043
})
30343044
}
3045+
<span class="kw">unsafe fn </span>create_mesh_pipeline(
3046+
<span class="kw-2">&amp;</span><span class="self">self</span>,
3047+
_desc: <span class="kw-2">&amp;</span><span class="kw">crate</span>::MeshPipelineDescriptor&lt;
3048+
&lt;<span class="self">Self</span>::A <span class="kw">as </span><span class="kw">crate</span>::Api&gt;::PipelineLayout,
3049+
&lt;<span class="self">Self</span>::A <span class="kw">as </span><span class="kw">crate</span>::Api&gt;::ShaderModule,
3050+
&lt;<span class="self">Self</span>::A <span class="kw">as </span><span class="kw">crate</span>::Api&gt;::PipelineCache,
3051+
&gt;,
3052+
) -&gt; <span class="prelude-ty">Result</span>&lt;&lt;<span class="self">Self</span>::A <span class="kw">as </span><span class="kw">crate</span>::Api&gt;::RenderPipeline, <span class="kw">crate</span>::PipelineError&gt; {
3053+
<span class="macro">unreachable!</span>()
3054+
}
30353055

30363056
<span class="kw">unsafe fn </span>destroy_render_pipeline(<span class="kw-2">&amp;</span><span class="self">self</span>, pipeline: <span class="kw">super</span>::RenderPipeline) {
30373057
<span class="comment">// If the pipeline only has 2 strong references remaining, they're `pipeline` and `program_cache`

0 commit comments

Comments
 (0)