#Visual Artifact on Intel

5 messages · Page 1 of 1 (latest)

muted gazelle
#

I get this odd artifact when my program selects the "Intel(R) Graphics (MTL)" device. if I tweak it to instead select "llvmpipe (LLVM 19.1.7, 256 bits)" the artifact goes away. I can move the artifact by changing the order in which I define each line. it always seems to appear at the 9th line.

any idea how I may go about further troubleshootinig this? the code for this is located in https://github.com/ezzieyguywuf/zcad/tree/feat/new-renderables-and-picking

GitHub

Contribute to ezzieyguywuf/zcad development by creating an account on GitHub.

chilly scaffold
#

Things should look the same when rendered (without artifacts) as long it's valid vulkan and there isn't a bug in the implementation of the driver. The latter is unlikely seeing as it looks pretty simple, so best to make sure the vulkan calls are correct.
Best place to start (catches most but not all) is the validation layers. The vulkan tutorial includes enabling them and there are other methods you can find on the validation layers pages.

#

The validation layers check the VU (valid usages) that can be found on every page of the spec, there are a lot of them so it would be very tedious and difficult to go through for every vulkan call you make, but that's where I'd start.

#

If no luck there, also recommend renderdoc to analyse an incorrect frame

muted gazelle
#

I have validation layers enabled and don't have any validation warnings in this code.