mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Remove register/HLSL handling from shader viewer, work agnostically
* The shader viewer shouldn't handle specifics of D3D bytecode, instead it now works generally with whatever the debug and source variables are. * VarType::Unknown is used for D3D registers which are typeless.
This commit is contained in:
@@ -1511,6 +1511,8 @@ QString TypeString(const ShaderVariable &v)
|
||||
typeStr = lit("xbyte");
|
||||
}
|
||||
|
||||
if(v.type == VarType::Unknown)
|
||||
return lit("Typeless");
|
||||
if(v.rows == 1 && v.columns == 1)
|
||||
return typeStr;
|
||||
if(v.rows == 1)
|
||||
|
||||
Reference in New Issue
Block a user