NVIDIAGameWorks / PhysX-3.4

NVIDIA PhysX SDK 3.4
https://www.nvidia.com/
2.35k stars 277 forks source link

GRB_Samples solution crash: error(#430) uniforms initialization is not allowed in GLSL 1.10. #21

Closed kungfooman closed 7 years ago

kungfooman commented 7 years ago

Visual Studio 2015 / 32bit / Debug

Usage:
  -msaa            Do MSAA Antialiasing (Slower, but better quality). On by default.
  -fxaa            Do FXAA Antialiasing (Faster, but poorer quality)
  -nbThreads n     Use n worker threads in PhysX
  -nossao          Disable SSAO
  -nhdr            Disable HDR
  -grb             Use GRB (default is on)
  -nogrb           Use software PhysX
  -maxSubSteps n   Enable up to n sub-steps per-frame.
  -vsync           Enables vsync (off by default)

Got 32 depth bits expected 24
Compiler error
Vendor: ATI Technologies Inc.
Renderer: AMD Radeon (TM) R9 390 Series
Version: 4.5.14008 Compatibility Profile Context 21.19.137.514
Error: Vertex shader failed to compile with the following errors:
ERROR: 1:1: error(#430) uniforms initialization is not allowed in GLSL 1.10.
ERROR: error(#273) 1 compilation errors.  No code generated

GL error: ..\..\sampleViewer3\HBAOHelper.cpp, line 109: GL_INVALID_OPERATION
Assertion failed: destinationLength == 0, file ..\..\sampleViewer3\Shader.cpp, line 695

michellelu-nvidia commented 7 years ago

I'm afraid that this demo was specifically written to demo the new GRB feature in PhysX. It makes use of several libraries, including HBAO. As GRB is an NVIDIA-only feature written in CUDA, we haven't tested the demo on non-NVIDIA hardware. We apologise if it has issues when running on AMD hardware. The PhysX samples and snippets will all run fine with AMD hardware. GRB will not work on AMD hardware but CPU PhysX rigid bodies will work fine.