mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 15:16:16 +00:00
Use the agreed upon include path for spirv-cross.
Everyone using spirv-cross includes its headers via <spirv_msl.hpp> for example. Make Dawn match that convention so it can play better with the setup used by other projects. Still leave <spirv-cross/spirv_msl.hpp> working for now because it is used by shaderc_spvc. A follow up CL to that repo will do the same change. BUG= Change-Id: I9dc590a809d7ba733113b07930a285acfca64a66 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10801 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
ce2adba679
commit
f5c44772a6
@@ -20,8 +20,8 @@
|
||||
#include "dawn_native/Pipeline.h"
|
||||
#include "dawn_native/PipelineLayout.h"
|
||||
|
||||
#include <spirv-cross/spirv_cross.hpp>
|
||||
#include <spirv-tools/libspirv.hpp>
|
||||
#include <spirv_cross.hpp>
|
||||
|
||||
#include <sstream>
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "dawn_native/d3d12/DeviceD3D12.h"
|
||||
#include "dawn_native/d3d12/PipelineLayoutD3D12.h"
|
||||
|
||||
#include <spirv-cross/spirv_hlsl.hpp>
|
||||
#include <spirv_hlsl.hpp>
|
||||
|
||||
namespace dawn_native { namespace d3d12 {
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "dawn_native/metal/DeviceMTL.h"
|
||||
#include "dawn_native/metal/PipelineLayoutMTL.h"
|
||||
|
||||
#include <spirv-cross/spirv_msl.hpp>
|
||||
#include <spirv_msl.hpp>
|
||||
|
||||
#include <sstream>
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "dawn_native/DynamicUploader.h"
|
||||
#include "dawn_native/Instance.h"
|
||||
|
||||
#include <spirv-cross/spirv_cross.hpp>
|
||||
#include <spirv_cross.hpp>
|
||||
|
||||
namespace dawn_native { namespace null {
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "common/Platform.h"
|
||||
#include "dawn_native/opengl/DeviceGL.h"
|
||||
|
||||
#include <spirv-cross/spirv_glsl.hpp>
|
||||
#include <spirv_glsl.hpp>
|
||||
|
||||
#include <sstream>
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "dawn_native/vulkan/DeviceVk.h"
|
||||
#include "dawn_native/vulkan/FencedDeleter.h"
|
||||
|
||||
#include <spirv-cross/spirv_cross.hpp>
|
||||
#include <spirv_cross.hpp>
|
||||
|
||||
namespace dawn_native { namespace vulkan {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user