Comments (6)
Hello, I'd like to help with this if possible. I'm pretty new to Android, is this just a case of going through the code and switching any use of LOCAL_CXXFLAGS to LOCAL_CPPFLAGS or is there a bit more to it than that? Thanks
from shaderc.
Yes, it's just making that change in the one Android.mk file. :-)
Real work is in verifying the change. I'd like to test it with the NDK versions r10e and r13.
Here's an example of how I test the build, customized to NDK location and especially how the tree is checked out. (Actually it's a bit of a wonky structure but it works).
#!/bin/bash
export ANDROID_NDK=$HOME/android-ndk-r10e
export SPVTOOLS_LOCAL_PATH=$SRC_TREE/third_party/spirv-tools
export SPVHEADERS_LOCAL_PATH=$SRC_TREE/third_party/spirv-headers
# Allow use of args like -j 30
exec $ANDROID_NDK/ndk-build NDK_APP_OUT=`pwd` -C $SRC_TREE/third_party/shaderc/android_test \
V=1 \
SPVTOOLS_LOCAL_PATH=$SPVTOOLS_LOCAL_PATH \
SPVHEADERS_LOCAL_PATH=$SPVHEADERS_LOCAL_PATH \
"$@"
If you can make the Android.mk change and verify with the two versions of the NDK that would be grand!
from shaderc.
Thanks for the information, I've updated the one Android.mk file, but I think the testing is a little out of my depth, so haven't submitted a PR just yet. If there's anything a little more beginner level I can work on, I'd love to help out!
from shaderc.
@taml I hear you. :-) If you're willing to help on another project, I have something in mind in KhronosGroup/SPIRV-Tools. I haven't written it down yet, but it's a nice isolated piece that can be verified on any platform. I'm taking this opportunity to formalize the "help wanted" process and task list in that project. Stay tuned.
from shaderc.
@dneto0 Yeah sure, I'd definitely be interested in helping out!
from shaderc.
Take a look at KhronosGroup/SPIRV-Tools#502
Should be some Python and C++.
Note that SPIRV-Tools is used as a part of Shaderc so if you've built Shaderc then you've already built SPIRV-Tools.
SPIRV-Tools has its own contributors license agreement.
from shaderc.
Related Issues (20)
- Linking error against spirv-tools
- Proper handling of namespace in HLSL
- Is glsl 330 actually supported ?
- Gmock not found HOT 4
- FRP this Android
- No support for source level debug info?
- SPIR_V: Generate nonsemantic shader debug information (with source) HOT 1
- shaderc not found while compiling FFMPEG HOT 1
- tests fail with updated Glslang: TestDashCapOWithDashG fails due to debug output change HOT 2
- enable Glslang tests when Shaderc tests are enabled HOT 1
- "NVVM compilation failed: 3" with mesh shaders
- Build faild when I set BUILD_SHARED_LIBS ON, Windows 10 HOT 1
- RFE: is it possible to start making github releases?🤔 HOT 3
- Optimization issue when specifying --target-env
- [Documentation] gmock appears to be necessary for shaderc HOT 1
- Always say error when wnt instal shaderc with ninja or msvc same
- Compilation succeed with CLI but unexpected INTCONSTANT with C API HOT 6
- When compiling shaders with target environment errors occur.
- 2024.1 build failure
- Compute shaders compiling to spir-v version 1.6 generates Vulkan validation error due to OpExecutionMode
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 shaderc.