From c604a163105648f40ee4c93192f6b0e78dcc12c7 Mon Sep 17 00:00:00 2001 From: salh Date: Fri, 17 Apr 2026 22:56:51 +0300 Subject: [PATCH] fix(gpu): handle VS-expanded point/rectangle lists in DXBC translator StartVertexOrDomainShader only handled kVertex and tessellation domain types; kPointListAsTriangleStrip and kRectangleListAsTriangleStrip fell through to assert_unhandled_case after enabling D3D12 point expansion by default. Route them through the same vertex index setup as kVertex. Made-with: Cursor --- .../src/graphics/pipeline/shader/dxbc_translator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thirdparty/rexglue-sdk/src/graphics/pipeline/shader/dxbc_translator.cpp b/thirdparty/rexglue-sdk/src/graphics/pipeline/shader/dxbc_translator.cpp index 2c31a0e8..f6432bd1 100644 --- a/thirdparty/rexglue-sdk/src/graphics/pipeline/shader/dxbc_translator.cpp +++ b/thirdparty/rexglue-sdk/src/graphics/pipeline/shader/dxbc_translator.cpp @@ -439,6 +439,8 @@ void DxbcShaderTranslator::StartVertexOrDomainShader() { GetDxbcShaderModification().vertex.host_vertex_shader_type; switch (host_vertex_shader_type) { case Shader::HostVertexShaderType::kVertex: + case Shader::HostVertexShaderType::kPointListAsTriangleStrip: + case Shader::HostVertexShaderType::kRectangleListAsTriangleStrip: StartVertexShader_LoadVertexIndex(); break;