• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:devsim

2  * Copyright (c) 2015-2019 The Khronos Group Inc.
3 * Copyright (c) 2015-2019 Valve Corporation
4 * Copyright (c) 2015-2019 LunarG, Inc.
10 * http://www.apache.org/licenses/LICENSE-2.0
18 * Author: Chia-I Wu <olvaffe@gmail.com>
79 // Command-line options
162 if (optionMatch("--strip-SPV", argv[i])) in InitArgs()
164 else if (optionMatch("--canonicalize-SPV", argv[i])) in InitArgs()
166 else if (optionMatch("--devsim", argv[i])) in InitArgs()
168 else if (optionMatch("--disable_uberlayer", argv[i])) in InitArgs()
170 else if (optionMatch("--help", argv[i]) || optionMatch("-h", argv[i])) { in InitArgs()
173 "\t--show-images\n" in InitArgs()
176 "\t--save-images\n" in InitArgs()
178 "\t\tUsed to generate golden images for compare-images.\n"); in InitArgs()
180 "\t--compare-images\n" in InitArgs()
188 "\t--no-SPV\n" in InitArgs()
189 "\t\tUse built-in GLSL compiler rather than SPV code path.\n"); in InitArgs()
191 "\t--strip-SPV\n" in InitArgs()
192 "\t\tStrip SPIR-V debug information (line numbers, names, etc).\n"); in InitArgs()
194 "\t--canonicalize-SPV\n" in InitArgs()
195 "\t\tRemap SPIR-V ids before submission to aid compression.\n"); in InitArgs()
199 printf("\nUse --help or -h for option list.\n"); in InitArgs()
216 …vkGetPhysicalDeviceFormatProperties(device->phy().handle(), VK_FORMAT_B8G8R8A8_UNORM, &format_prop… in GetFormat()
221 …vkGetPhysicalDeviceFormatProperties(device->phy().handle(), VK_FORMAT_R8G8B8A8_UNORM, &format_prop… in GetFormat()
226 …printf("Error - device does not support VK_FORMAT_B8G8R8A8_UNORM nor VK_FORMAT_R8G8B8A8_UNORM - ex… in GetFormat()
234 // - parsing this string for the case where the user didn't supply one
235 // - dumping out a template for user construction of a config file
255 "MinProgramTexelOffset -8\n"
347 if (name.compare(name.size() - 5, 5, ".conf") == 0) { in SetConfigFile()
379 if (valueStr == 0 || !(valueStr[0] == '-' || (valueStr[0] >= '0' && valueStr[0] <= '9'))) { in ProcessConfigFile()
652 count -= (len); in ReadFileData()
782 shader->setStrings(shaderStrings, 1); in GLSLtoSPV()
784 …if (!shader->parse(&Resources, (m_compile_options & EOptionDefaultDesktop) ? 110 : 100, false, mes… in GLSLtoSPV()
786 puts(shader->getInfoLog()); in GLSLtoSPV()
787 puts(shader->getInfoDebugLog()); in GLSLtoSPV()
796 // Program-level processing... in GLSLtoSPV()
801 puts(shader->getInfoLog()); in GLSLtoSPV()
802 puts(shader->getInfoDebugLog()); in GLSLtoSPV()
820 // Test the different modes of SPIR-V modification in GLSLtoSPV()
822 if (this->m_canonicalize_spv) { in GLSLtoSPV()
826 if (this->m_strip_spv) { in GLSLtoSPV()
830 if (this->m_do_everything_spv) { in GLSLtoSPV()
840 // Compile a given string containing SPIR-V assembly into SPV for use by VK
855 spv.insert(spv.end(), binary->code, binary->code + binary->wordCount); in ASMtoSPV()