Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upUninizialised MipMaps for Immutable image after blitting. #989
Comments
This comment has been minimized.
This comment has been minimized.
SiebenCorgie
commented
Jul 5, 2018
SiebenCorgie
closed this
Jul 5, 2018
SiebenCorgie
reopened this
Jul 5, 2018
This comment has been minimized.
This comment has been minimized.
SiebenCorgie
commented
Jul 5, 2018
tomaka
added
the
type: bug
label
Jul 8, 2018
This comment has been minimized.
This comment has been minimized.
|
Could you try looking at the content with a debugger, in order to be sure that it's a problem with the upload and not with the texture sampling method? |
This comment has been minimized.
This comment has been minimized.
SiebenCorgie
commented
Jul 8, 2018
|
Hi, Would it help you If I'd upload the Renderdoc capture? I could upload it to g-drive or something. |
This comment has been minimized.
This comment has been minimized.
SiebenCorgie
commented
Jul 8, 2018
This comment has been minimized.
This comment has been minimized.
SiebenCorgie
commented
Jul 9, 2018
|
Hey, There are two different validation errors:
and
In the latter the the number after Both errors happen for every blit operation. According to this it is possible to transition the layout per mip_map level. |



SiebenCorgie commentedJul 5, 2018
•
edited
Hi, I am trying to implement mip mapping for my small program. However, I can not find a way to make the mip maps work.
According to this it should be possible to upload the initial image at the mip level 0, and then blit the image down from level to level till we reach 1x1.
Now the problem:
If I do so, all levels except the initial one seam to be uninitialised.
The code I use to create the image including the mip maps from a Vec buffer:
Things I also tried:
Copy the buffer to the uninitialised image handle (
ini) in one command buffer, execute this, then blit the mip maps. Problem: throws runtime error about conflicting CommandBufferBuilder sync.Put the
initin and arc and use it for the bliting operation as well: Problem: Doesn't change anything.I tried to call
then_signal_fence_and_flush()andwait()to actually wait for the upload/ execution, but it didn't change anything.Now I am not sure if that is a bug or if I am misunderstanding something. I would appreciate any help/ info. If you need any more info I'd be happy to help.