mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-21 11:10:04 +00:00
Fix SPRIV -> SPIRV typos (#5735)
Fix all occurrences of "spriv" typos (irrespective of case). Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
parent
9f2ccaef5f
commit
6a5fa5f70a
@ -703,7 +703,7 @@ spv_result_t Parser::parseOperand(size_t inst_offset,
|
||||
<< ", if you are creating a new source language please use "
|
||||
"value 0 "
|
||||
"(Unknown) and when ready, add your source language to "
|
||||
"SPRIV-Headers";
|
||||
"SPIRV-Headers";
|
||||
}
|
||||
// Prepare to accept operands to this operand, if needed.
|
||||
spvPushOperandTypes(entry->operandTypes, expected_operands);
|
||||
|
@ -1157,7 +1157,7 @@ INSTANTIATE_TEST_SUITE_P(
|
||||
{"OpSource !9999 100",
|
||||
"Invalid source language operand: 9999, if you are creating a new "
|
||||
"source language please use value 0 (Unknown) and when ready, add "
|
||||
"your source language to SPRIV-Headers"},
|
||||
"your source language to SPIRV-Headers"},
|
||||
{"OpEntryPoint !9999", "Invalid execution model operand: 9999"},
|
||||
{"OpMemoryModel !9999", "Invalid addressing model operand: 9999"},
|
||||
{"OpMemoryModel Logical !9999", "Invalid memory model operand: 9999"},
|
||||
|
@ -84,7 +84,7 @@ OpMemoryModel Logical GLSL450
|
||||
HasSubstr("Cannot create undefined values with 8- or 16-bit types"));
|
||||
}
|
||||
|
||||
const std::string ShaderClockSpriv = R"(
|
||||
const std::string ShaderClockSpirv = R"(
|
||||
OpCapability Shader
|
||||
OpCapability Int64
|
||||
OpCapability ShaderClockKHR
|
||||
@ -103,7 +103,7 @@ OpName %time1 "time1"
|
||||
)";
|
||||
|
||||
TEST_F(ValidateMisc, ShaderClockInt64) {
|
||||
const std::string spirv = ShaderClockSpriv + R"(
|
||||
const std::string spirv = ShaderClockSpirv + R"(
|
||||
%3 = OpTypeFunction %void
|
||||
%uint = OpTypeInt 32 0
|
||||
%_ptr_Function_uint = OpTypePointer Function %uint
|
||||
@ -123,7 +123,7 @@ OpFunctionEnd)";
|
||||
}
|
||||
|
||||
TEST_F(ValidateMisc, ShaderClockVec2) {
|
||||
const std::string spirv = ShaderClockSpriv + R"(
|
||||
const std::string spirv = ShaderClockSpirv + R"(
|
||||
%3 = OpTypeFunction %void
|
||||
%ulong = OpTypeInt 64 0
|
||||
%_ptr_Function_ulong = OpTypePointer Function %ulong
|
||||
@ -145,7 +145,7 @@ OpFunctionEnd)";
|
||||
}
|
||||
|
||||
TEST_F(ValidateMisc, ShaderClockInvalidScopeValue) {
|
||||
const std::string spirv = ShaderClockSpriv + R"(
|
||||
const std::string spirv = ShaderClockSpirv + R"(
|
||||
%3 = OpTypeFunction %void
|
||||
%ulong = OpTypeInt 64 0
|
||||
%uint = OpTypeInt 32 0
|
||||
@ -166,7 +166,7 @@ OpFunctionEnd)";
|
||||
}
|
||||
|
||||
TEST_F(ValidateMisc, ShaderClockSubgroupScope) {
|
||||
const std::string spirv = ShaderClockSpriv + R"(
|
||||
const std::string spirv = ShaderClockSpirv + R"(
|
||||
%3 = OpTypeFunction %void
|
||||
%ulong = OpTypeInt 64 0
|
||||
%uint = OpTypeInt 32 0
|
||||
@ -186,7 +186,7 @@ OpFunctionEnd)";
|
||||
}
|
||||
|
||||
TEST_F(ValidateMisc, ShaderClockDeviceScope) {
|
||||
const std::string spirv = ShaderClockSpriv + R"(
|
||||
const std::string spirv = ShaderClockSpirv + R"(
|
||||
%3 = OpTypeFunction %void
|
||||
%ulong = OpTypeInt 64 0
|
||||
%uint = OpTypeInt 32 0
|
||||
@ -206,7 +206,7 @@ OpFunctionEnd)";
|
||||
}
|
||||
|
||||
TEST_F(ValidateMisc, ShaderClockWorkgroupScope) {
|
||||
const std::string spirv = ShaderClockSpriv + R"(
|
||||
const std::string spirv = ShaderClockSpirv + R"(
|
||||
%3 = OpTypeFunction %void
|
||||
%ulong = OpTypeInt 64 0
|
||||
%uint = OpTypeInt 32 0
|
||||
@ -228,7 +228,7 @@ OpFunctionEnd)";
|
||||
}
|
||||
|
||||
TEST_F(ValidateMisc, VulkanShaderClockWorkgroupScope) {
|
||||
const std::string spirv = ShaderClockSpriv + R"(
|
||||
const std::string spirv = ShaderClockSpirv + R"(
|
||||
%3 = OpTypeFunction %void
|
||||
%ulong = OpTypeInt 64 0
|
||||
%uint = OpTypeInt 32 0
|
||||
|
Loading…
Reference in New Issue
Block a user