usermattcancel
branchsbox/mastercancel

1,023 Commits over 1,127 Days - 0.04cph!

1 Year Ago
Fix crash with procedural materials
1 Year Ago
Update materialsystem2 with latest Valve code Backporting latest Valve code to make it easier to integrate raytracing & bindless Removes render passes that never did anything, lots of refactoring materialsystem2 API becomes much simpler to draw stuff too: ```diff - IMaterialMode *pMode = pMaterial->GetMode( "Default" ); - if ( pMode != NULL ) // NULL if unsupported mode - { - MaterialRenderablePass_t renderablePassArray[ MATERIAL_RENDERABLE_PASS_MAX ]; - int nNumPasses = pMode->ComputeRenderablePassesForContext( NULL, pRenderContext, renderablePassArray ); - for ( int i = 0; i < nNumPasses; i++ ) - { - g_pMaterialSystem2->SetRenderStateForRenderablePass( NULL, pRenderContext, g_hLayout, renderablePassArray[i] ); - pRenderContext->DrawIndexed( RENDER_PRIM_TRIANGLES, 0, 6 ); - } - } + IMaterialMode *pMode = pMaterial->GetMode( "Default" ); + if ( g_pMaterialSystem2->SetRenderStateForMode( pMode, NULL, pRenderContext, g_hLayout ) ) + { + pRenderContext->DrawIndexed( RENDER_PRIM_TRIANGLES, 0, 6 ); + } ```
1 Year Ago
AssertDbg instead of Assert in MAT_OP_BIND paths, these are meant to be fast paths Lazy init SceneObject.Attributes since this was allocating CSceneObject::m_pExtraData for all sceneobjects, observable ~0.3ms improvement in generating draw lists
1 Year Ago
vfxc: add Radeon GPU Analysis, can target many arch Update fossilize rendersystemvulkan: new pipeline manager w/ VK_EXT_graphics_pipeline_library
1 Year Ago
Fix texture filtering feature on user shaders, recompile blendable and glass
1 Year Ago
▉▋▍'▆ ▍█▌▋ ▆▄▆▉▍▆▆ ▅▉█▅▍▅▆ ▉▉ ▇▄▉▆▉ ▌▋▆
1 Year Ago
▊▋▄▊▆▉▆▆▅▌ ▊▆▆▇ ▇▉▇▌ ▊▇▌▄▊▊▊ ▄▍▋ ▌▅█▋▊█ ▄▍ ▊▊▉▉, ▍▋▇ ▍▇▅▅ ▇▍▆▍▍▄▄ ▇▉▅█▍▅ ▊▉█ ▍▇ ▍▊▋▆ ▇▌▋
1 Year Ago
Latest shaders with Vulkan RenderState fixes
1 Year Ago
Add -allowlocalhttp command line switch, only works on server and allows you to do http requests to any port on localhost or private IP addresses. This is only really gonna be useful for dedicated servers to access their apis
1 Year Ago
▆▋▊█.▌▇▅▊▊█▄▍▌ ▅▌█'▊ ▅▇█▉▆ ▆▍▇█▌▄▇ ▋▄▇█ ▇█▆▆▊▍▆ ▋▅ ▋▇█▆▆▍▊▄ ▄▊ ▆▋▇▄▉▋▅ ██▅▆▌█▊██
1 Year Ago
vfxc: can output preprocessed hlsl for vulkan Use two stage macro expansion for RenderState and SrgbWrite so token pasting combos (and other defines) works as intended on DXC Fixes RenderState being evaluated incorrectly on Vulkan and doing nothing or worst case crashing `RenderState( CullMode, D_MYCOMBO );` was getting evaluated differently as FXC had some non standard macro expansion rules: FXC: `string g_renderState_CullMode < string arg1 = "1" ; > = "" ; ; ` DXC: `string g_renderState_CullMode < string arg1 = "D_MYCOMBO"; > = "" ;;` DXC's -flegacy-macro-expansion wasn't doing anything either
1 Year Ago
Fix Rider integration for toolbox installs - thanks faint
1 Year Ago
Latest compiled shaders - fix occasional blinking lights & fix lights on Vulkan
1 Year Ago
vfx_vulkan: do not use -fvk-invert-y on geometry shaders, only needed on vertex
1 Year Ago
Make vr_per_view_lighting_constants_legacy.fxc avaliable on retail
1 Year Ago
Rip out http allow list, rules for allowed urls are http/https to fully qualified domains or loopback on ports 80/443/8080/8443 Allow list was intended to let players clearly see what a game was doing, but there's better ways to do it
1 Year Ago
vulkan: don't do the flush trick for generate mips, not needed and force flushing the gpu from non main-thread cocks up
1 Year Ago
Shader fixes, recompile some addon shaders with Vulkan too
1 Year Ago
Fix GlobalLobby preventing games from starting :(
1 Year Ago
vulkan: surprassing max device access threads in MarkIssuesCommands isn't an error case anymore
1 Year Ago
Delete trilinear threshold 360 vulkan: rewrite per thread descriptor set pools, eliminating max device access threads since .net can use a shit load - need to add some garbage collection on top of this, but will prevent the main crash that's been occuring GlobalLobby works with new LobbyManager ( global chat works again )
1 Year Ago
Patch our C# launchers to enable discreet GPU usage by exporting NvOptimusEnablement & AmdPowerXpressRequestHighPerformance symbols
1 Year Ago
Hammer: fix crash with drag dropping map view
1 Year Ago
Don't try to visit field of a delegate, we don't need to - fixes sboxgame/issues#2642
1 Year Ago
Hammer: handle map node deletion when dragging - fixes sboxgame/issues#3092
1 Year Ago
Add editor.preferences event, passes NavigationView Hammer: Import file undo action
1 Year Ago
Simple image asset preview widget https://files.facepunch.com/matt/1b2311b1/sbox-dev_JD3vt5T6Q3.png
1 Year Ago
Revert "ShaderTypeManager shouldn't load manifest spritecard shader" - I wanted to stop vfxcompile loading this every time, but this breaks map compiling? 😵‍💫 Checkboard error shader, doesn't show through walls (same as cs2)
1 Year Ago
vfxcompile into a normal exe, remove ivfxcompile, remove loads of vmpi shit, materialsystem2 stop linking vfxcompile Fix vfxcompile always saying building 0 shaders ShaderTypeManager shouldn't load manifest spritecard shader Misc materialsystem2 fixes
1 Year Ago
materialsystem2 stop trying to load rendersystemdx9 User shaders set attributes for vrad3 - fixes lightmapping, do not cast shadows, and probably other crap Recompile blendable with fixed attributes
1 Year Ago
Don't open a blank asset resolver window if we're missing _bakeresourcecache shit
1 Year Ago
Don't need to collect vfx manually here anymore Make new material use the right shader Move core/base shader check to AddAsset so package references don't try to upload core shaders too
1 Year Ago
Fix vr_stencil geom shader failing to compile as antlr hates preprocessor maths
1 Year Ago
Fix CVfx::CreateFromResourceFile using wrong named block for spir-v Fix visualize_depth shader
1 Year Ago
Hammer: asset.party materials tagged with "decal" will create an info_overlay on drag so you can put bird shit everywhere
1 Year Ago
Same DX11 texture streaming crash fix for Vulkan
1 Year Ago
Fix some shader warnings Latest compiled shaders with DX11 + Vulkan
1 Year Ago
Delete unused "pre baked vertex animation" combo from complex
1 Year Ago
Undo accidental changes to DX11 light cbuffers
1 Year Ago
RenderTools::Draw - stick to instanceid input layout, fixes water and world panels (I'm pretty sure it's the shaders using this wrong, but I'll come back to it)
1 Year Ago
Re-enable VrLightBinnerSingleLightFastPath this is most definitely being used Hot fix shadergraph, compile dxbc only
1 Year Ago
New rendersystemvulkan & vfx_vulkan RenderTools::Draw handle input layout variation better Tag rendersystem for Sentry Use compute shader for bloom on Vulkan & fix uav barriers ::lerp fix for FXC, couple of double layer define fixes Invalid shader handle checks in CVideoPlayerProvider::PresentYUV420Texture New PerViewLightingConstantBufferVr_t for Vulkan, remove unused and realign, stop using structs in a cbuffer :x Lightbinner doesn't need all this dynamic shit, max lights is compiled into shaders Split lightbinner into legacy and new paths, strip loads of shit that Sam pinky promises me is unused Fix race for generated hlslvariables file
1 Year Ago
Fix orphan detection doing nothing, it was tailored for content/game folders
1 Year Ago
CI wasn't using that bat 🤦 delete orphans from workflow file
1 Year Ago
Delete orphans with CI
1 Year Ago
Update dotnet runtime redistributable to 7.0.7
1 Year Ago
Delete unused generate_decal_normals Shader warning/error fixes Strictness shader fixes Shader Resource V2 - Has a DXBC & a SPIRV block, V1 resources still work as DXBC Don't update special dependency version number for shaders, otherwise we'll fuck all v1 resources 😵
1 Year Ago
Remove GetShaderFullPath legacy shader replacement hacks, nothing should be relying on this encoded_normals.fxc fixes postprocess_standard_p*.shader fixes
1 Year Ago
Fix minor old assert breaking debug builds
1 Year Ago
Map missing asset resolver ignores _bakeresourcecache