2943 Commits

Author SHA1 Message Date
Corentin Wallez
ab5382cf79 BUILD.gn: remove reference to non-existent header 2018-10-30 16:11:46 +01:00
John Kessenich
a08f465d53
Merge pull request #1534 from Kangz/no_static_lib
BUILD.gn: remove the static_library target.
2018-10-22 08:33:55 -06:00
John Kessenich
9323fd4d58 Build: Fix #1490, unused variables. 2018-10-20 18:30:57 -06:00
John Kessenich
43bb5bd188 Fix #1536: use string instead of TString for uniform-location override. 2018-10-20 17:37:19 -06:00
Corentin Wallez
5403f380a4 BUILD.gn: remove the static_library target.
This had no sources and depended on a source_set which is an invalid use
of GN because the source_set gets propagated to dependents of the
static_library instead.
2018-10-17 12:22:28 +02:00
John Kessenich
fa61e4c061
Merge pull request #1533 from amdrexu/bugfix
Fix a parse issue of imageAtomicCompSwap()
2018-10-17 01:01:00 -06:00
Rex Xu
d698ebf5f8 Fix a parse issue of imageAtomicCompSwap()
The max count of arguments is 5 when image2DMS/image2DMSArray is
specified.
2018-10-17 13:55:11 +08:00
John Kessenich
e9405d0b44
Merge pull request #1531 from jeffbolznv/workgroup_nonprivate
Fix flags.nonprivate to be true for workgroup memory, which is implicitly workgroupcoherent/nonprivate
2018-10-16 12:37:01 -06:00
Jeff Bolz
ab3c965a46 Fix flags.nonprivate to be true for workgroup memory, which is implicitly workgroupcoherent/nonprivate 2018-10-15 22:46:48 -05:00
Khronos Group Webmaster
4685f3246e
Create CODE_OF_CONDUCT.md 2018-10-10 15:48:43 -04:00
John Kessenich
c374030e80
Merge pull request #1523 from sparmarNV/fix-SPV_NV_mesh_shader
Allow redeclaration of builtin interface blocks in mesh shader
2018-10-04 23:46:21 -06:00
John Kessenich
732623e14a
Merge pull request #1524 from chaoc/master
Fix inferred output primitive for GL_NV_geometry_shader_passthrough
2018-10-04 23:41:24 -06:00
Chao Chen
07ef0e4c84 For GL_NV_geometry_shader_passthrough extension, the Inferred output primitive for ElgTriangles should be ElgTriangleStrip.
Also removed unnecessary relax for GL_NV_geometry_shader_passthrough in link validate
2018-10-04 18:39:27 -07:00
John Kessenich
2f78b9c742
Merge pull request #1515 from Igalia/more-location-command-line-options
Enhancement: add extra command line options that modifies aml
2018-10-04 18:56:39 -06:00
Sahil Parmar
035cbbe3d0 Allow redeclaration of builtin interface blocks in mesh shader
Apart from allowing redeclaration of gl_MeshPerVertexNV and gl_MeshPerPrimitiveNV blocks, this change also -
- Resize clip/cull perview distances based on static index use
- Error out use of both single-view and per-view builtins
- Add new gtests with redeclared blocks and edit existing test output
- Fix couple of typos
2018-10-04 16:39:18 -07:00
John Kessenich
ca042a0ffb
Merge pull request #1518 from Kangz/fix_dawn
BUILD.gn: glslang_sources need the public config too
2018-10-03 12:25:12 -06:00
Corentin Wallez
6857c23825 BUILD.gn: glslang_sources need the public config too 2018-10-03 13:15:23 -04:00
John Kessenich
2e0806c7be
Merge pull request #1517 from Kangz/mac_complete_lib
BUILD.gn: only use complete_static_lib on mac
2018-10-02 08:47:33 -06:00
Corentin Wallez
a26827adc2 BUILD.gn: only use complete_static_lib on mac 2018-10-02 09:28:15 -04:00
Neil Roberts
b0f3d794c8 Add an option to set the base uniform location
This will be used to generate uniform locations with --aml
2018-10-02 12:15:22 +02:00
Neil Roberts
16f53474c8 Add a command-line option to override uniform locations 2018-10-02 12:15:22 +02:00
John Kessenich
4508a8170a
Merge pull request #1507 from sparmarNV/fix-SPV_NV_mesh_shader
Add ES 320 support and additional error checks for SPV_NV_mesh_shader
2018-09-28 06:24:02 -06:00
Sahil Parmar
80b9872cb4 Based on feedback rename checkShaderStageForNVExtensions to checkExtensionStage
Also continue error checking post requireStage() check
2018-09-27 11:08:13 -07:00
Sahil Parmar
251344f692 Call checkShaderStageForNVExtensions() from function updateExtensionBehavior() 2018-09-26 16:12:51 -07:00
John Kessenich
91ac4290bc
Merge pull request #1510 from Kangz/complete_lib
BUILD.gn: make the static_lib complete to fix the build on OSX
2018-09-26 16:24:10 -06:00
Corentin Wallez
873734dd3f BUILD.gn: make the static_lib complete to fix the build on OSX 2018-09-26 14:51:19 -07:00
Sahil Parmar
3ae0f58322 changes based on feedback 2018-09-26 13:38:25 -07:00
John Kessenich
5ff3c3da3b Interfaces: Remove NV_EXTENSIONS from two more headers.
This also fixes some cpp files that uncover issues when building
with the flags turned off.
2018-09-26 09:38:20 -06:00
John Kessenich
01c4076a16
Merge pull request #1508 from jeffbolznv/remove_ifdefs_shaderlang
Remove NV_EXTENSION ifdefs from ShaderLang.h
2018-09-26 08:55:20 -06:00
Jeff Bolz
27f5db0537 Remove NV_EXTENSION ifdefs from ShaderLang.h 2018-09-26 09:03:57 -05:00
John Kessenich
1f60c72c67 Interface: remove NV_EXTENSIONS from the resources header.
This allows library consumers to work without have to set
NV_EXTENSIONS.
2018-09-26 03:02:13 -06:00
John Kessenich
a475294590
Merge pull request #1506 from alelenv/master
Fix missing case label for miss stage.
2018-09-25 16:30:14 -06:00
John Kessenich
18268c850f
Merge pull request #1505 from dj2/gn_build
Add BUILD.gn configuration.
2018-09-25 16:29:22 -06:00
Sahil Parmar
95e2d4ec02 Add ES 320 support and additional error checks for SPV_NV_mesh_shader
- Add ES 320 support
- Error out use of perprimitiveNV for non mesh/fragment shaders
- Error out use of mesh/task shaders w/o use of NV_mesh_shader
- Error out use of NV_mesh_shader for non task/mesh shaders
- Error out use of perviewNV for non mesh shaders
- Error out use of taskNV for non mesh/task shaders
- Add test case for mesh shader with ES 320 profile
2018-09-25 13:45:32 -07:00
Dan Sinclair
aac6d63716 Use unsigned int instead of uint32_t 2018-09-25 16:32:06 -04:00
Ashwin Lele
a535bc1353 Fix missing case label for miss stage. 2018-09-25 13:19:34 -07:00
Dan Sinclair
b29c58ea45 Review feedback 2018-09-24 18:40:38 -04:00
Dan Sinclair
257b25c81f Add BUILD.gn configuration.
This CL adds the necessary configuration to build glslang inside a
Chromium checkout. Two build warnings were fixed in the process to
make things compile.
2018-09-24 16:57:55 -04:00
John Kessenich
a8453d4bc0 SPIRV-Tools: Move to more recent (higher quality) version. 2018-09-20 14:36:42 -06:00
John Kessenich
088da33263 Bump revision. 2018-09-20 02:04:42 -06:00
John Kessenich
dc591081d7
Merge pull request #1500 from KhronosGroup/turing-known-good
Update known-good to tools/headers for the Nvidia Turing extensions.
2018-09-20 01:59:52 -06:00
John Kessenich
aedccf96d2 Update known-good to tools/headers for the Nvidia Turing extensions. 2018-09-20 01:34:14 -06:00
John Kessenich
8751c13ce2 Bump minor version. 2018-09-19 16:50:05 -06:00
John Kessenich
5942c015d2
Merge pull request #1499 from chaoc/nvidia_turing
Add support for multiple Nvidia extensions
2018-09-19 16:44:26 -06:00
Chao Chen
fb13a3ab7e update glslang test results for temporary validation fail 2018-09-19 14:06:36 -07:00
Chao Chen
5b2203db04 Add-support-for-SPV_NV_shading_rate 2018-09-19 13:07:43 -07:00
Chao Chen
b50c02ef53 Add-support-for-SPV_NVX_raytracing 2018-09-19 13:07:43 -07:00
Chao Chen
3c3669904c Add-support-for-SPV_NV_mesh_shader 2018-09-19 13:07:43 -07:00
Chao Chen
3a1379667d 0003-Add-support-for-SPV_NV_shader_image_footprint 2018-09-19 13:07:42 -07:00
Chao Chen
beae2251b7 Add-support-for-SPV_NV_compute_shader_derivatives 2018-09-19 13:07:42 -07:00