Comments (6)
I was planning on using spvBinaryParse like this and calling the passes individually. This should be easily generalizable in a fixture.
from spirv-tools.
I tried a couple of approaches to get around this. One approach was to pass the *Pass
function pointers to the ValidateInstructions
function. Another was to ignore the errors based on the type of flags passed into the ValidateState_t::diag
function. I don't think either of these approaches solved the problem we have been experiencing.
The only solution would be to parse the entire binary for each of the passes. This will allow us to test for each type of pass independently. This will obviously be slower but might solve this issue.
Thoughts?
from spirv-tools.
@umar456 I don't like the idea of needless repeated parsing. Is it not possible to fix the test assemblies not to trigger unrelated validations? A lot of the time it's something trivial, like missing OpMemoryModel
.
from spirv-tools.
@umar456 is it OK if we assign this to someone on our team?
from spirv-tools.
sure
from spirv-tools.
In master
as b6ccd0d.
from spirv-tools.
Related Issues (20)
- Need AppleSilicon or universal apps for all the spriv tools on macOS HOT 5
- Add CLI option to set CreateAggressiveDCEPass(true) HOT 7
- New spriv-cross not transpiling to "void" vertex functions for SSBO usage HOT 2
- spriv-tools build of spirv-cross is really old HOT 3
- Constant initialized global variable rewrites produce invalid IR HOT 1
- OpUConvert for specialization constant should not generate spirv-opt error. HOT 2
- update validator tests for SPIRV-Headers change removing Kernel capability from Image channel order query result enums HOT 1
- String endianness is incorrect: big-endian strings cannot be read on little-endian machines
- spirv-opt problems HOT 3
- how best to add validation for Kernel SPIR-V HOT 1
- Building SPIRV-tools Error HOT 1
- Vulnerability: UNKNOWN READ in spvtools::val::ValidateAccessChain affecting HOT 2
- Fails to compile with GCC 13.2 (SPV_OPERAND_TYPE_OPTIONAL_RAW_ACCESS_CHAIN_OPERANDS not declated) HOT 1
- [spirv-opt] Inlining pass generates OpVariable of PhysicalStorageBuffer pointer type without AliasedPointer decoration. HOT 2
- spirv-val: VUID-FragCoord-FragCoord-04212 interaction with PerVertexKHR HOT 7
- Compile-related issue: SPIRV-Headers not found HOT 1
- new release https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/vulkan-sdk-1.3.280.0/SPIRV-Tools-1.3.280.0.tar.gz HOT 1
- [ spirv-opt ] Infinite recursion/crash with shader HOT 6
- SPIRV code fails validation after optimization HOT 3
- Wrong validation error when using RTA in SPV1.4? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spirv-tools.