Comments (3)
Seems it's been there since 3DLabs last touched glslang in 2005.
In that import, the README.txt talks about why the header is there.
2. You may have a missing header file, unistd.h. Create an empty one in
some standard devstudio or SDK system include directory. (Bison/flex
generate a #include <unistd.h>, this makes them happy.)
I don't think this happens anymore, so it should be safe to remove unistd.h. Though I have not tested flex, and I have not tested versions of bison older than than 3.0.4.
from glslang.
I think you're correct. The one platform I'd be slightly concerned about would be Windows, and I confirmed that the bison.exe in the tools directory doesn't generate code including unistd.h.
Given that, I've created pull request #88 to remove it.
from glslang.
I think this is a problem from 2003 that does not exist in 2015. Fixed with pull request #88.
(Flex is no longer part of glslang.)
I suspect the existing MSVC project files should also be removed. Only CMake is being maintained.
from glslang.
Related Issues (20)
- Crash in glslang_program_SPIRV_generate_with_options in Android (arm64-v8a) HOT 2
- Incorrect SPIR-V generated when using a fixed-size array of sampler2D with -R (relaxed vulkan rules) HOT 3
- Compile warning on VS2022
- error in combination with preprocessor directives can obfuscate error location. HOT 4
- Glslang version output? HOT 1
- SPIR-V Validation Errors when using Vulkan Relaxed Rules
- Implement GL_NV_bindless_texture HOT 6
- Broken SPIRV generated if using ternary operator ( " a ? b : c " ) as a direct argument to a texelFetch call HOT 2
- Grammar railroad diagram
- nonuniformEXT not working correctly in conditionals HOT 3
- When will this be fixed? I have already sent PR HOT 2
- glslang must really warn when using uninitialized variables
- Conditional compilation is not handled correctly
- Crash on WebASM HOT 6
- error report when use GL_OES_EGL_image_external_essl3 HOT 2
- ABI break in glslang-14.2 HOT 1
- Incorrect SPIR-V can be generated when using samplers in structs with relaxed rules
- Miss glslang_shader_shader_set_entry_point HOT 1
- Location aliasing should allow mismatch in auxiliary qualifier
- Usage of `std::filesystem::absolute` in `glslang/Include/InfoSink.h` removes support for macOS < 10.15 and iOS < 13.0 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 glslang.