mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 11:21:40 +00:00
spirv-reader: reduce fragment output location
MSL compiler requires colour output location at most 7. Bug: tint:1043 Change-Id: I2b0c09fecae124cc4af05712d7f3c872c2f93f99 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60081 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: David Neto <dneto@google.com>
This commit is contained in:
parent
cc6d5b464d
commit
c1cfa84ff9
@ -5889,7 +5889,7 @@ TEST_F(SpvModuleScopeVarParserTest, EntryPointWrapping_IOLocations) {
|
|||||||
OpDecorate %1 Location 0
|
OpDecorate %1 Location 0
|
||||||
OpDecorate %2 Location 0
|
OpDecorate %2 Location 0
|
||||||
OpDecorate %3 Location 30
|
OpDecorate %3 Location 30
|
||||||
OpDecorate %4 Location 40
|
OpDecorate %4 Location 6
|
||||||
)" + CommonTypes() +
|
)" + CommonTypes() +
|
||||||
R"(
|
R"(
|
||||||
%ptr_in_uint = OpTypePointer Input %uint
|
%ptr_in_uint = OpTypePointer Input %uint
|
||||||
@ -5914,7 +5914,7 @@ TEST_F(SpvModuleScopeVarParserTest, EntryPointWrapping_IOLocations) {
|
|||||||
Struct main_out {
|
Struct main_out {
|
||||||
StructMember{[[ LocationDecoration{0}
|
StructMember{[[ LocationDecoration{0}
|
||||||
]] x_2_1: __u32}
|
]] x_2_1: __u32}
|
||||||
StructMember{[[ LocationDecoration{40}
|
StructMember{[[ LocationDecoration{6}
|
||||||
]] x_4_1: __u32}
|
]] x_4_1: __u32}
|
||||||
}
|
}
|
||||||
Variable{
|
Variable{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user