Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
5476 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/shaderc/shaderc_hlsl.cpp | 1 | /* |
| LOW | tools/shaderc/shaderc.cpp | 61 | { |
| LOW | tools/shaderc/shaderc.cpp | 81 | // 4.3 430 vhdgf+c |
| LOW | tools/shaderc/shaderc.cpp | 101 | // 3.1 | 1.4 | 3114 |
| LOW | tools/shaderc/shaderc_wgsl.cpp | 21 | #include <spirv_msl.hpp> |
| LOW | tools/shaderc/shaderc_dxil.cpp | 1 | /* |
| LOW | tools/shaderc/shaderc.h | 21 | # if __has_include(<d3dcompiler.h>) |
| LOW | tools/shaderc/shaderc.h | 41 | || BX_PLATFORM_WINDOWS \ |
| LOW | tools/shaderc/shaderc.h | 61 | #endif |
| LOW | tools/texturev/texturev.cpp | 1 | /* |
| LOW | tools/texturev/texturev.cpp | 21 | #include <entry/cmd.h> |
| LOW | tools/geometryv/geometryv.cpp | 1 | /* |
| LOW | tools/geometryv/geometryv.cpp | 21 | #include <imgui/imgui.h> |
| LOW | include/bgfx/defines.h | 61 | * helper macros. |
| LOW | include/bgfx/defines.h | 81 | * Use BGFX_STATE_BLEND_EQUATION(_equation) or BGFX_STATE_BLEND_EQUATION_SEPARATE(_equationRGB, _equationA) |
| LOW | include/bgfx/defines.h | 121 | #define BGFX_STATE_POINT_SIZE_SHIFT 52 //!< Point size bit shift |
| LOW | include/bgfx/defines.h | 161 | #define BGFX_STENCIL_FUNC_REF_SHIFT 0 |
| LOW | include/bgfx/defines.h | 181 | #define BGFX_STENCIL_TEST_GREATER UINT32_C(0x00050000) //!< Enable stencil test, greater. |
| LOW | include/bgfx/defines.h | 201 | #define BGFX_STENCIL_OP_FAIL_Z_REPLACE UINT32_C(0x02000000) //!< Replace. |
| LOW | include/bgfx/defines.h | 221 | #define BGFX_CLEAR_NONE UINT16_C(0x0000) //!< No clear flags. |
| LOW | include/bgfx/defines.h | 261 | #define BGFX_DISCARD_INSTANCE_DATA UINT8_C(0x04) //!< Discard instance data. |
| LOW | include/bgfx/defines.h | 281 | #define BGFX_BUFFER_COMPUTE_FORMAT_16X2 UINT16_C(0x0005) //!< 2 x 16-bit values |
| LOW | include/bgfx/defines.h | 301 | #define BGFX_BUFFER_COMPUTE_READ_WRITE (0 \ |
| LOW | include/bgfx/defines.h | 321 | #define BGFX_TEXTURE_RT_MSAA_MASK UINT64_C(0x0000007000000000) |
| LOW | include/bgfx/defines.h | 341 | #define BGFX_SAMPLER_V_MASK UINT32_C(0x0000000c) |
| LOW | include/bgfx/defines.h | 361 | #define BGFX_SAMPLER_MIP_MASK UINT32_C(0x00000400) |
| LOW | include/bgfx/defines.h | 421 | #define BGFX_RESET_MSAA_X16 UINT32_C(0x00000040) //!< Enable 16x MSAA. |
| LOW | include/bgfx/defines.h | 441 | |
| LOW | include/bgfx/defines.h | 461 | #define BGFX_CAPS_INSTANCING UINT64_C(0x0000000000002000) //!< Instancing is supported. |
| LOW | include/bgfx/defines.h | 481 | #define BGFX_CAPS_VIEWPORT_LAYER_ARRAY UINT64_C(0x0000000200000000) //!< Viewport layer is available in verte |
| LOW | include/bgfx/defines.h | 501 | #define BGFX_CAPS_FORMAT_TEXTURE_IMAGE_WRITE UINT32_C(0x00000800) //!< Texture format can be used as image and writ |
| LOW | include/bgfx/defines.h | 521 | #define BGFX_CUBE_MAP_NEGATIVE_X UINT8_C(0x01) //!< Cubemap -x. |
| LOW | include/bgfx/bgfx.h | 141 | Int16, //!< Int16 |
| LOW | include/bgfx/bgfx.h | 561 | /// - `BGFX_CAPS_FORMAT_TEXTURE_3D` - Texture format is supported. |
| LOW | include/bgfx/bgfx.h | 761 | /// @attention C99's equivalent binding is `bgfx_attachment_t`. |
| LOW | include/bgfx/bgfx.h | 881 | /// @attention C99's equivalent binding is `bgfx_vertex_layout_t`. |
| LOW | include/bgfx/bgfx.h | 901 | /// @param[in] _type Element type. |
| LOW | include/bgfx/bgfx.h | 941 | |
| LOW | include/bgfx/bgfx.h | 961 | /// |
| LOW | include/bgfx/bgfx.h | 1001 | /// Sets a debug marker. This allows you to group graphics calls together for easy browsing in |
| LOW | include/bgfx/bgfx.h | 1021 | /// - `BGFX_STATE_BLEND_EQUATION_*` - See remark 2. |
| LOW | include/bgfx/bgfx.h | 1061 | /// @param[in] _fstencil Front stencil state. |
| LOW | include/bgfx/bgfx.h | 1081 | /// @remarks |
| LOW | include/bgfx/bgfx.h | 1101 | /// |
| LOW | include/bgfx/bgfx.h | 1121 | /// |
| LOW | include/bgfx/bgfx.h | 1141 | /// @attention C99's equivalent binding is `bgfx_encoder_alloc_transform`. |
| LOW | include/bgfx/bgfx.h | 1161 | ); |
| LOW | include/bgfx/bgfx.h | 1181 | ); |
| LOW | include/bgfx/bgfx.h | 1201 | ); |
| LOW | include/bgfx/bgfx.h | 1221 | ); |
| LOW | include/bgfx/bgfx.h | 1261 | ); |
| LOW | include/bgfx/bgfx.h | 1281 | ); |
| LOW | include/bgfx/bgfx.h | 1301 | /// of vertex buffer will be used. |
| LOW | include/bgfx/bgfx.h | 1321 | /// |
| LOW | include/bgfx/bgfx.h | 1341 | , uint32_t _num |
| LOW | include/bgfx/bgfx.h | 1361 | /// @param[in] _startVertex First instance data. |
| LOW | include/bgfx/bgfx.h | 1381 | void setInstanceCount(uint32_t _numInstances); |
| LOW | include/bgfx/bgfx.h | 1401 | , uint32_t _flags = UINT32_MAX |
| LOW | include/bgfx/bgfx.h | 1421 | /// @param[in] _program Program. |
| LOW | include/bgfx/bgfx.h | 1441 | /// |
| 5341 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | 3rdparty/iconfontheaders/GenerateIconFontCppHeaders.py | 4 | #------------------------------------------------------------------------------ |
| MEDIUM | 3rdparty/iconfontheaders/GenerateIconFontCppHeaders.py | 32 | #------------------------------------------------------------------------------ |
| MEDIUM | 3rdparty/iconfontheaders/GenerateIconFontCppHeaders.py | 58 | #------------------------------------------------------------------------------ |
| MEDIUM | 3rdparty/iconfontheaders/GenerateIconFontCppHeaders.py | 66 | #------------------------------------------------------------------------------ |
| MEDIUM | 3rdparty/iconfontheaders/GenerateIconFontCppHeaders.py | 71 | #------------------------------------------------------------------------------ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/loop.h | 47 | /// ┣━━━━━━━━━━━┓ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/loop.h | 49 | /// ┌─────────────────┐ ┃ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/loop.h | 52 | /// └─────────────────┘ ┃ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/loop.h | 54 | /// ┃◀━━━━━━━━━━┫ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/loop.h | 56 | /// ┌─────────────────┐ ┃ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/loop.h | 58 | /// ┃ └─────────────────┘ ┃ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/loop.h | 61 | /// ┃ ┌─────────────────┐ ┃ BreakIf(false) |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/loop.h | 64 | /// ┃ └─────────────────┘ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/loop.h | 67 | /// ┗━━━━━━━━━━▶┃ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/switch.h | 47 | /// ╌╌╌╌╌╌╌╌┲━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┱╌╌╌╌╌╌╌╌ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/switch.h | 49 | /// ┌────────┐ ┌────────┐ ┌────────┐ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/switch.h | 51 | /// └────────┘ └────────┘ └────────┘ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/switch.h | 54 | /// ╌╌╌╌╌╌╌╌┺━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┹╌╌╌╌╌╌╌╌ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/if.h | 42 | /// ┏━━━━━━━━━━┻━━━━━━━━━━┓ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/if.h | 44 | /// ┌────────────┐ ┌────────────┐ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/if.h | 47 | /// └────────────┘ └────────────┘ |
| MEDIUM | 3rdparty/dawn/src/tint/lang/core/ir/if.h | 49 | /// ┗━━━━━━━━━━┳━━━━━━━━━━┛ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/39-assao/cs_assao_generate_q.sh | 38 | #define SSAO_TILT_SAMPLES_ENABLE_AT_QUALITY_PRESET (99) // to disable simply set to 99 or si |
| LOW | examples/39-assao/cs_assao_generate_q.sh | 41 | #define SSAO_HALOING_REDUCTION_ENABLE_AT_QUALITY_PRESET (1) // to disable simply set to 99 or si |
| LOW | examples/39-assao/cs_assao_generate_q.sh | 44 | #define SSAO_NORMAL_BASED_EDGES_ENABLE_AT_QUALITY_PRESET (2) // to disable simply set to 99 or si |
| LOW | examples/39-assao/cs_assao_generate_q.sh | 47 | #define SSAO_DETAIL_AO_ENABLE_AT_QUALITY_PRESET (1) // whether to use DetailAOStrength; |
| MEDIUM | examples/common/shaderlib.sh | 379 | // https://web.archive.org/web/20190411181934/http://the-witness.net/news/2012/02/seamless-cube-map-filtering/ |
| MEDIUM | 3rdparty/spirv-cross/spirv_glsl.cpp | 346 | // Sanity check the iteration count to be robust against a certain class of bugs where |
| MEDIUM | 3rdparty/spirv-cross/spirv_glsl.cpp | 12050 | // Essentially, we can only remove one set of swizzles, since that's what we have control over ... |
| MEDIUM | 3rdparty/spirv-cross/spirv_glsl.cpp | 12309 | // We can look at result type which is more robust. |
| MEDIUM | 3rdparty/spirv-cross/spirv_msl.cpp | 18613 | // We don't always use proper type hierarchy for synthesized types, so be robust. |
| MEDIUM | 3rdparty/spirv-cross/spirv_cross.cpp | 4003 | // Essentially a map of block -> { variables accessed in the basic block } |
| MEDIUM | 3rdparty/spirv-cross/spirv_hlsl.cpp | 1843 | // Sort input and output variables based on, from more robust to less robust: |
| MEDIUM | 3rdparty/spirv-tools/include/spirv-tools/optimizer.hpp | 770 | // Creates a graphics robust access pass. |
| MEDIUM | 3rdparty/spirv-tools/source/diagnostic.cpp | 92 | case SPV_REQUESTED_TERMINATION: // Essentially success. |
| MEDIUM | 3rdparty/spirv-tools/source/opt/ir_loader.h | 33 | // libspirv.h so that we can leverage the syntax checks implemented behind it. |
| MEDIUM | 3rdparty/spirv-tools/source/opt/ccp_pass.h | 62 | // CCP lattice. Essentially, if all the operands in |phi| have the same |
| MEDIUM | 3rdparty/glslang/SPIRV/GlslangToSpv.cpp | 6530 | // TODO: It would be more robust to do a full recursive verification of the types satisfying SPIR-V rules. |
| MEDIUM | …rty/glslang/glslang/MachineIndependent/ParseHelper.cpp | 9859 | // for the parameter to the constructor (passed to this function). Essentially, it converts |
| MEDIUM | 3rdparty/glslang/glslang/HLSL/hlslParseHelper.cpp | 8561 | // for the parameter to the constructor (passed to this function). Essentially, it converts |
| MEDIUM | 3rdparty/dear-imgui/imgui.cpp | 6675 | // FIXME: Essentially we want to restrict manual resizing to WindowMinSize+Decoration, and allow api resizing to be |
| MEDIUM | 3rdparty/dear-imgui/imgui.cpp | 9036 | // FIXME-NEWATLAS-V2: perhaps we can now leverage ImFontAtlasUpdateDrawListsTextures() ? |
| MEDIUM | …rty/glsl-optimizer/src/glsl/ir_print_metal_visitor.cpp | 977 | // take precision from it. This isn't fully robust now, but oh well. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/16-shadowmaps/common.sh | 355 | // Step 1: Blocker Search |
| LOW | examples/16-shadowmaps/common.sh | 367 | // Step 2: Penumbra Estimation (standard PCSS, Fernando 2005) |
| LOW | examples/16-shadowmaps/common.sh | 382 | // Step 3: Percentage-Closer Filtering |
| LOW | examples/16-shadowmaps/common.sh | 387 | // Step 4: Edge fade based on blocker ratio |
| LOW | 3rdparty/spirv-tools/source/opt/loop_unswitch_pass.cpp | 155 | // Step 1: Create the if merge block for structured modules. |
| LOW | 3rdparty/spirv-tools/source/opt/loop_unswitch_pass.cpp | 235 | // Step 2: Build a new preheader for |loop_|, use the old one |
| LOW | 3rdparty/spirv-tools/source/opt/loop_unswitch_pass.cpp | 361 | // Step 3: Duplicate |loop_|. |
| LOW | 3rdparty/spirv-tools/source/opt/loop_unswitch_pass.cpp | 373 | // Step 4: Specialize the loop. // |
| LOW | 3rdparty/spirv-tools/source/opt/loop_unswitch_pass.cpp | 380 | // Step 5: Connect convergent edges to the landing pads. // |
| LOW | 3rdparty/glslang/SPIRV/SpvBuilder.cpp | 4320 | // Step 2: Construct a matrix from that array. |
| LOW | 3rdparty/glslang/glslang/HLSL/hlslParseHelper.cpp | 7773 | // Step 1: If there's an exact match, use it. |
| LOW | 3rdparty/glslang/glslang/HLSL/hlslParseHelper.cpp | 7776 | // Step 3: Re-select after type promotion is applied, to find proper candidate. |
| LOW | 3rdparty/glslang/glslang/HLSL/hlslParseHelper.cpp | 7778 | // Step 1: If there's an exact match, use it. |
| LOW | 3rdparty/glslang/glslang/HLSL/hlslParseHelper.cpp | 7834 | // Step 3: Re-select after type promotion, to find proper candidate |
| LOW | 3rdparty/dear-imgui/imgui.cpp | 3371 | // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element h |
| LOW | 3rdparty/dear-imgui/imgui.cpp | 3388 | // Step 1: Let the clipper infer height from first range |
| LOW | …y/dawn/src/tint/lang/core/ir/referenced_module_decls.h | 148 | // For a compute entry point, we need to check if subgroup size or any of the workgroup |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/20-nanovg/nanovg.cpp | 1100 | const char* text = "This is longer chunk of text.\n \n Would have used lorem ipsum but she was busy jumping over t |
| LOW | 3rdparty/dear-imgui/imgui_demo.cpp | 7572 | ImGui::TextWrapped("Lorem ipsum dolor sit amet"); |
| LOW | 3rdparty/dear-imgui/imgui_demo.cpp | 7572 | ImGui::TextWrapped("Lorem ipsum dolor sit amet"); |
| LOW | 3rdparty/dear-imgui/imgui_demo.cpp | 7574 | ImGui::Text("Lorem ipsum dolor sit amet"); |
| LOW | 3rdparty/dear-imgui/imgui_demo.cpp | 7574 | ImGui::Text("Lorem ipsum dolor sit amet"); |
| LOW | 3rdparty/dear-imgui/imgui_demo.cpp | 9450 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i |
| LOW | 3rdparty/dear-imgui/imgui_demo.cpp | 9450 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i |
| LOW | 3rdparty/dear-imgui/imgui_demo.cpp | 10411 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut |
| LOW | 3rdparty/dear-imgui/imgui_demo.cpp | 10411 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | examples/48-drawindirect/drawindirect.cpp | 392 | // This is done here for demonstration purposes |
| MEDIUM | 3rdparty/dear-imgui/imgui_widgets.cpp | 7351 | // Tip: pass a non-visible label (e.g. "##hello") then you can use the space to draw other text or image. |
| LOW | 3rdparty/dear-imgui/imgui.cpp | 995 | - 2017/08/25 (1.52) - io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. Previ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | 3rdparty/dawn/src/tint/utils/rtti/castable.h | 418 | /// Example usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | 3rdparty/iconfontheaders/GenerateIconFontCppHeaders.py | 109 | def get_intermediate_representation( cls ): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | 3rdparty/iconfontheaders/GenerateIconFontCppHeaders.py | 527 | except Exception as e: |