question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to link vertex and fragment shaders.

See original GitHub issue

`const posenet = require(‘@tensorflow-models/posenet’);

const ScaleFactor = 0.50; const flipHorizontal = false; const outputStride = 16;

// const imageElement = document.getElementById(‘cat’);

const imageElement = document.createElement(“img”); imageElement.src = “…/…/img/timg.jpg”; imageElement.width = “767”; imageElement.height = “1024”;

//加载模型

const start = async function(){ const net = await posenet.load(); const pose = await net.estimateSinglePose(imageElement,ScaleFactor,flipHorizontal,outputStride); console.log(pose); }

start();`

C:\fakepath(77,32-58): warning X3556: integer divides may be much slower, try using uints if possible. C:\fakepath(78,32-80): warning X3556: integer divides may be much slower, try using uints if possible. C:\fakepath(116,33-81): error X4010: Unsigned integer divide by zero C:\fakepath(116,33-81): error X4010: Unsigned integer divide by zero C:\fakepath(116,33-81): warning X3556: integer divides may be much slower, try using uints if possible.

Warning: D3D shader compilation failed with default flags. (ps_5_0) Retrying with skip validation C:\fakepath(77,32-58): warning X3556: integer divides may be much slower, try using uints if possible. C:\fakepath(78,32-80): warning X3556: integer divides may be much slower, try using uints if possible. C:\fakepath(116,33-81): error X4010: Unsigned integer divide by zero C:\fakepath(116,33-81): error X4010: Unsigned integer divide by zero C:\fakepath(116,33-81): warning X3556: integer divides may be much slower, try using uints if possible.

Warning: D3D shader compilation failed with skip validation flags. (ps_5_0) Retrying with skip optimization C:\fakepath(77,32-58): warning X3556: integer divides may be much slower, try using uints if possible. C:\fakepath(78,32-80): warning X3556: integer divides may be much slower, try using uints if possible. C:\fakepath(116,33-81): error X4010: Unsigned integer divide by zero C:\fakepath(116,33-81): error X4010: Unsigned integer divide by zero C:\fakepath(116,33-81): warning X3556: integer divides may be much slower, try using uints if possible.

Warning: D3D shader compilation failed with skip optimization flags. (ps_5_0)

Failed to create D3D Shaders

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
rthadurcommented, Sep 3, 2019

this is fixed and code is there in the new releases, thank you all.

0reactions
lewisfcommented, Sep 3, 2019

Is this fixed? Looks like the code change referenced above is in new releases?

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Failed to link vertex and fragment shaders" #6829 - GitHub
I'm getting the error. Error: Failed to link vertex and fragment shaders. FYI, I'm trying to load via TensorFlow.js: ...
Read more >
MS Edge: SCRIPT5022: Failed to link vertex and fragment ...
Failed to create D3D shaders. index.ts (67,1) SCRIPT5022: Failed to link vertex and fragment shaders. The error occurs when I am trying to ......
Read more >
[GolaemSDK]: Error linking program: Vertex shader(s) failed to ...
Vertex shader(s) failed to link, fragment shader(s) failed to link. Vertex link error: INVALID_OPERATION. ERROR: error(#97) No program main found
Read more >
Failing vertex and fragment shaders - Dear ImGui
After spending some time getting imgui correctly intergrated, I am now running into shader failure.
Read more >
226953 – Tensorflow.js Broken in Safari 15 - WebKit Bugzilla
Please submit this shader, or website as a bug to https://bugs.webkit.org Error: Failed to link vertex and fragment shaders.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found