message: Don't assert on variable cbuffer access from shader linkage
diff: @@ -1082,9 +1082,16 @@ bool Program::DecodeOperand(uint32_t *&tokenStream, ToString flags, Operand &ret
  if(retOper.type == TYPE_RESOURCE || retOper.type == TYPE_SAMPLER ||
  retOper.type == TYPE_UNORDERED_ACCESS_VIEW || retOper.type == TYPE_CONSTANT_BUFFER)
  + {
  + // shader linkage can access cbuffers with a relative first index
  + if(retOper.indices[0].relative)
  + {
  + // ignore, we can't find the declaration
  + }
  + else
  {
  // try and find a declaration with a matching ID
  - RDCASSERT(retOper.indices.size() > 0 && retOper.indices[0].absolute);
  + RDCASSERT(retOper.indices.size() > 0);
  for(size_t i = 0; i < m_Declarations.size(); i++)
  {
  // does the ID match, if so, it's our declaration
  @@ -1096,6 +1103,7 @@ bool Program::DecodeOperand(uint32_t *&tokenStream, ToString flags, Operand &ret
  }
  }
  }
  + }
  return true;
  }
  