question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with new HLSLccExporter

See original GitHub issue

Import: System.Exception: Unexpected program type DX9VertexSM30 bei DXShaderRestorer.ShaderGpuProgramTypeExtensions.GetMajorDXVersion(ShaderGpuProgramType _this) bei DXShaderRestorer.ResourceChunk..ctor(ShaderSubProgram shaderSubprogram) bei DXShaderRestorer.DXShaderProgramRestorer.GetResourceChunk(ShaderSubProgram shaderSubprogram) bei DXShaderRestorer.DXShaderProgramRestorer.RestoreProgramData(Version version, GPUPlatform graphicApi, ShaderSubProgram shaderSubProgram) bei uTinyRipperGUI.Exporters.ShaderHLSLccExporter.Export(ShaderWriter writer, ShaderSubProgram& subProgram) bei uTinyRipper.Classes.Shaders.ShaderSubProgram.Export(ShaderWriter writer, ShaderType type) bei uTinyRipper.Classes.Shaders.SerializedSubProgram.Export(ShaderWriter writer, ShaderSubProgramBlob blob, ShaderType type, Boolean isTier) bei uTinyRipper.Classes.Shaders.SerializedProgram.Export(ShaderWriter writer, ShaderType type) bei uTinyRipper.Classes.Shaders.SerializedPass.Export(ShaderWriter writer) bei uTinyRipper.Classes.Shaders.SerializedSubShader.Export(ShaderWriter writer) bei uTinyRipper.Classes.Shaders.SerializedShader.Export(ShaderWriter writer) bei uTinyRipper.Classes.Shader.ExportBinary(IExportContainer container, Stream stream, Func3 exporterInstantiator) bei uTinyRipperGUI.Exporters.ShaderAssetExporter.Export(IExportContainer container, Object asset, String path) bei uTinyRipper.AssetExporters.AssetExportCollection.Export(ProjectAssetContainer container, String dirPath) bei uTinyRipper.AssetExporters.ProjectExporter.Export(String path, FileCollection fileCollection, IEnumerable1 assets, ExportOptions options) bei uTinyRipper.GameStructure.Export(String exportPath, Func2 filter) bei uTinyRipperGUI.MainWindow.ExportFiles(Object data)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
spacehamstercommented, Oct 21, 2019

I have that game, no need to upload the asset for that one.

1reaction
mafacacommented, Oct 20, 2019

I think HLSHcc doesn’t support DX9. I set old exporter for this shader type in b5e19357b454aff2685fc4e48f6291e765701744. Waiting for @spacehamster to clarify this moment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unity is adding a new "DXC" HLSL compiler backend option
Hey! So Unity has been using Microsoft's "FXC" HLSL compiler (plus our own HLSLcc when targeting Vulkan/Metal/OpenGL) for years.
Read more >
3 suggestions for your project.. · Issue #3 · doitsujin/dxvk
Hi, just some ideas about your project.. note expect #1 other two may be better to investigate once project is more mature.. reusing ......
Read more >
HLSL Cross Compiler
Information on the HLSLCC tool used to convert HLSL into GLSL. ... This library compiles High Level Shading Language (HLSL) shader source code...
Read more >
Manual: Shader compilation
Platforms that use OpenGL (Core & ES) use Microsoft's FXC HLSL compiler, followed by bytecode translation into GLSL using HLSLcc.
Read more >
Problems with exporting from Blender to Unity (new ...
Hello everyone! Is it possible to use Blender's FBX 7.4 binary-exporter and export materials and textures that are linked to the selection, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found