You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
palm@ws-098:~/data/usd$ usdview ./test.usda
Floating point exception (core dumped)
I didn't do too much testing yet, my guess is, this happens because booleans are not supported for glslfx shaders, and codeGen creates an invalid shader code. For example, the struct accessor function generators don't check if the type is empty or not. So for instance in this case the generated accessor function will look like this (note the extra space before HdGet...)
HdGet_myCrazyBool()
{
...
}
Also, from what I saw, this creates a float value on the ShaderData struct, probably that's leading to the floating point exception (it's trying to read the boolean value into a float or something?). I assume the same thing happens with any kind of variable, that's not explicitly supported by Hydra.
The text was updated successfully, but these errors were encountered:
System Information (OS, Hardware, etc.)
Quadro K4200, Driver Version 370.28
Package Versions
USD: Dev, with the isnan fix applied
Steps to Reproduce
Example usd file
The following is the output from usdview.
I didn't do too much testing yet, my guess is, this happens because booleans are not supported for glslfx shaders, and codeGen creates an invalid shader code. For example, the struct accessor function generators don't check if the type is empty or not. So for instance in this case the generated accessor function will look like this (note the extra space before HdGet...)
Also, from what I saw, this creates a float value on the ShaderData struct, probably that's leading to the floating point exception (it's trying to read the boolean value into a float or something?). I assume the same thing happens with any kind of variable, that's not explicitly supported by Hydra.
The text was updated successfully, but these errors were encountered: