mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Add GLSL syntax highlighting
This commit is contained in:
@@ -488,6 +488,14 @@ namespace renderdoc
|
||||
{
|
||||
public APIPipelineStateType pipelineType;
|
||||
public bool degraded;
|
||||
|
||||
public string ShaderExtension
|
||||
{
|
||||
get
|
||||
{
|
||||
return pipelineType == APIPipelineStateType.D3D11 ? ".hlsl" : ".glsl";
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
|
||||
Reference in New Issue
Block a user