| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
| D | validate_scopes.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 45 SpvOp opcode = inst->opcode(); in ValidateScope() 52 << spvOpcodeString(opcode) << ": expected scope to be a 32-bit int"; in ValidateScope() 81 SpvOp opcode = inst->opcode(); in ValidateExecutionScope() 94 // Vulkan specific rules in ValidateExecutionScope() 95 if (spvIsVulkanEnv(_.context()->target_env)) { in ValidateExecutionScope() 96 // Vulkan 1.1 specific rules in ValidateExecutionScope() 97 if (_.context()->target_env != SPV_ENV_VULKAN_1_0) { in ValidateExecutionScope() 103 << ": in Vulkan environment Execution scope is limited to " in ValidateExecutionScope() 112 _.function(inst->function()->id()) in ValidateExecutionScope() [all …]
|
| D | validate_decorations.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 114 return std::vector<uint32_t>(inst->words().begin() + 2, inst->words().end()); in getStructMembers() 122 if (type == vstate.FindDef(id)->opcode()) { in getStructMembers() 135 if (inst->opcode() == SpvOpTypeStruct) { in isMissingOffsetInStruct() 148 } else if (inst->opcode() == SpvOpTypeArray || in isMissingOffsetInStruct() 149 inst->opcode() == SpvOpTypeRuntimeArray) { in isMissingOffsetInStruct() 151 struct_members.push_back(inst->GetOperandAs<uint32_t>(1u)); in isMissingOffsetInStruct() 168 return (x + alignment - 1) & ~(alignment - 1); in align() 179 const auto& words = inst->words(); in getBaseAlignment() 180 // Minimal alignment is byte-aligned. in getBaseAlignment() [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/source/val/ |
| D | validate_scopes.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 45 SpvOp opcode = inst->opcode(); in ValidateScope() 52 << spvOpcodeString(opcode) << ": expected scope to be a 32-bit int"; in ValidateScope() 81 SpvOp opcode = inst->opcode(); in ValidateExecutionScope() 94 // Vulkan specific rules in ValidateExecutionScope() 95 if (spvIsVulkanEnv(_.context()->target_env)) { in ValidateExecutionScope() 96 // Vulkan 1.1 specific rules in ValidateExecutionScope() 97 if (_.context()->target_env != SPV_ENV_VULKAN_1_0) { in ValidateExecutionScope() 103 << ": in Vulkan environment Execution scope is limited to " in ValidateExecutionScope() 112 _.function(inst->function()->id()) in ValidateExecutionScope() [all …]
|
| D | validate_decorations.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 114 return std::vector<uint32_t>(inst->words().begin() + 2, inst->words().end()); in getStructMembers() 122 if (type == vstate.FindDef(id)->opcode()) { in getStructMembers() 135 if (inst->opcode() == SpvOpTypeStruct) { in isMissingOffsetInStruct() 148 } else if (inst->opcode() == SpvOpTypeArray || in isMissingOffsetInStruct() 149 inst->opcode() == SpvOpTypeRuntimeArray) { in isMissingOffsetInStruct() 151 struct_members.push_back(inst->GetOperandAs<uint32_t>(1u)); in isMissingOffsetInStruct() 168 return (x + alignment - 1) & ~(alignment - 1); in align() 179 const auto& words = inst->words(); in getBaseAlignment() 180 // Minimal alignment is byte-aligned. in getBaseAlignment() [all …]
|
| /third_party/spirv-tools/source/val/ |
| D | validate_scopes.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 45 SpvOp opcode = inst->opcode(); in ValidateScope() 52 << spvOpcodeString(opcode) << ": expected scope to be a 32-bit int"; in ValidateScope() 81 SpvOp opcode = inst->opcode(); in ValidateExecutionScope() 94 // Vulkan specific rules in ValidateExecutionScope() 95 if (spvIsVulkanEnv(_.context()->target_env)) { in ValidateExecutionScope() 96 // Vulkan 1.1 specific rules in ValidateExecutionScope() 97 if (_.context()->target_env != SPV_ENV_VULKAN_1_0) { in ValidateExecutionScope() 103 << ": in Vulkan environment Execution scope is limited to " in ValidateExecutionScope() 112 _.function(inst->function()->id()) in ValidateExecutionScope() [all …]
|
| D | validate_decorations.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 114 return std::vector<uint32_t>(inst->words().begin() + 2, inst->words().end()); in getStructMembers() 122 if (type == vstate.FindDef(id)->opcode()) { in getStructMembers() 156 return (x + alignment - 1) & ~(alignment - 1); in align() 167 const auto& words = inst->words(); in getBaseAlignment() 168 // Minimal alignment is byte-aligned. in getBaseAlignment() 170 switch (inst->opcode()) { in getBaseAlignment() 190 // A row-major matrix of C columns has a base alignment equal to the in getBaseAlignment() 194 const auto component_id = component_inst->words()[2]; in getBaseAlignment() 235 const auto& words = inst->words(); in getScalarAlignment() [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/ |
| D | CHANGES | 1 Revision history for SPIRV-Tools 3 v2021.5-dev 2021-11-11 4 - Start v2021.5-dev 6 v2021.4 2021-11-11 7 - General 8 - Add a WebAssembly build (#3752) 9 - Make cxx exceptions controllable (#4591) 10 - Validator 11 - Improve decoration validation (#4490) 12 - Optimizer [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/ |
| D | CHANGES | 1 Revision history for SPIRV-Tools 3 v2021.5-dev 2021-11-11 4 - Start v2021.5-dev 6 v2021.4 2021-11-11 7 - General 8 - Add a WebAssembly build (#3752) 9 - Make cxx exceptions controllable (#4591) 10 - Validator 11 - Improve decoration validation (#4490) 12 - Optimizer [all …]
|
| /third_party/spirv-tools/ |
| D | CHANGES | 1 Revision history for SPIRV-Tools 3 v2021.1 2021-04-19 4 - General 5 - Support SPV_KHR_linkonce_odr, SPV_KHR_expect_assume (#4161) 6 - Fixes for the vscode language server extension (#4150) 7 - Validator 8 - Add validation for SPV_EXT_shader_atomic_float_min_max (#4105) 9 - Add Vulkan Execution Scope checks (#4183) 10 - Vulkan 64-bit OpAtomicStore check (#4163) 11 - Optimizer [all …]
|
| /third_party/mesa3d/.gitlab-ci/ |
| D | test-source-dep.yml | 5 # ---------------------------------------------------------- 6 .scheduled_pipelines-rules: 7 rules: &ignore_scheduled_pipelines 12 # ---------------------------------- 13 .mesa-rules: 14 rules: 15 - *ignore_scheduled_pipelines 16 - changes: &mesa_core_file_list 17 - .gitlab-ci.yml 18 - .gitlab-ci/**/* [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/include/spirv-tools/ |
| D | libspirv.h | 1 // Copyright (c) 2015-2020 The Khronos Group Inc. 9 // http://www.apache.org/licenses/LICENSE-2.0 63 SPV_ERROR_INTERNAL = -1, 64 SPV_ERROR_OUT_OF_MEMORY = -2, 65 SPV_ERROR_INVALID_POINTER = -3, 66 SPV_ERROR_INVALID_BINARY = -4, 67 SPV_ERROR_INVALID_TEXT = -5, 68 SPV_ERROR_INVALID_TABLE = -6, 69 SPV_ERROR_INVALID_VALUE = -7, 70 SPV_ERROR_INVALID_DIAGNOSTIC = -8, [all …]
|
| D | libspirv.hpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 23 #include "spirv-tools/libspirv.h" 88 // uniform/storage buffer/push-constant layout. If true, disables 89 // scalar block layout rules. 95 // uniform layout. If true, disables scalar block layout rules. 101 // uniform/storage buffer/push-constant layout. If true, disables 102 // relaxed block layout rules. 113 // Skips validating standard uniform/storage buffer/push-constant layout. 124 // Records whether or not the validator should relax the rules on pointer 134 // Records whether or not the validator should relax the rules because it is [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/include/spirv-tools/ |
| D | libspirv.h | 1 // Copyright (c) 2015-2020 The Khronos Group Inc. 9 // http://www.apache.org/licenses/LICENSE-2.0 63 SPV_ERROR_INTERNAL = -1, 64 SPV_ERROR_OUT_OF_MEMORY = -2, 65 SPV_ERROR_INVALID_POINTER = -3, 66 SPV_ERROR_INVALID_BINARY = -4, 67 SPV_ERROR_INVALID_TEXT = -5, 68 SPV_ERROR_INVALID_TABLE = -6, 69 SPV_ERROR_INVALID_VALUE = -7, 70 SPV_ERROR_INVALID_DIAGNOSTIC = -8, [all …]
|
| D | libspirv.hpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 23 #include "spirv-tools/libspirv.h" 88 // uniform/storage buffer/push-constant layout. If true, disables 89 // scalar block layout rules. 95 // uniform layout. If true, disables scalar block layout rules. 101 // uniform/storage buffer/push-constant layout. If true, disables 102 // relaxed block layout rules. 113 // Skips validating standard uniform/storage buffer/push-constant layout. 124 // Records whether or not the validator should relax the rules on pointer 134 // Records whether or not the validator should relax the rules because it is [all …]
|
| /third_party/spirv-tools/include/spirv-tools/ |
| D | libspirv.h | 1 // Copyright (c) 2015-2020 The Khronos Group Inc. 9 // http://www.apache.org/licenses/LICENSE-2.0 63 SPV_ERROR_INTERNAL = -1, 64 SPV_ERROR_OUT_OF_MEMORY = -2, 65 SPV_ERROR_INVALID_POINTER = -3, 66 SPV_ERROR_INVALID_BINARY = -4, 67 SPV_ERROR_INVALID_TEXT = -5, 68 SPV_ERROR_INVALID_TABLE = -6, 69 SPV_ERROR_INVALID_VALUE = -7, 70 SPV_ERROR_INVALID_DIAGNOSTIC = -8, [all …]
|
| D | libspirv.hpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 23 #include "spirv-tools/libspirv.h" 88 // uniform/storage buffer/push-constant layout. If true, disables 89 // scalar block layout rules. 95 // uniform layout. If true, disables scalar block layout rules. 101 // uniform/storage buffer/push-constant layout. If true, disables 102 // relaxed block layout rules. 113 // Skips validating standard uniform/storage buffer/push-constant layout. 118 // Records whether or not the validator should relax the rules on pointer 128 // Records whether or not the validator should relax the rules because it is [all …]
|
| /third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
| D | vkValidatorOptions.hpp | 3 /*------------------------------------------------------------------------- 4 * Vulkan CTS Framework 5 * -------------------- 13 * http://www.apache.org/licenses/LICENSE-2.0 23 * \brief SPIR-V validator options 24 *//*--------------------------------------------------------------------*/ 35 // The default for the target Vulkan environment. 56 // The target Vulkan version. This determines the SPIR-V environment rules to 60 // The block layout rules to enforce.
|
| /third_party/glslang/glslang/MachineIndependent/ |
| D | Versions.h | 2 // Copyright (C) 2002-2005 3Dlabs Inc. Ltd. 3 // Copyright (C) 2012-2013 LunarG, Inc. 5 // Copyright (C) 2015-2018 Google, Inc. 82 // What source rules, validation rules, target language, etc. are needed or 83 // desired for SPIR-V? 85 // 0 means a target or rule set is not enabled (ignore rules from that entity). 86 // Non-0 means to apply semantic rules arising from that version of its rule set. 90 SpvVersion() : spv(0), vulkanGlsl(0), vulkan(0), openGl(0) {} in SpvVersion() 91 …unsigned int spv; // the version of SPIR-V to target, as defined by "word 1" of the SPIR-V binary … 92 …ulkanGlsl; // the version of GLSL semantics for Vulkan, from GL_KHR_vulkan_glsl, for "#define VU… [all …]
|
| /third_party/flutter/skia/third_party/externals/spirv-tools/ |
| D | CHANGES | 1 Revision history for SPIRV-Tools 3 v2016.7-dev 2017-01-06 4 - Add SPIR-V 1.2 5 - OpenCL 2.2 support is now based on SPIR-V 1.2 6 - Support AMD extensions in assembler, disassembler: 14 - Optimizer: Add support for: 15 - Inline all function calls in entry points. 16 - Flatten of decoration groups. Fixes #602 17 - Id compaction (minimize Id bound). Fixes #624 18 - Eliminate redundant composite insert followed by extract [all …]
|
| /third_party/skia/third_party/externals/dawn/scripts/ |
| D | dawn_overrides_with_defaults.gni | 7 # http://www.apache.org/licenses/LICENSE-2.0 18 # It takes advantage of GN's variable scoping rules to define global variables 53 dawn_spirv_cross_dir = "${skia_third_party_dir}/vulkan-deps/spirv-cross/src" 57 dawn_spirv_tools_dir = "${skia_third_party_dir}/vulkan-deps/spirv-tools/src" 66 # Default to the Vulkan loader not being available except in standalone. 69 dawn_vulkan_loader_dir = "${skia_third_party_dir}/vulkan-deps/vulkan-loader/src" 84 dawn_abseil_dir = "${skia_third_party_dir}/abseil-cpp"
|
| /third_party/flutter/skia/third_party/externals/angle2/ |
| D | WATCHLISTS | 2 # Use of this source code is governed by a BSD-style license that can be 5 # Watchlist Rules 6 # Refer: http://dev.chromium.org/developers/contributing-code/watchlists 13 'vulkan': { 14 'filepath': 'src/libANGLE/renderer/vulkan/', 22 'vulkan': ['jmadill+watch@chromium.org'],
|
| /third_party/skia/third_party/externals/angle2/ |
| D | WATCHLISTS | 2 # Use of this source code is governed by a BSD-style license that can be 5 # Watchlist Rules 6 # Refer: http://dev.chromium.org/developers/contributing-code/watchlists 13 'vulkan': { 14 'filepath': 'src/libANGLE/renderer/vulkan/', 22 'vulkan': ['cclao+angleWatchVk@google.com',
|
| /third_party/skia/third_party/externals/angle2/src/third_party/volk/ |
| D | README.md | 1 # volk [](https://travis-ci.or… 13 volk is a meta-loader for Vulkan. It allows you to dynamically load entrypoints required to use Vul… 14 without linking to vulkan-1.dll or statically linking Vulkan loader. Additionally, volk simplifies … 15 Vulkan entrypoints directly from the driver which can increase performance by skipping loader dispa… 23 …build system. Note that the usual preprocessor defines that enable Vulkan's platform-specific func… 24 2. You can use volk in header-only fashion. Include `volk.h` whereever you want to use Vulkan funct… 29 To use volk, you have to include `volk.h` instead of `vulkan/vulkan.h`; this is necessary to use fu… 30 …vulkan/vulkan.h` and don't include `volk.h`, this can result in symbol conflicts; consider definin… 38 This will attempt to load Vulkan loader from the system; if this function returns `VK_SUCCESS` you … 39 If this function fails, this means Vulkan loader isn't installed on your system. [all …]
|
| /third_party/flutter/skia/third_party/externals/angle2/include/platform/ |
| D | FeaturesVk.h | 3 // Use of this source code is governed by a BSD-style license that can be 6 // FeaturesVk.h: Optional features for the Vulkan renderer. 22 // Line segment rasterization must follow OpenGL rules. This means using an algorithm similar 23 // to Bresenham's. Vulkan uses a different algorithm. This feature enables the use of pixel 24 // shader patching to implement OpenGL basic line rasterization rules. This feature will 29 "rasterization rules", 32 // Flips the viewport to render upside-down. This has the effect to render the same way as 36 // becomes (0, height, width, -height). Unfortunately, when we start doing this, we also need 37 // to adjust a lot of places since the rendering now happens upside-down. Affected places so 39 // -readPixels [all …]
|
| /third_party/openGLES/extensions/NV/ |
| D | NV_draw_vulkan_image.txt | 38 This extension interacts with Vulkan 1.0 and requires the OpenGL 39 implementation to expose an implementation of Vulkan 1.0. 44 applications to draw a screen-aligned rectangle displaying some or all of 45 the contents of a two-dimensional Vulkan VkImage. Callers specify a 46 Vulkan VkImage handle, an optional OpenGL sampler object, window 54 processed by all per-fragment operations. In particular, 57 In order to synchronize between Vulkan and OpenGL there are three other 59 SignalVkFenceNV(). These allow OpenGL to wait for Vulkan to complete work 60 and also Vulkan to wait for OpenGL to complete work. Together OpenGL 61 and Vulkan can synchronize on the server without application [all …]
|