-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AmberScript: Support a buffer with values of multiple types #544
Comments
We need the following syntax:
e.g.,
|
I'd rather have a way to define structs in amberscript then to write each type each time. Something like:
And then use that data_type in the BUFFER command. But, do you have an actual test which requires structs at this point? If not, I'd prefer to hold off adding it until we know it's needed. (Like, can you just switch your example to using multiple buffers instead of a struct?) |
Thank you for your suggestion. It worries me that the layout of new structure is unclear. I think we need it now because we cannot bind multiple buffer for a single descriptor set / binding. |
Here is my suggestion:
|
Do we need the offset information? We figure it out for other buffers based on the layout used. We should be able to figure it out for data buffers. Which also means we don't need it for EXPECT as well. (We shouldn't need it for the expect if the offsets are encoded in the data type, it can just use them) |
Well .. I believe more specific rule would be more clear. If some GLSL users see a buffer definition without offset / stride information, it might be confusing. @dneto0 could you please tell your opinion? |
GLSL doesn't have the buffer definitions in it, as far as I can tell. You're going to do something like
And it's just going to magically pack the float into the float3. But if you had an int there, it would pad the float3 to a float4 automatically. We, I think, need to replicate the automatic things and figure out how the layout works and just do the right thing. |
I am still confused. Do you mean we need some rules like
and
? Why don't we just put offset / stride information we define the struct? For example,
or we can skip
Since SPIR-V has the same thing for struct based on |
Because as the person writing the script with a GLSL source, I have no idea what those numbers should be. I don't know that float3 will pad to float4 or that float3,float won't have padding on the float3. Amber should be able to figure out all of those bits as needed. |
This CL adds support for the STRUCT syntax in AmberScript. STRUCTS can be used in buffers. They can be compared as expected. If no OFFSET or STRIDE data is provided we will calculate the padding and offsets based on the current layout. Fixes #544
* Rolling 11 dependencies Roll third_party/clspv/ 0936e2904..135683873 (10 commits) google/clspv@0936e29...1356838 $ git log 0936e2904..135683873 --date=short --no-merges --format='%ad %ae %s' 2020-04-02 alanbaker Add a new pass to undo harmful instcombines (#550) 2020-04-01 alanbaker Update dependencies (#546) 2020-03-31 48454132+sjw36 Don't modify functions while iterating (#543) 2020-03-31 jrprice Disable SwiftShader PowerVR targets in Kokoro (#544) 2020-03-24 alanbaker Add attributes to functions pass (#539) 2020-03-23 alanbaker Fix VariablePointer capability generation (#535) 2020-03-23 alanbaker Use unified1 version of spirv (#534) 2020-03-23 48454132+sjw36 Builtins::Lookup interface - phase2 (#531) 2020-03-19 alanbaker Update LLVM (#533) 2020-03-16 alanbaker Fix warnings (#527) Roll third_party/clspv-llvm/ 5c261c9c4..627e01feb (1732 commits) llvm/llvm-project@5c261c9...627e01f $ git log 5c261c9c4..627e01feb --date=short --no-merges --format='%ad %ae %s' 2019-11-21 modocache [coroutines] Don't build promise init with no args 2020-04-02 grosul [mlir][VectorOps] Implement canonicalization for TransposeOp. 2020-04-02 gclayton Have lldb-vscode update the currently selecte thread and frame when it receives a "scopes" request. 2020-04-02 thakis another wild guess at the win bot-only failures 2020-04-03 JunMa [Coroutines] Simplify implementation using removePredecessor 2020-04-02 ntv [mlir][Linalg] NFC - Rename Linalg and Vector EDSCs to avoid collisions 2020-03-29 Austin.Kerbow [AMDGPU] Handle SMRD signed offset immediate 2020-04-02 aprantl Teach the stripNonLineTableDebugInfo pass about the llvm.dbg.label intrinsic. 2020-04-02 aprantl Teach the stripNonLineTableDebugInfo pass about the llvm.dbg.addr intrinsic. 2020-04-02 thakis try more to appease win bots 2020-04-02 thakis Try again to get tests passing again on Windows. 2020-04-02 lhames Re-apply 0071eaaf089, "[ORC] Export __cxa_atexit ...", with fixes. 2020-04-02 Matthew.Arsenault AMDGPU: Fix broken check lines 2020-04-02 hubert.reinterpretcast [llvm-objdump][COFF][NFC] Split format-specific interfaces; add namespace 2020-04-02 julian.lettner iOS simulator testing: replace `simctl bootstatus` with boot+shutdown 2020-04-02 julian.lettner [lit] Refine filter error handling 2020-04-02 julian.lettner [lit] Remove unnecessary indirection in progress_callback 2020-04-01 Matthew.Arsenault AMDGPU: Use 128-bit DS operations by default 2019-12-11 Matthew.Arsenault AMDGPU: Add some tests for exotic denormal mode combinations 2019-11-18 Matthew.Arsenault AMDGPU: Remove denormal subtarget features 2020-04-01 Matthew.Arsenault clang/AMDGPU: Stop setting old denormal subtarget features 2019-10-31 Matthew.Arsenault AMDGPU: Assume f32 denormals are enabled by default 2020-04-02 dexonsmith utils: Tweak clang-parse-diagnostics-file for modules includes 2020-04-02 ldionne [libc++] NFC: Add documentation for writing tests 2020-04-01 ldionne [libc++] Refer to the Filesystem static test env as relative paths 2020-04-02 thakis Reland "Make it possible for lit.site.cfg to contain relative paths, and use it for llvm and clang" 2020-04-01 cyndy_ishida [llvm][TextAPI] adding inlining reexported libraries support 2020-04-02 cacarter [libc++][test] Partially revert msvc_stdlib_force_include.h _Pragma change 2020-04-02 craig.topper [X86] Enable combineExtSetcc for vectors larger than 256 bits when we've disabled 512 bit vectors. 2020-04-02 maskray Reland D75382 "[lld] Initial commit for new Mach-O backend" 2020-04-02 thakis Revert "Make it possible for lit.site.cfg to contain relative paths, and use it for llvm and clang" 2020-04-02 joker.eph Change pass registration generated code to allow users to selectively register passes 2020-03-30 wallace [intel-pt] Implement a basic test case 2020-04-02 thakis Make fb80b6b2d58c4 actually work. 2020-04-01 anna [InlineFunction] Update valid return attributes at callsite within callee body 2020-04-02 Matthew.Arsenault AMDGPU: Hack out noinline on functions using LDS globals 2020-03-31 thakis Make it possible for lit.site.cfg to contain relative paths, and use it for llvm and clang 2020-03-30 saugustine Exit unwinding early when at the top of the stack and additional info won't be found. 2020-04-02 spatel [InstCombine] try to reduce shuffle with bitcasted operand 2020-04-02 spatel [VectorCombine] transform bitcasted shuffle to narrower elements 2020-04-01 Stanislav.Mekhanoshin [AMDGPU] Fix crash in SILoadStoreOptimizer 2020-04-02 ldionne [libc++abi] NFC: Add link to review in workaround comment 2020-04-02 ldionne [libc++] Try to fix Chromium's build 2020-04-02 ntv [mlir][LLVM] Finer-grained control for C interface emission 2020-04-02 spatel [InstCombine] add tests for cmyk benchmark; NFC 2020-04-02 shivammittal99 Convert for loops to entry-based iteration 2020-04-02 zinenko [mlir] StandardToLLVM conversion: remove dead code 2020-04-02 llvmgnsyncbot [gn build] Port c00cb76274f 2020-04-02 llvmgnsyncbot [gn build] Port 24bb2d1e776 2020-04-02 thakis Revert "[gn build] Port 03f43b3aca36" (...) 2020-03-13 shengchen.kan [X86] Disable nop padding before instruction following hardcode 2020-03-16 riddleriver [mlir] Add support for the attribute verifiers in the dialect declaration generator. 2020-03-16 dgg5503 [Support] Change isatty to is_displayed 2020-03-16 craig.topper [X86] Disable fast-isel call lowering for functions with vXi1 arguments on avx512. 2020-03-05 aprantl Switch to TypeSystemClang over to CreateDeserialized() (NFC) 2020-03-16 tmsriram Add target to test basicblock-sections-mir-parse.mir 2020-03-16 riddleriver [mlir] Remove the PatternState class and simplify PatternMatchResult. 2020-03-16 uday [MLIR][NFC] update/clean up affine PDT, related utils, its test case 2020-03-16 echristo Make isValidImmForSVEVecImmAddrMode inline static rather than just static. 2020-03-16 listmail [Tests] Add test coverage for prefix selection logic 2020-03-10 dmitry.mikulin Fix profiling options on PS4 target: - libclang_rt.profile should be added when -fcs-profile-generate is on thecommand line. - OPT_fno_profile_instr_generate was used as a negative for OPT_fprofile_generate. Fix it to use OPT_fno_profile_generate. 2020-03-17 saar [Concepts] Fix incorrect control flow when TryAnnotateTypeConstraint annotates an invalid template-id 2020-02-27 eugenis [memtag] Plug in stack safety analysis. 2020-03-16 llvmgnsyncbot [gn build] Port df082ac45aa 2020-03-16 tmsriram Basic Block Sections support in LLVM. 2020-03-17 sdi1600105 [LoopTerminology] Rotated Loops images 2020-03-17 sdi1600105 [LoopTerminology] Rotated Loops 2020-03-16 tra [CUDA] Updated CompileCudaWithLLVM doc. 2020-03-10 liufeng.ee [QuantOps] Add the quant region definition 2020-03-16 craig.topper [X86] Assign avx512bf16 instructions to the SSEPackedSingle ExeDomain. 2020-03-16 benny.kra [AArch64] Remove unused variable 2020-03-16 riddleriver [mlir] Avoid the use of auto in templates to fix MSVC build 2020-03-16 sivachandra [libc] Add a README.md file to the AOR directory. 2020-03-16 thakis Revert "[InstSimplify] Simplify calls with "returned" attribute" 2020-03-16 kristof.beyls [libc] Provide Arm Optimized Routines for the LLVM libc project. 2020-03-16 riddleriver [mlir][NFC] Add missing include for std::string. 2020-02-26 francesco.petrogalli Implement IR intrinsics for gather prefetch. 2020-03-16 huihuiz [InstSimplify][SVE] Fix SimplifyGEPInst for scalable vector. 2020-02-14 Matthew.Arsenault Utils: Always set alignment when expanding mem intrinsics 2020-02-14 Matthew.Arsenault TTI: Add addrspace parameters to memcpy lowering functions 2020-03-16 hlopko [Syntax] Build declarator nodes 2020-03-16 thakis Revert "[llvm-objdump] Display locations of variables alongside disassembly" 2020-03-16 llvm-dev [X86] matchScalarReduction - add support for partial reductions 2020-02-14 Matthew.Arsenault GlobalISel: Fix lower bswap for vectors 2020-03-16 nemanja.i.ibm [PowerPC] Disable sanitizer test due to failures when using LLD 2020-02-20 Matthew.Arsenault AMDGPU/GlobalISel: Fix handling of G_ANYEXT with s1 source 2020-02-24 Matthew.Arsenault AMDGPU/GlobalISel: Fix some illegal scalar argument types 2020-03-16 cacarter Implement _LIBCPP_SUPPRESS_DEPRECATED_XXX when testing MSVC's STL 2020-03-16 Tom.Weaver [DexTer] Add step.UNKNOWN check for NoneType line numbers. 2020-03-17 aqjune Minor fix to a comment in CodeGenPrepare.cpp 2019-12-24 Matthew.Arsenault AMDGPU: Drop special case f64 fround lowering 2020-03-16 hokein.wu [AST] Correct the CXXOperatorCallExpr source range. 2020-03-16 hokein.wu Revert "[AST] Move dependence computations into a separate file" 2020-01-27 ibiryukov [AST] Move dependence computations into a separate file 2020-03-16 jonas [lldb/Reproducers] Decode run-length encoding in GDB replay server. 2020-03-14 Matthew.Arsenault GlobalISel: Fix round lowering 2020-03-16 thakis Revert "[gn build] (manually) port 8b409eaba" 2020-03-16 teemperor [lldb] Re-add nullptr check to IRForTarget::RewriteObjCConstString log statement 2020-03-11 dominik.montada [GlobalISel] add additional lowering support for G_INSERT 2020-03-16 sander.desmalen Revert "[SVE] Auto-generate builtins and header for svld1." Roll third_party/dxc/ a3ebb138a..ef73f1da8 (10 commits) microsoft/DirectXShaderCompiler@a3ebb13...ef73f1d $ git log a3ebb138a..ef73f1da8 --date=short --no-merges --format='%ad %ae %s' 2020-04-02 texr Disable optimization in instcombine that produces trunc to odd bit size (#2805) 2020-04-02 grroth Don't assume branch user of dx.break (#2806) 2020-04-02 kusmabite Correct function name for RawBufferLoad (#2804) 2020-03-31 grroth Account for non-one user of dx.break call (#2802) 2020-03-30 grroth Conditionalize breaks to keep them in loops (#2795) 2020-03-30 12521759+nicebyte Fix incorrect UUIDs on Linux (#2796) 2020-03-30 grroth Correct capitalization of microsoft in Readme (#2799) 2020-03-27 ehsannas [spirv] Support SPV_EXT_demote_to_helper_invocation (#2773) 2020-03-26 jaebaek [spirv] Update SPIRV-Tools submodule (#2794) 2020-03-26 ehsannas [spirv] Remove BufferBlock decoration (deprecated after SPIRV 1.3). (#2790) Roll third_party/glslang/ 4b2483ee8..0b66fa3b6 (51 commits) KhronosGroup/glslang@4b2483e...0b66fa3 $ git log 4b2483ee8..0b66fa3b6 --date=short --no-merges --format='%ad %ae %s' 2020-04-02 mbechard Shader interface matching rework to fix #2136 (#2156) 2020-04-01 cepheus Build warning: Fix #2167: Remove nested reuse of 'unreachable'. 2020-03-31 cepheus Bump revision. 2020-03-30 alele Error assigns to objects of rayQueryEXT type. 2020-03-30 dsinclair Remove unused variables. 2020-03-30 cepheus Fix #2163: improve comments for addProcess() and the preamble. 2020-03-30 ntfs.hard printf format 2020-03-30 ntfs.hard unused var 2020-03-30 ntfs.hard bitwise on boolean 2020-03-30 ntfs.hard opposite inner condition 2020-03-27 greg Update spirv-tools known_good to latest stable 2020-03-26 neslisah.torosdagli accelerationStructureEXT - issue #2152 2020-03-26 neslisah.torosdagli accelerationStructureEXT - issue #2152 2020-03-26 neslisah.torosdagli pass by reference updates 2020-03-26 neslisah.torosdagli pass-by-reference updates 2020-03-25 gcmn Add missing braces to if condition 2020-03-25 neslisah.torosdagli switch format update 2020-03-24 neslisah.torosdagli copyright notice changes removed from unchanged files 2020-03-24 neslisah.torosdagli copyright notice changes removed from unchanged files 2020-03-24 neslisah.torosdagli copyright notice changes removed from unchanged files 2020-03-24 neslisah.torosdagli spirv.hpp reverted to commit f368dcbb7d8af23f0cba3015d0f4dda9dc3aa66d 2020-03-24 neslisah.torosdagli .travis updated to origin, rayQueryCheck removed 2020-03-23 neslisah.torosdagli const rayFlag defs used in the test cases in stead of numerical values 2020-03-23 neslisah.torosdagli compute and fragment shader test_cases added for rayQuery 2020-03-23 neslisah.torosdagli rayQuery test cases added 2020-03-23 neslisah.torosdagli rayQueryEXT function parameter 2020-03-23 neslisah.torosdagli rayQueryEXT assignment is allowed. 2020-03-23 neslisah.torosdagli test names updated 2020-03-23 kainino update README 2020-03-23 kainino Fix build on CMake 2.8, and fix Web build 2020-03-23 neslisah.torosdagli wait time increased for the install 2020-03-23 neslisah.torosdagli rayQuery test cases disabled 2020-03-21 arnfranke Make file formatting comply with POSIX and Unix standards 2020-03-20 neslisah.torosdagli GL_EXT_ray_query glslang updates, and test cases added. 2020-03-19 courtneygo Fix MSVC build issue - remove invalid character 2020-03-19 neslisah.torosdagli comment update, rayQueryEXT is writable, readonly check removed. 2020-03-19 ntorosda GL_EXT_ray_query updates 2020-03-18 cepheus Fix #2132: constant matrix constructor from single non-scalar argument 2020-03-19 neslisah.torosdagli comment update, rayQueryEXT is writable, readonly check removed. 2020-03-19 ntorosda GL_EXT_ray_query updates 2020-03-18 cepheus Fix #2132: constant matrix constructor from single non-scalar argument 2020-03-19 neslisah.torosdagli comment update, rayQueryEXT is writable, readonly check removed. 2020-03-19 neslisah.torosdagli GL_EXT_ray_query updates 2020-03-19 ntorosda GL_EXT_ray_query updates 2020-03-18 alele Re-add NV enums for raytracing to prevent build breaks. 2020-03-18 cepheus Fix #2132: constant matrix constructor from single non-scalar argument 2020-03-18 cepheus Bump version (also fix line endings the grammar). 2020-03-17 dkoch update known_good 2020-03-17 dkoch Add support for GLSL_EXT_ray_tracing 2020-03-17 cepheus SPV headers: Bump up to the latest header. 2020-03-16 jbolz Forbid memoryBarrierAtomicCounter for Vulkan compiles Roll third_party/googletest/ e588eb1ff..61f010d70 (16 commits) google/googletest@e588eb1...61f010d $ git log e588eb1ff..61f010d70 --date=short --no-merges --format='%ad %ae %s' 2020-03-30 absl-team Googletest export 2020-03-23 absl-team Googletest export 2020-03-24 krystian.kuzniarek remove chapters on Autotools, Meson and plain Makefiles 2020-03-24 krystian.kuzniarek remove dead code in googletest-output-test 2020-03-20 absl-team Googletest export 2019-07-11 adam.f.badura Add support for std::function in MockFunction (#2277) 2019-12-26 adam.f.badura Add tests for MockFunction deduction (#2277) 2020-03-17 absl-team Googletest export 2020-03-16 dmauro Googletest export 2020-03-13 absl-team Googletest export 2020-03-06 absl-team Googletest export 2020-03-03 absl-team Googletest export 2020-03-03 absl-team Googletest export 2020-03-11 romain.geissler Make sure IsATTY does not clobber errno. 2020-02-21 johan.mabille Fixed warnings 2020-01-29 krystian.kuzniarek remove a dead reference to the Autotools script Roll third_party/shaderc/ a7657e4fa..f175adffa (16 commits) google/shaderc@a7657e4...f175adf $ git log a7657e4fa..f175adffa --date=short --no-merges --format='%ad %ae %s' 2020-04-02 rharrison Add flag to control if we build with -Werror (#1032) 2020-03-31 rharrison Add knob to control force_zero_initialized_variables (#1028) 2020-03-31 dgkoch update glslang to SDK-Candidate-2 tag (#1027) 2020-03-30 rharrison Rolling 5 dependencies and updated exceptions (#1026) 2020-03-30 dgkoch Roll glslang dependency to SDK-candidate tag (#1024) 2020-03-30 rharrison Add support for WebGPU to shaderc (#1021) 2020-03-26 rharrison Convert compile options to require explicit environments (#1019) 2020-03-26 dgkoch Roll glslang dependency (#1018) 2020-03-24 jiawei.shao SPVC: Record if a storage texture is declared as multisampled texture (#1011) 2020-03-24 rharrison Add message about status of artifacts to downloads.md (#1012) 2020-03-24 rharrison Rolling 5 dependencies (#1014) 2020-03-20 jiawei.shao Extract texture dimension for storage textures (#1008) 2020-03-18 rharrison Add support for storage texture format reflection (#1005) 2020-03-18 dgkoch Remove NV_EXTENSIONS conditionals (#1003) 2020-03-17 rharrison Rolling 4 dependencies (#1002) 2020-03-16 rharrison Add reflection support for storage textures (#1001) Roll third_party/spirv-tools/ 1346dd5de..e95fbfb1f (13 commits) KhronosGroup/SPIRV-Tools@1346dd5...e95fbfb $ git log 1346dd5de..e95fbfb1f --date=short --no-merges --format='%ad %ae %s' 2020-04-02 afdx spirv-fuzz: Transformation to add OpConstantNull (#3273) 2020-04-02 afdx spirv-fuzz: Handle isomorphic types property in composite construction (#3262) 2020-04-02 afdx spirv-fuzz: Limit adding of new variables to 'basic' types (#3257) 2020-04-02 afdx spirv-fuzz: Only replace regular ids with synonyms (#3255) 2020-04-02 afdx spirv-fuzz: Introduce TransformationContext (#3272) 2020-04-02 afdx spirv-fuzz: Add validator options (#3254) 2020-04-02 alanbaker Update dominates to check for null nodes (#3271) 2020-04-01 alanbaker Set wrapped kill basic block's parent (#3269) 2020-03-31 caio.oliveira Validate Buffer and BufferBlock apply only to struct types (#3259) 2020-03-26 stevenperron Start SPIRV-Tools v2020.3 2020-03-26 stevenperron Finalize SPIRV-Tools v2020.2 2020-03-26 stevenperron Update CHANGES 2020-03-25 alanbaker Fix identification of Vulkan images and buffers (#3253) Roll third_party/swiftshader/ 440fc9959..f99302c4e (70 commits) https://swiftshader.googlesource.com/SwiftShader.git/+log/440fc9959f06..f99302c4efe6 $ git log 440fc9959..f99302c4e --date=short --no-merges --format='%ad %ae %s' 2020-03-30 capn Remove the D3D9 and D3D8 source code 2020-03-30 capn Remove the custom Visual Studio solution and projects 2020-04-02 capn Fix GN build 2020-04-01 bclayton Reactor: Fix remove_if brokenness 2020-04-02 capn Remove the sw::Color<> class 2020-04-02 bclayton Change for loops to use const refs, per performance-for-range-copy clang-tidy. 2020-04-01 sugoi Fix ImageView size computation 2020-03-27 cwallez MetalSurface: set layer.device to a ref of the system default device. 2020-03-31 bclayton Regres: Add invertCommon optimization. 2020-03-31 bclayton Regres: Move optimization logic to separate file 2020-03-31 bclayton Regres: Keep coverage span groups stable. 2020-03-31 bclayton Regres: Split coverage.go into multiple files 2020-03-30 bclayton Regres: Further optimizations for coverage 2020-03-30 bclayton Regres: Add cov.ReadJSON() 2020-03-30 capn Fix implicit narrowing cast 2020-03-30 capn Eliminate the legacy PowerVR SDK 2020-03-30 capn Integrate PowerVR OpenGL ES samples 2020-03-30 capn Fix completeness test of OpenGL ES immutable textures 2020-03-30 cwallez Revert "MetalSurface: set layer.device to a ref of the system default device." 2020-03-27 cwallez MetalSurface: set layer.device to a ref of the system default device. 2020-03-28 capn Don't expose the sampling routine cache's mutex 2020-03-17 capn Create PowerVR targets if submodule already exists 2020-03-28 bclayton Regres: Generate coverage data on nightly runs 2020-03-24 bclayton Subzero Coroutines: Use ultra-low-level marl APIs 2020-03-16 bclayton Subzero: Ensure coroutines are same-thread. 2020-03-19 capn Rename constant cache to snapshot cache 2020-03-25 capn Add sampling routine documentation 2020-03-27 sugoi Fix Android.bp following the SPIRV-Tools update 2020-03-27 bclayton Regres: Switch to building with LLVM 10 2020-03-27 bclayton Regres: Add llvm.Version.Download() to download and verify a LLVM toolchain 2020-03-27 bclayton Kokoro: Test LLVM 10 backend for ubuntu 2020-03-24 bclayton Coverage: Add 'turbo-cov': a faster reimplementation of llvm-cov 2020-03-26 capn Don't download all submodules for Kokoro tests 2020-03-26 bclayton Reactor: Disable more warnings to get LLVM 10 building 2020-03-26 bclayton LLVM 10: Add configs/common and configs/darwin. 2020-03-26 bclayton LLVM 10: Add configs/common and configs/linux. 2020-03-27 sugoi Squashed 'third_party/SPIRV-Tools/' changes from 8910ea5f1..fd773eb50 2020-03-27 sugoi Squashed 'third_party/SPIRV-Headers/' changes from 204cd131c..f8bf11a02 2020-03-23 digit Remove two minor compiler warnings/errors: 2020-03-26 bclayton third_party: Create scripts for updating spirv-[tools|headers] 2020-03-26 capn Fix taking aspect into account for image view identifiers 2020-03-26 bclayton Kokoro: Move llvm configs into 7.0 subdirectory, create 10.0 copies. 2020-03-24 bclayton Regres: Add support for generating collated coverage info 2020-03-24 bclayton CMake: Emit coverage-toolchain.txt file next to ICD json 2020-03-23 bclayton CMake: Add SWIFTSHADER_EMIT_COVERAGE option 2020-03-26 bclayton CMake: Add option for selecting LLVM version. 2020-03-19 capn Identify image views based on their state 2020-03-18 capn Provide packed VkFormat to uint8_t mapping 2020-03-17 capn Uniquely identify sampler state 2020-03-23 capn Split vk::Sampler state off into a structure 2020-03-23 capn Fix handling Memset<> assignment and comparison 2020-03-25 bclayton Add script for updating llvm 10 2020-03-23 amaiorano regres: add daily run against SwiftShader/Subzero 2020-03-25 bclayton CMake: Don't export LLVM_INCLUDE_DIR to PARENT_SCOPE 2020-03-24 bclayton CMake: Move LLVM rules out to third_party/llvm-7.0 2020-03-24 bclayton Add missing copyright header to CMakeLists.txt 2020-03-25 bclayton Initial drop of LLVM 10 to third_party/llvm-10.0 2020-03-23 bclayton Regres: Add new run_testlist flags 2020-03-19 capn Remove unused sampler parameter 2020-03-17 capn Specialize sampling routine for immutable sampler data 2020-03-24 bclayton Squashed 'third_party/marl/' changes from ca8408f68..16e1dc37c 2020-03-23 amaiorano CMake: make SWIFTSHADER_DCHECK_ALWAYS_ON work on Windows 2020-03-23 chrisforbes Refactor vertex fetch to use VkFormat more aggressively 2020-03-20 amaiorano Subzero: fix CoroutineBegin generation 2020-03-19 sugoi Fix float to r11g11b10 conversion 2020-03-19 amaiorano marl: manually apply partial patch to fix x86 crashes 2020-03-17 amaiorano Subzero: fix external function calls on x86-32 2020-03-17 amaiorano Subzero: fix partially initialized ManagedStatic assert 2019-12-04 digit [vulkan]: Support multiple external semaphore implementations. 2020-03-16 bclayton Squashed 'third_party/marl/' changes from 64d123947..ca8408f68 Roll third_party/vulkan-headers/ 74556a131..0e78ffd1d (3 commits) KhronosGroup/Vulkan-Headers@74556a1...0e78ffd $ git log 74556a131..0e78ffd1d --date=short --no-merges --format='%ad %ae %s' 2020-03-24 oddhack Update for Vulkan-Docs 1.2.136 2020-03-17 oddhack New include file with provisional extension interfaces (those interfaces not aliased by promoted-from APIs, at least). 2020-03-17 oddhack Update for Vulkan-Docs 1.2.135 Roll third_party/vulkan-loader/ f1d9f12a1..bb74deab0 (12 commits) KhronosGroup/Vulkan-Loader@f1d9f12...bb74dea $ git log f1d9f12a1..bb74deab0 --date=short --no-merges --format='%ad %ae %s' 2020-04-02 rgarcia Allow vkGetInstanceProcAddr to resolve itself with no instance 2020-03-30 charles loader: fix mispelling of implement 2020-02-27 mikew tests: Use complete version from header 2020-02-27 mikew loader: Use complete version from header 2020-03-26 udknight docs: Fix wrong type name in InterceptFunctionName prototype 2020-03-10 charles scripts: stubs in dispatch table lacked matching return types 2020-03-18 charles loader: check for duplicates in device extension count 2020-03-18 mark travis: Remove GN build failures from 'allowed' list 2020-03-17 shannon build: Update known-good for 1.2.135 header 2020-03-17 smcv FindVulkanHeaders: Match header lines more precisely 2020-03-12 joshua loader: Handle no surface for surface caps 2 funcs 2020-03-12 joshua loader: Migrate get surface caps 2 funcs to wsi Roll third_party/vulkan-validationlayers/ be663d752..9a283ae34 (117 commits) KhronosGroup/Vulkan-ValidationLayers@be663d7...9a283ae $ git log be663d752..9a283ae34 --date=short --no-merges --format='%ad %ae %s' 2020-04-01 mikes scripts: Make VU text sanitizing more robust 2020-03-31 jungwan82 codegen: Fixed encoding errors 2020-04-02 petr_kraus layers: Make code Cpp20 compatible 2020-04-02 mark cmake: Disable WarningsAsErrors on obsolete CLANG versions 2020-04-01 tony tests: Misc cleanup 2020-04-01 s.fricke tests: Add Disjoint Image Barrier VUID 2020-04-01 s.fricke layers: Add Disjoint Image Barrier VUID 2020-04-01 rverschelde build: Don't set MSVC pragma for Win32 GCC/Clang 2020-03-31 dsinclair layers: Add braces around std::array initializers 2020-04-01 jbolz layers: Add missing AccelerationStructure logic 2020-04-01 tony docs: CLarify location of debug printf test 2020-03-31 jbolz tests: Test that VUID 03339 doesn't fire for EXT BDA 2020-03-31 jbolz layers: Split EXT buffer_device_address features from KHR 2020-04-01 mark cmake: Add xxhash.c to layer_support_files 2020-03-30 shannon build: Update glslang known-good for SDK 1.2.135 2020-03-31 cwallez debug_printf: also suppress -Wformat-security on clang 2020-03-30 dsinclair layers: Add braces around array initializer 2020-03-30 tony gpu: Add null terminator to types array 2020-03-24 mark travis: Remove Vulkan-Tools from known good 2020-03-24 mark build: Remove VulkanTools from known good 2020-03-17 mark tests: Add multi-object message output test 2020-03-16 mark lifetimes: Pass pertinent objects to utils callback 2020-03-16 mark corechecks: Pass shaderval multiobjs to debug callback 2020-03-16 mark practices: Enable mutli-object output for utils callback 2020-03-16 mark corechecks: Expose multiple buffer val objects to dbg callback 2020-03-16 mark corechecks: Include multiple objects in debug callbacks 2020-03-16 mark chassis: Add multiobject error message support 2020-03-16 mark chassis: Fix internal-to-core object conversion function 2020-03-27 tony gpu: Fix debug printf to use new logging mechanism 2020-03-26 tony docs: Add doc for debug printf 2020-03-24 tony gpu: Use enum from headers to enable debug printf 2020-03-05 tony gpu: Rename shader printf to debug printf 2020-03-04 tony gpu: Clean up error messages 2020-03-04 tony gpu: Disable printf if gpu-av is enabled 2019-11-01 tony gpu: Add printf truncation warning 2019-10-31 tony gpu: Add buffer size, verbosity and stdout options 2019-10-23 tony gpu: Share code between gpu-av and shader printf 2019-10-11 tony tests: Add test for shader printf 2020-03-27 tony tests: Allow tests to look for Info severity 2019-10-31 tony gpu: Add settings for shader printf 2019-10-17 tony gpu: Add shader debug printf object 2020-03-29 jbolz tests: Test using a sparse image after freeing memory 2020-03-29 jbolz layers: Make FreeMemory remove memory from sparse_bindings 2020-03-29 joshua logging: Fix building on VS2019 2020-03-25 jbolz tests: Test VUID-VkSparseImageMemoryBindInfo-image-02901 2020-03-25 jbolz layers: Implement VUID-VkSparseImageMemoryBindInfo-image-02901 2020-03-26 jbolz scripts: Make safe structs 'union' or 'struct' to match the Vulkan headers 2020-03-27 mark docs: Update clang-format required version 2020-03-24 s.fricke layers: Fix renderpass2 VUID 2020-03-19 jbolz Implement VK_KHR_ray_tracing validation (...) 2020-02-21 mikes scripts: Fix quoting workaround for error header 2020-03-23 s.fricke layers: Add label for 01931 2020-03-23 s.fricke layers: Add label for 00282 2020-03-23 mark tests: Remove unused refs to Vulkan-Tools vulkan_wrapper.* 2020-03-04 tony tests: Add test to track layouts in imageless framebuffer 2020-03-04 tony layers: Move aliasing layout transitions lower in validation 2020-03-03 tony layers: Find attachments in pNext when imageless FB 2020-03-18 mark build: Update clang version to get warnings-as-errors 2020-03-18 s.fricke tests: Add support for maxPerStageResources 2020-03-18 s.fricke layers: Add support for maxPerStageResources 2020-03-18 mark tests: Fix clang NOEXCEPT warnings in vktestbinding 2020-03-18 mark tests: Remove redundant forward decl 2020-03-18 mark tests: Fix clang NOEXCEPT warnings in vkrenderframework 2020-03-18 mark stateless: Decorate predefined constants as UNUSED 2020-03-18 mark corechecks: Remove unused shader validation function 2020-03-18 mark bufferval: Fix signed/unsigned warnings in clang 2020-03-18 mark buff_val: Fix misspellings in copydata source 2020-03-18 mark statetracker: Fix GetDslFromPipelineLayout clang warnings 2020-03-18 mark corechecks: Fix ImageLayoutMatches unused func warnings 2020-03-18 mark layers: Fix 'IsExtEnabled' unused func clang warnings 2020-03-18 jbolz tests: Improve tests for consecutive binding validation 2020-03-18 jbolz layers: Fix consecutive binding validation 2020-03-16 s.fricke tests: Add support for Descriptor Indexing VUID 2020-03-16 s.fricke layers: Add support for Descriptor Indexing VUID 2020-03-18 hedmoo layers: Update range_vector.h 2020-03-18 mark travis: Make GN build problems hard failures 2020-03-18 jasuarez tests: More tests for VK_KHR_timeline_semaphore 2020-03-10 jasuarez layers: More VK_KHR_timeline_semaphore validations 2020-03-16 s.fricke tests: Add support for VUID 01762 2020-03-16 s.fricke layers: Add support for VUID 01762 2020-03-16 s.fricke layers: Add support for Map Memory VUIDs 2020-03-16 s.fricke layers: Removed redundant looping in graphics pipeline 2020-03-16 s.fricke tests: Add support for VUID 02801 2020-03-16 s.fricke layers: Add support for VUID 02801 2020-03-16 s.fricke tests: Add support for VUID 01510 2020-03-16 s.fricke layers: Add support for VUID 01510 2020-03-16 s.fricke tests: Add support for VUID 01442 2020-03-16 s.fricke layers: Add support for VUID 01442 2020-03-16 s.fricke tests: Add support for VUID 01188 2020-03-16 s.fricke layers: Add support for VUID 01188 2020-03-16 s.fricke tests: Add support for VUID 00968 2020-03-16 s.fricke layers: Add support for VUID 00968 2020-03-16 jmadill Fix Chromium warning about copying iterators. 2020-03-13 jbolz scripts: Add aliased types to handle_types 2020-03-13 jbolz layers: Fix RayTracing VUIDs to use buffer->createInfo.size 2020-03-13 jbolz tests: Disable a test case in VkLayerTest.ValidateGeometryNV 2020-03-07 s.fricke tests: Extra test to check multi-planar copies 2020-03-07 s.fricke layers: Add support for 01548 2020-03-11 mark docs: Update layer config and overview doc 2020-02-01 jakub tracker: Fix work retiring for queue submissions Created with: roll-dep third_party/clspv third_party/clspv-llvm third_party/cppdap third_party/dxc third_party/glslang third_party/googletest third_party/json third_party/lodepng third_party/shaderc third_party/spirv-headers third_party/spirv-tools third_party/swiftshader third_party/vulkan-headers third_party/vulkan-loader third_party/vulkan-validationlayers * Update CMakeLists.txt * Update dxc_helper.cc
Since the current AmberScript has only the following way to initialize a buffer with specific data:
it is impossible test the following case:
The text was updated successfully, but these errors were encountered: