- 28 Sep, 2020 1 commit
-
-
John Kessenich authored
Revert "Add more flexible SpirvToolsDisassemble interface to allow specifying spv_target_env for disassembly output. (#2406)" This reverts commit 2eed8236.
-
- 27 Sep, 2020 2 commits
-
-
pheonix authored
Add more flexible SpirvToolsDisassemble interface to allow specifying spv_target_env for disassembly output. (#2406) Improve documentation on existing SpirvToolsDisassemble interface. Fix cmake build scripts to account for `spirv-tools` external when -DENABLE_OPT=ON
-
craig stout authored
There's a statement that intends to generate a 32-bit hashcode, but due to integer promotion, the intermediate values can trigger signed integer overflow, which is undefined behavior. To avoid this, cast at least one operand to unsigned int before multiplying, which will cause the result to be promoted to unsigned int instead of signed int. With this patch, I'm able to build core for qemu-x64 with host_asan-ubsan. Fixed: 60128 Change-Id: Idd644e534116bf29dca8013936ac39901bbe68fc Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/glslang/+/428254Reviewed-by:
John Bauman <jbauman@google.com> Co-authored-by:
Drew Fisher <zarvox@google.com>
-
- 26 Sep, 2020 1 commit
-
-
craig stout authored
The glslang public includes dir contains headers with implicit conversion issues. Add -Wno-conversion to glslang's public config. Bug: 60140 Bug: 58162 Change-Id: Iec27cb4242e9fdceddd6a3e02044a0bccfa0ce36 Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/glslang/+/429054Reviewed-by:
Petr Hosek <phosek@google.com> Co-authored-by:
Shai Barack <shayba@google.com>
-
- 25 Sep, 2020 1 commit
-
-
greg-lunarg authored
-
- 18 Sep, 2020 1 commit
-
-
Rex Xu authored
Add more builder functions to OpExecutionMode, OpExecutionModeId, OpDecorateString, OpMemberDecorateString. According to SPIR-V, OpExecutionMode and OpExecutionModeId could take variable extra operands. Current implementation doesn't support this and assumes at most 3 operands are extra operands. It is not true. Similarly, OpDecorateString and OpMemberDecorateString could support multiple strings either as literal strings or as string operands. Further, OpDecorate and OpDecorateId have the same problem, taking variable extra operands.
-
- 15 Sep, 2020 1 commit
-
-
Chow authored
* Preprocessor related fix 1). Accoding to ESSL spec : All macro names containing two consecutive underscores ( __ ) are reserved for future use as predefined macro names, so just report a warning instead of error when the shader defines the macro names begining with '__'; 2. According to spec: If an implementation does not recognize the tokens following #pragma, then it will ignore that pragma, so report a compile-time warning intead of error for the following statement: #pragma debug(1.23) 3. The 'defined' macro should be allowed to expand and '__LINE__' should be allowed to be replaced with its original line number (otherwise, other expanding macros may change this value). 4. Add a flag 'indentifierSeen' in PPContext to indicate whether the any non-preprocessor tokens is existed before the extension directives, because the built-in symbols and functions are parsed before paring the user shader, so add a 'shaderSource' flag to check this error only for the user shader source; 5. Add missing type int16 and uint16. * Add test results, remove restriction of #extension. 1. Remove extension restriction in first line , as this is contraversy now. 2. The following shader is compiled failed as glslang consider the keyword 'defined' can not be undefined(in the 9th line: "#define defined BBB") The shader is as following: According to ES3.0 spec: It is an error to undefine or to redefine a built-in (pre-defined) macro name. This rule is aimed to the __LINE__, __FILE__, __VERSION__ and GL_ES, the keyword "defined" should not be restricted by this rule, so change the compile error to warning and make the following shader compile successfully. * 1. Using relaxedError to control error/warning report level. 2. remove #extension restriction. 3. Fix version related issue. 1. Using relaxedError to control error/warning report level. 2. remove #extension restriction. 3. Fix version related issue. * Add test results * Turn conditional warnings about pragma to unconditional ones.
-
- 14 Sep, 2020 3 commits
-
-
Rex Xu authored
According to the extension SPV_GOOGLE_decorate_string, OpDecorateString (or OpMemberDecorateString) ought to be capable of supporting multiple literal strings. Each literal strings are padded with null terminator to make word alignment. The layout is: Inst | Target | Decoration | Literal String, Literal String, ...
-
Chow authored
* Remove image2DShadow and other 3 tokens. Refine codes. Remove image2DShadow and other 3 tokens. Refine codes. * 110scope.vert has redefinition part of what's removed from 100scope.vert
-
johnkslang authored
-
- 13 Sep, 2020 2 commits
-
-
John Kessenich authored
Allow subpassLoad for ANGLE
-
John Kessenich authored
Find python interpreter from host when cross-compiling
-
- 12 Sep, 2020 2 commits
-
-
nihui authored
-
Shahbaz Youssefi authored
Signed-off-by:Shahbaz Youssefi <ShabbyX@gmail.com>
-
- 08 Sep, 2020 2 commits
-
-
John Kessenich authored
Error when initializing rayQuery with assignment
-
Tobias Hector authored
-
- 07 Sep, 2020 3 commits
-
-
John Kessenich authored
Parser: Fix wrong names of extension macros
-
John Kessenich authored
SPIRV: Fix some disassembly issues
-
Rex Xu authored
- OpExecutionModeId is not supported in disassembly. - Some execution modes are missing in disassembled strings.
-
- 03 Sep, 2020 1 commit
-
-
Tobias Hector authored
-
- 02 Sep, 2020 1 commit
-
-
Rex Xu authored
The names of some extension macros are wrong because of coding typos.
-
- 26 Aug, 2020 2 commits
-
-
John Kessenich authored
Suppress two override suggestion warnings.
-
Jamie Madill authored
We're turning these on in ANGLE and want to keep the build clean.
-
- 23 Aug, 2020 2 commits
-
-
johnkslang authored
This reverts commit f257e0ea, reversing changes made to 8f0c6bd7.
-
John Kessenich authored
Obey ENABLE_PCH CMake option
-
- 21 Aug, 2020 1 commit
-
-
Julius Ikkala authored
-
- 17 Aug, 2020 2 commits
-
-
John Kessenich authored
Use --test-root to pass files to Bazel tests.
-
John Kessenich authored
GLSLANG_EXPORT for C APIs.
-
- 15 Aug, 2020 1 commit
-
-
johnkslang authored
-
- 14 Aug, 2020 5 commits
-
-
Rafael Marinheiro authored
The current implementation makes tests fail when it is imported from a different Bazel workspace. We fix that by using the --test-root flag to pass the rootpath to the tests.
-
John Kessenich authored
Remove incorrect style of extension-based semantic checking.
-
johnkslang authored
We need separate concepts for - total set of extensions ever enabled, for the back end - current state of extensions, for parsing - the set of features currently enabled for building the AST
-
johnkslang authored
This detangles incorrect conflation of HLSL with GLSL extensions, defers asking expensive questions until it's time to ask, and removes some dead code.
-
johnkslang authored
The scalar type was already the basic type passed in. Also factored out of this the checking of extensions for 8/16-bit stuff. This code seems wrong in several ways, but for now just documenting it.
-
- 13 Aug, 2020 1 commit
-
-
johnkslang authored
-
- 12 Aug, 2020 3 commits
-
-
John Kessenich authored
Update tools
-
Alan Baker authored
-
Alan Baker authored
-
- 10 Aug, 2020 1 commit
-
-
Ez Diy authored
Fixes FFI breakage introduced in #2283
-
- 07 Aug, 2020 1 commit
-
-
johnkslang authored
See #2366 for detail.
-