message: Fix displacement sample blindly enabling BC compression feature
diff: @@ -122,9 +122,21 @@ public:
  else {
  splitScreen = false;
  }
  + // Enable texture compression features. We already fail in loadAssets()
  + // below if none are supported, so just enable whatever exists.
  + if (deviceFeatures.textureCompressionBC) {
  enabledFeatures.textureCompressionBC = VK_TRUE;
  }
  + if (deviceFeatures.textureCompressionETC2) {
  + enabledFeatures.textureCompressionETC2 = VK_TRUE;
  + }
  +
  + if (deviceFeatures.textureCompressionASTC_LDR) {
  + enabledFeatures.textureCompressionASTC_LDR = VK_TRUE;
  + }
  + }
  +
  void loadAssets()
  {
  models.object.loadFromFile(getAssetPath() + "models/plane.obj", vertexLayout, 0.25f, vulkanDevice, queue);
  