SharpGenException 0x80070057 #405
Unanswered
Felicitas12
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Share code that triggers the exception so I can debug it, otherwise it's useless. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, i'm trying to put a constant buffer in the shader, but when I apply any variable from it, a 0x80070057 error pops up. Initially it wrote:
SharpGen.Runtime.SharpGenException: 'HRESULT: [0x80070057], Module: [Vortice.Direct2D1], ApiCode: [WINCODEC_ERR_INVALIDPARAMETER/InvalidParameter], Message: [Parameter set invalid.]'
But when I removed any mention of Direct2D1 in the code, it wrote:I'm trying to put a constant buffer in the shader, but when I apply any variable from it, a 0x80070057 error pops up. Initially it wrote: SharpGen.Runtime.SharpGenException: 'HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid arguments], Message: [Parameter set invalid.]'
HLSL code: https://pastebin.com/aqfFnCKq
Is it a bug or am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions