Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows fixes #1

Merged
merged 1 commit into from
Nov 7, 2020
Merged

Conversation

rbsheth
Copy link
Collaborator

@rbsheth rbsheth commented Nov 7, 2020

No description provided.

@rbsheth rbsheth merged commit d41e40a into elisemorysc:hunter-v1.9.7 Nov 7, 2020
@rbsheth rbsheth deleted the hunter-v1.9.7 branch November 7, 2020 04:31
elisemorysc added a commit that referenced this pull request Nov 13, 2020
* hunter v1.9.5

* remove defaults packages

* missing packages

* fix matdbg

* USe -fno-buildin for GNU and CLANG

* update packages

* Vulkan: add missing field to VmaVulkanFunctions.

* Add subpass parameter type to materials (google#3193)

* Fix TypeScript binding for TextureUsage.

* Add Dockerfile and test script for SwiftShader.

This adds a Dockerfile and a new bash script that makes it
east to invoke the appopriate Docker commands.

This does not yet enable a GitHub Action because of intermittent
issues that we have not yet ironed out.

* Add ability to specify post-process material output location (google#3205)

* Vulkan: improve the ReadPixels implementation.

This adds support for more format conversions and removes a bogus
assert that prevented ReadPixels within beginFrame / endFrame.
This was tested with:

    backend_test_mac --api vulkan --gtest_filter=BackendTest.ReadPixels

* Allow test_ReadPixels with SwiftShader.

* Vulkan: ReadPixels y-flip workaround.

* Makes it possible to have multiple instances of ImGuiHelper at the same time

This change fixes an issue where ImGuiHelper would crash on destruction if you created more than one instance at the same time.

This crash occurred when ImGui::DestroyContext() was called, because when the second instance was destroyed there was no current context causing it to crash.

This fixes it by making ImGuiHelper store and manage it's own context.

Having two instances of ImGuiHelper is useful in cases where you want to use imgui with multiple views.

* Vulkan: fix thread safety regression in Disposer.

This fixes a regression introduced by 548b28c manifesting as
intermittent assertions. The VulkanDisposer gc() should only be called
from the driver thread.

* Vulkan: Improve refcounting for vertex buffers.

This avoids the following validation error when clients create then
immediately destroy vertex buffers, index buffers, and uniform buffers.

        VUID-vkDestroyBuffer-buffer-00922

        Cannot free VkBuffer that is in use by a command buffer.

Buffers that are used across multiple frames were fine, but
create-and-destroy scenarios were problematic.

* Vulkan: fix leak with headless swap chain.

* Vulkan: fix destroy-while-used for UBOs.

* Fix Windows build.

* PlatformVkLinux now supports all combos of XLIB and XCB.

You can now build Filament with support for both X11 APIs, or neither.
If both are supported, run-time selection is achieved using a SwapChain
flag.

Supporting only one API at build time (or neither) is useful because our
list of "required" VkInstance extensions can vary according to which
API's are supported. During VkInstance creation, we do not have a priori
knowledge about what kinds of swap chains will be created. (headless vs
non-headless, XCB vs XLIB, etc)

Note that some Vulkan implementation (e.g. some builds of SwiftShader)
only support XCB.

* Add PNG output to test_ReadPixels.

* Merge duplicated implementations of toLinear().

* Fix iOS build break.

* Vulkan: make ReadPixels synchronous.

This makes it so that the PixelBufferDescriptor callback triggers at a
time consistent with other backends.

ReadPixels is still asynchronous in the sense that the callback is
triggered on the main thread. However, it is now guaranteed to trigger
during (or before) flushAndWait(), which is less surprising behavior.

* Vulkan: warn instead of panic for sampler overflow.

This makes behavior in release builds similar to the OpenGL backend.

In debug builds, we will still assert.

* Update RELEASE_NOTES for 1.9.6

* Bump version to 1.9.7

* Update RELEASE_NOTES for 1.9.7

* Version update

* update hunter version

* add opengl

* remove opengl

* Windows fixes (#1)

* Fix getopt (#2)

* fix linux build

* fix osx build

* civetweb 1.13

* update version

* add hunter mat tools flag

* remove civetweb from config

* revert civetweb

* add SPIRV-Tools-opt in config

* Update filament-hunter-config.cmake.in

* Update filament-hunter-config.cmake.in

Co-authored-by: Eli Semory <elisemory@snap.com>
Co-authored-by: Philip Rideout <philiprideout@gmail.com>
Co-authored-by: Ben Doherty <bendoherty@google.com>
Co-authored-by: dsternfeld7 <dsternfeld@google.com>
Co-authored-by: Rahul Sheth <rbsheth@cs.stanford.edu>
Co-authored-by: Rahul Sheth <rahul@snap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant