only use dead input elimination on vertex shaders
[platform/upstream/glslang.git] / README-spirv-remap.txt
index a67771c..3e5288a 100644 (file)
@@ -72,7 +72,7 @@ public:
    spirvbin_t(int verbose = 0);  // construct
 
    // remap an existing binary in memory
-   void remap(std::vector<std::uint32_t>& spv, std::uint32_t opts = Options::DO_EVERYTHING);
+   void remap(std::vector<std::uint32_t>& spv, std::uint32_t opts = DO_EVERYTHING);
 
    // Type for error/log handler functions
    typedef std::function<void(const std::string&)> errorfn_t;
@@ -98,7 +98,7 @@ options.  See REMAPPING AND OPTIMIZATION OPTIONS.
 On error, the function supplied to registerErrorHandler() will be invoked.
 This can be a standard C/C++ function, a lambda function, or a functor.
 The default handler simply calls exit(5); The error handler is a static
-members, so need only be set up once, not once per spirvbin_t instance.
+member, so need only be set up once, not once per spirvbin_t instance.
 
 Log messages are supplied to registerLogHandler().  By default, log
 messages are eaten silently.  The log handler is also a static member.
@@ -119,7 +119,7 @@ normal build process.
 REMAPPING AND OPTIMIZATION OPTIONS
 --------------------------------------------------------------------------------
 API:
-   These are bits defined under spv::spirvbin_t::Options::, and can be
+   These are bits defined under spv::spirvbin_t::, and can be
    bitwise or-ed together as desired.
 
    MAP_TYPES      = canonicalize type IDs