google / google/bigwheels

GPU mipmap generation broken when running with SwiftShader

Open
#314 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
107
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Step 1: enable swiftshader
https://github.com/google/bigwheels/blob/main/docs/software_rendering.md

Step 2: run a sample
for example: 05_cube_textured
or to see more clearly: run vk_27_mipmap_demo, select a different mip level (> 0) to be generated using GPU

![image](https://github.com/google/bigwheels/assets/39095209/54fdcf9e-3ad8-473f-b919-7cd78e16696a)

Background:
Mipmap creation code in https://github.com/google/bigwheels/blob/main/src/ppx/graphics_util.cpp#L273

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.