message: Avoid potential crashes trying to compile 0-byte shaders
diff: @@ -1854,6 +1854,9 @@ rdcpair<ResourceId, rdcstr> ReplayController::BuildTargetShader(
  {
  CHECK_REPLAY_THREAD();
  + if(source.empty())
  + return rdcpair<ResourceId, rdcstr>(ResourceId(), "0-byte shader is not valid");
  +
  rdcarray<ShaderEncoding> encodings = m_pDevice->GetTargetShaderEncodings();
  if(encodings.indexOf(sourceEncoding) == -1)
  @@ -1892,6 +1895,9 @@ rdcpair<ResourceId, rdcstr> ReplayController::BuildCustomShader(
  ResourceId id;
  rdcstr errs;
  + if(source.empty())
  + return rdcpair<ResourceId, rdcstr>(ResourceId(), "0-byte shader is not valid");
  +
  switch(type)
  {
  case ShaderStage::Vertex:
  