@@ -265,23 +265,25 @@ impl DlssFeature for DlssSuperResolutionFeature {
265265 type Context = DlssSuperResolution ;
266266
267267 fn upscaled_resolution ( context : & Self :: Context ) -> UVec2 {
268- context. upscaled_resolution ( )
268+ context. upscaled_resolution ( ) . into ( )
269269 }
270270
271271 fn render_resolution ( context : & Self :: Context ) -> UVec2 {
272- context. render_resolution ( )
272+ context. render_resolution ( ) . into ( )
273273 }
274274
275275 fn suggested_jitter (
276276 context : & Self :: Context ,
277277 frame_number : u32 ,
278278 render_resolution : UVec2 ,
279279 ) -> Vec2 {
280- context. suggested_jitter ( frame_number, render_resolution)
280+ context
281+ . suggested_jitter ( frame_number, render_resolution. to_array ( ) )
282+ . into ( )
281283 }
282284
283285 fn suggested_mip_bias ( context : & Self :: Context , render_resolution : UVec2 ) -> f32 {
284- context. suggested_mip_bias ( render_resolution)
286+ context. suggested_mip_bias ( render_resolution. to_array ( ) )
285287 }
286288
287289 fn new_context (
@@ -293,7 +295,7 @@ impl DlssFeature for DlssSuperResolutionFeature {
293295 queue : & RenderQueue ,
294296 ) -> Result < Self :: Context , dlss_wgpu:: DlssError > {
295297 DlssSuperResolution :: new (
296- upscaled_resolution,
298+ upscaled_resolution. to_array ( ) ,
297299 perf_quality_mode,
298300 feature_flags,
299301 sdk,
@@ -313,23 +315,25 @@ impl DlssFeature for DlssRayReconstructionFeature {
313315 type Context = DlssRayReconstruction ;
314316
315317 fn upscaled_resolution ( context : & Self :: Context ) -> UVec2 {
316- context. upscaled_resolution ( )
318+ context. upscaled_resolution ( ) . into ( )
317319 }
318320
319321 fn render_resolution ( context : & Self :: Context ) -> UVec2 {
320- context. render_resolution ( )
322+ context. render_resolution ( ) . into ( )
321323 }
322324
323325 fn suggested_jitter (
324326 context : & Self :: Context ,
325327 frame_number : u32 ,
326328 render_resolution : UVec2 ,
327329 ) -> Vec2 {
328- context. suggested_jitter ( frame_number, render_resolution)
330+ context
331+ . suggested_jitter ( frame_number, render_resolution. to_array ( ) )
332+ . into ( )
329333 }
330334
331335 fn suggested_mip_bias ( context : & Self :: Context , render_resolution : UVec2 ) -> f32 {
332- context. suggested_mip_bias ( render_resolution)
336+ context. suggested_mip_bias ( render_resolution. to_array ( ) )
333337 }
334338
335339 fn new_context (
@@ -341,7 +345,7 @@ impl DlssFeature for DlssRayReconstructionFeature {
341345 queue : & RenderQueue ,
342346 ) -> Result < Self :: Context , dlss_wgpu:: DlssError > {
343347 DlssRayReconstruction :: new (
344- upscaled_resolution,
348+ upscaled_resolution. to_array ( ) ,
345349 perf_quality_mode,
346350 feature_flags,
347351 DlssRayReconstructionRoughnessMode :: Packed ,
0 commit comments