nvk,nil: Replace gob_height_is_8 and is_tiled with a new GOBType enum
This gives us the possibility of describing other GOB formats in the future. This also cleans things up a bit as it replaces all of the uses of GOB_WIDTH/DEPTH with an extent which we can change in the future. Part-of: <!31410>
Showing
- src/nouveau/nil/cbindgen.toml 1 addition, 0 deletionssrc/nouveau/nil/cbindgen.toml
- src/nouveau/nil/extent.rs 3 additions, 11 deletionssrc/nouveau/nil/extent.rs
- src/nouveau/nil/image.rs 5 additions, 5 deletionssrc/nouveau/nil/image.rs
- src/nouveau/nil/modifiers.rs 3 additions, 3 deletionssrc/nouveau/nil/modifiers.rs
- src/nouveau/nil/tic.rs 5 additions, 4 deletionssrc/nouveau/nil/tic.rs
- src/nouveau/nil/tiling.rs 46 additions, 31 deletionssrc/nouveau/nil/tiling.rs
- src/nouveau/vulkan/nvk_cmd_copy.c 6 additions, 6 deletionssrc/nouveau/vulkan/nvk_cmd_copy.c
- src/nouveau/vulkan/nvk_cmd_draw.c 9 additions, 6 deletionssrc/nouveau/vulkan/nvk_cmd_draw.c
Loading
Please register or sign in to comment