Skip to content

Commit 47515f8

Browse files
Further tweaks
1 parent 048a3e8 commit 47515f8

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

content/learning-paths/mobile-graphics-and-gaming/get-started-with-arm-asr/04-generic_library.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,23 +55,23 @@ See the following sections to learn how to configure Arm ASR:
5555
5656
## 1. Quick Integration
5757
58-
To quickly integrate Arm ASR, which means the built-in standalone backend is used, follow these steps below:
58+
To quickly integrate Arm ASR using the built-in standalone backend, follow these steps below:
5959
60-
1. Copy the **Arm_ASR** directory into your project, and add **Arm_ASR/src/backends/shared/blob_accessors/prebuilt_shaders** to your inlude path to use prebuilt shaders.
60+
1. Copy the **Arm_ASR** directory into your project, and add `Arm_ASR/src/backends/shared/blob_accessors/prebuilt_shaders` to your include path to use prebuilt shaders.
6161
62-
2. Include the following header files in your codebase where you wish to interact with the technique:
62+
2. Include the following header files in your code:
6363
6464
- `$ARMASR_DIR/include/host/ffxm_fsr2.h`
6565
- `$ARMASR_DIR/include/host/backends/vk/ffxm_vk.h`
6666
67-
3. Create a Vulkan backend.
68-
- Allocate a Vulkan scratch buffer of the size returned by `ffxmGetScratchMemorySizeVK` in `$ARMASR_DIR/include/host/backends/vk/ffxm_vk.h`.
69-
- Create `FfxmDevice` via `ffxmGetDeviceVK` in `$ARMASR_DIR/include/host/backends/vk/ffxm_vk.h`.
70-
- Create `FfxmInterface` by calling `ffxmGetInterfaceVK` in `$ARMASR_DIR/include/host/backends/vk/ffxm_vk.h`.
67+
3. Create a Vulkan backend by:
68+
- Allocating a Vulkan scratch buffer of the size returned by `ffxmGetScratchMemorySizeVK` (defined in `$ARMASR_DIR/include/host/backends/vk/ffxm_vk.h`).
69+
- Creating a `FfxmDevice` using `ffxmGetDeviceVK`.
70+
- Creating a `FfxmInterface` using `ffxmGetInterfaceVK`.
7171
72-
4. Create a context by calling `ffxmFsr2ContextCreate` in `$ARMASR_DIR/include/host/ffxm_fsr2.h`. The parameters structure should be filled out matching the configuration of your application.
72+
4. Create a context by calling `ffxmFsr2ContextCreate` from `$ARMASR_DIR/include/host/ffxm_fsr2.h`. Ensure the parameters structure match the configuration of your application.
7373
74-
5. Each frame calls `ffxmFsr2ContextDispatch` via `$ARMASR_DIR/include/host/ffxm_fsr2.h` to record/execute the technique's workloads. The parameters structure should be filled out matching the configuration of your application.
74+
5. Call `ffxmFsr2ContextDispatch` every frame to record and execute workloads. Again, the parameters structure should match the configuration of your application.
7575
7676
6. When your application is terminating (or you wish to destroy the context for another reason) you should call `ffxmFsr2ContextDestroy` accessed via `$ARMASR_DIR/include/host/ffxm_fsr2.h`. The GPU should be idle before calling this function.
7777

content/learning-paths/mobile-graphics-and-gaming/get-started-with-arm-asr/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Get started with Arm Accuracy Super Resolution (Arm ASR)
33

4-
minutes_to_complete: 20
4+
minutes_to_complete: 40
55

66
draft: true
77
cascade:

0 commit comments

Comments
 (0)