PixarAnimationStudios / OpenUSD

Universal Scene Description
http://www.openusd.org
Other
6.02k stars 1.19k forks source link

Storm: GL error C5058 while rendering some pointInstancers #1890

Open jufrantz opened 2 years ago

jufrantz commented 2 years ago

Description of Issue

We cannot render some of our instancers in storm. It seems like we hit a GL limit when:

I attached a pi_with_geomsubsets_issue.zip, instancer.usd defines a simple instancer with aforementioned details.

Steps to Reproduce

  1. Open pi_with_geomsubsets_issue/instancer.usd in usdview with storm renderer
  2. Notice that only half of the instanced cube is renderered and errors are reported:
    
    Warning: in Link at line 402 of USD-22.05a/pxr/imaging/hdSt/glslProgram.cpp -- Failed to link shader: Fragment info
    -------------
    0(383) : error C5058: no buffers available for bindable storage buffer

ERROR: Usdview encountered an error while rendering. Error in 'pxrInternal_v0_22pxrReserved::HdSt_DrawBatch::_GetDrawingProgram' at line 279 in file USD-22.05a/pxr/imaging/hdSt/drawBatch.cpp : 'Failed to compile shader for prim /Instancer.proto0_Mesh1_id0.' Warning: in Link at line 402 of USD-22.05a/pxr/imaging/hdSt/glslProgram.cpp -- Failed to link shader: Fragment info



### System Information (OS, Hardware)

- Linux CentOS
- GeForce RTX 3060 - Driver Version: 460.91.03

### Package Versions
- USD-21.11
- USD-22.05a

### Build Flags
jilliene commented 2 years ago

Filed as internal issue #USD-7410