stailgot

Using SSBO - ERROR: Internal compile error, error code: E_SC_NOTSUPPORTED

Discussion created by stailgot on Dec 29, 2017
Latest reply on Aug 5, 2018 by xhuang

Hi there.

Im trying to use SSBO in Vertex shader, but linker say error

 

Vertex shader(s) failed to link.

Vertex link error: HW_UNSUPPORTED.

ERROR: Internal compile error, error code: E_SC_NOTSUPPORTED

Shader not supported by HW

 

Code looks like this

layout( std430 ) buffer bufferA
{
  bool test[];
} one;

layout( std430 ) buffer bufferB
{
  bool test[];
} two;

void main()
{
     // error on AMD, but OK on NVIDIA
     // one.test[id] = one.test[id] && two.test[id];

     
    // Ok
    const bool is_test_one = one.test[id];
    const bool is_test_two= two.test[id];
    one.test[id] = is_test_one && is_test_two;
}


 

 

Seems that same as in SSBOs in geometry shader

 

 

GPU: Radeon (TM) RX 480 Graphics

Driver: win10-64bit-radeon-software-adrenalin-edition-17.12.1-dec11

Outcomes