Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
with:
path: ./.zigversion
- name: Install Zig
uses: mlugg/setup-zig@v1
uses: mlugg/setup-zig@v2
with:
version: ${{ steps.zigversion.outputs.content }}

Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
with:
path: ./.zigversion
- name: Install Zig
uses: mlugg/setup-zig@v1
uses: mlugg/setup-zig@v2
with:
version: ${{ steps.zigversion.outputs.content }}

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ Minimal is `0.14.0`. But you know try your version and believe.

## Bgfx version

- [BX](https://github.com/bkaradzic/bx//compare/01c99ddd0912c5ecf56d9522f287c6c67aa3ad14...master)
- [BImg](https://github.com/bkaradzic/bimg/compare/c5c7b6e1874cf60caa18b643391f5122f89a4ca8...master)
- [BGFX](https://github.com/bkaradzic/bgfx/compare/de56398919b875b27b629c0b62f119c338c081d8...master)
- [BX](https://github.com/bkaradzic/bx//compare/d858859d1724fc037129318330f9c5ee5e008a08...master)
- [BImg](https://github.com/bkaradzic/bimg/compare/446b9eb11130821fd11607c2fc94aee80976e56a...master)
- [BGFX](https://github.com/bkaradzic/bgfx/compare/14e0aa5aff65a12df621fbc9466b42d41d01f013...master)

## Getting started

Expand Down
6 changes: 5 additions & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,6 @@ const spirv_opt_files = .{
spirv_opt_path ++ "source/binary.cpp",
spirv_opt_path ++ "source/diagnostic.cpp",
spirv_opt_path ++ "source/disassemble.cpp",
spirv_opt_path ++ "source/enum_string_mapping.cpp",
spirv_opt_path ++ "source/ext_inst.cpp",
spirv_opt_path ++ "source/extensions.cpp",
spirv_opt_path ++ "source/libspirv.cpp",
Expand Down Expand Up @@ -914,6 +913,8 @@ const spirv_opt_files = .{
spirv_opt_path ++ "source/opt/wrap_opkill.cpp",
spirv_opt_path ++ "source/opt/opextinst_forward_ref_fixup_pass.cpp",
spirv_opt_path ++ "source/opt/struct_packing_pass.cpp",
spirv_opt_path ++ "source/opt/split_combined_image_sampler_pass.cpp",
spirv_opt_path ++ "source/opt/resolve_binding_conflicts_pass.cpp",
spirv_opt_path ++ "source/parsed_operand.cpp",
spirv_opt_path ++ "source/print.cpp",
spirv_opt_path ++ "source/reduce/change_operand_reduction_opportunity.cpp",
Expand Down Expand Up @@ -954,6 +955,7 @@ const spirv_opt_files = .{
spirv_opt_path ++ "source/spirv_target_env.cpp",
spirv_opt_path ++ "source/spirv_validator_options.cpp",
spirv_opt_path ++ "source/table.cpp",
spirv_opt_path ++ "source/table2.cpp",
spirv_opt_path ++ "source/text.cpp",
spirv_opt_path ++ "source/text_handler.cpp",
spirv_opt_path ++ "source/util/bit_vector.cpp",
Expand Down Expand Up @@ -1004,4 +1006,6 @@ const spirv_opt_files = .{
spirv_opt_path ++ "source/val/validate_type.cpp",
spirv_opt_path ++ "source/val/validation_state.cpp",
spirv_opt_path ++ "source/val/validate_tensor_layout.cpp",
spirv_opt_path ++ "source/val/validate_tensor.cpp",
spirv_opt_path ++ "source/val/validate_invalid_type.cpp",
};
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.{
.name = .zbgfx,
.fingerprint = 0xc48ed871c4086e4a,
.version = "0.3.0",
.version = "0.4.0",
.paths = .{
"includes",
"libs",
Expand Down
3 changes: 3 additions & 0 deletions libs/bgfx/3rdparty/glslang/SPIRV/GLSL.ext.KHR.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,8 @@ static const char* const E_SPV_KHR_subgroup_rotate = "SPV_KHR_subgr
static const char* const E_SPV_KHR_expect_assume = "SPV_KHR_expect_assume";
static const char* const E_SPV_EXT_replicated_composites = "SPV_EXT_replicated_composites";
static const char* const E_SPV_KHR_relaxed_extended_instruction = "SPV_KHR_relaxed_extended_instruction";
static const char* const E_SPV_KHR_integer_dot_product = "SPV_KHR_integer_dot_product";
static const char* const E_SPV_NV_cooperative_vector = "SPV_NV_cooperative_vector";
static const char* const E_SPV_KHR_bfloat16 = "SPV_KHR_bfloat16";

#endif // #ifndef GLSLextKHR_H
13 changes: 9 additions & 4 deletions libs/bgfx/3rdparty/glslang/SPIRV/GLSL.ext.NV.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
#ifndef GLSLextNV_H
#define GLSLextNV_H

enum BuiltIn;
enum Decoration;
enum Op;
enum Capability;
enum class BuiltIn : unsigned;
enum class Decoration : unsigned;
enum class Op : unsigned;
enum class Capability : unsigned;

static const int GLSLextNVVersion = 100;
static const int GLSLextNVRevision = 11;
Expand Down Expand Up @@ -96,4 +96,9 @@ const char* const E_SPV_NV_tensor_addressing = "SPV_NV_tensor_addressing";
//SPV_NV_cooperative_matrix2
const char* const E_SPV_NV_cooperative_matrix2 = "SPV_NV_cooperative_matrix2";

//SPV_NV_cluster_acceleration_structure
const char* const E_SPV_NV_cluster_acceleration_structure = "SPV_NV_cluster_acceleration_structure";

//SPV_NV_linear_swept_spheres
const char* const E_SPV_NV_linear_swept_spheres = "SPV_NV_linear_swept_spheres";
#endif // #ifndef GLSLextNV_H
11 changes: 7 additions & 4 deletions libs/bgfx/3rdparty/glslang/SPIRV/GLSL.ext.QCOM.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
#ifndef GLSLextQCOM_H
#define GLSLextQCOM_H

enum BuiltIn;
enum Decoration;
enum Op;
enum Capability;
enum class BuiltIn : unsigned;
enum class Decoration : unsigned;
enum class Op : unsigned;
enum class Capability : unsigned;

static const int GLSLextQCOMVersion = 100;
static const int GLSLextQCOMRevision = 1;
Expand All @@ -40,4 +40,7 @@ const char* const E_SPV_QCOM_image_processing = "SPV_QCOM_image_processing";
//SPV_QCOM_image_processing2
const char* const E_SPV_QCOM_image_processing2 = "SPV_QCOM_image_processing2";

//SPV_QCOM_tile_shading
const char* const E_SPV_QCOM_tile_shading = "SPV_QCOM_tile_shading";

#endif // #ifndef GLSLextQCOM_H
Loading
Loading