Compare commits
3 Commits
bjd/comman
...
pf/vk-fix-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cdfb92e14a | ||
|
|
55c16e6e7a | ||
|
|
65e3c3bfb9 |
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#include "Shader.h"
|
#include "Shader.h"
|
||||||
#include "SharedShaders.h"
|
#include "SharedShaders.h"
|
||||||
|
#include "Skip.h"
|
||||||
#include "TrianglePrimitive.h"
|
#include "TrianglePrimitive.h"
|
||||||
|
|
||||||
#include <backend/PixelBufferDescriptor.h>
|
#include <backend/PixelBufferDescriptor.h>
|
||||||
@@ -31,6 +32,9 @@ using namespace filament::backend;
|
|||||||
using namespace filament::math;
|
using namespace filament::math;
|
||||||
|
|
||||||
TEST_F(BackendTest, AutoresolveDifferingSampleCounts) {
|
TEST_F(BackendTest, AutoresolveDifferingSampleCounts) {
|
||||||
|
SKIP_IF(SkipEnvironment(OperatingSystem::CI, Backend::OPENGL), "see b/486954356");
|
||||||
|
SKIP_IF(SkipEnvironment(OperatingSystem::CI, Backend::VULKAN), "see b/486954356");
|
||||||
|
|
||||||
auto& api = getDriverApi();
|
auto& api = getDriverApi();
|
||||||
constexpr int kRenderTargetSize = 512;
|
constexpr int kRenderTargetSize = 512;
|
||||||
|
|
||||||
|
|||||||
@@ -798,6 +798,12 @@ void FEngine::submitFrame() {
|
|||||||
void FEngine::flush() {
|
void FEngine::flush() {
|
||||||
// flush the command buffer
|
// flush the command buffer
|
||||||
flushCommandBuffer(mCommandBufferQueue);
|
flushCommandBuffer(mCommandBufferQueue);
|
||||||
|
|
||||||
|
// In single-threaded mode, we have to call execute() to drain the command
|
||||||
|
// buffer to really free up space
|
||||||
|
if constexpr (!UTILS_HAS_THREADING) {
|
||||||
|
execute();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void FEngine::flushAndWait() {
|
void FEngine::flushAndWait() {
|
||||||
|
|||||||
@@ -60,11 +60,13 @@
|
|||||||
#define GLTFIO_WARN(msg) slog.w << msg << io::endl
|
#define GLTFIO_WARN(msg) slog.w << msg << io::endl
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef GLTFIO_USE_FILESYSTEM
|
||||||
#if defined(__EMSCRIPTEN__) || defined(__ANDROID__) || defined(FILAMENT_IOS)
|
#if defined(__EMSCRIPTEN__) || defined(__ANDROID__) || defined(FILAMENT_IOS)
|
||||||
#define GLTFIO_USE_FILESYSTEM 0
|
#define GLTFIO_USE_FILESYSTEM 0
|
||||||
#else
|
#else
|
||||||
#define GLTFIO_USE_FILESYSTEM 1
|
#define GLTFIO_USE_FILESYSTEM 1
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace utils {
|
namespace utils {
|
||||||
class NameComponentManager;
|
class NameComponentManager;
|
||||||
|
|||||||
Reference in New Issue
Block a user