Skip to content

add error log detecting uint8_t overflow in hlsl shader compilation#3226

Open
jamesfAnet wants to merge 1 commit intobkaradzic:masterfrom
jamesfAnet:patch-1
Open

add error log detecting uint8_t overflow in hlsl shader compilation#3226
jamesfAnet wants to merge 1 commit intobkaradzic:masterfrom
jamesfAnet:patch-1

Conversation

@jamesfAnet
Copy link
Copy Markdown
Contributor

Error looks like following:
image

I ran into this because I tried to make a shader with a uniform array of over 255 elements. Finding the problem was kind of tricky.. had to back track to where the shader was being deserialized. This error would have helped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant