mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 14:23:02 +01:00
WebGPU: Add texture format to shaderc (bin version 10) + streamline storage Images in shaders (#2482)
* WebGPU: Add texture format (shaderc bin version 10) * WebGPU: Simplify storage images + Fix format decorations * Shaderc: Cleanup Texture name assumption in textures
This commit is contained in:
@@ -2454,6 +2454,12 @@ namespace bgfx { namespace d3d9
|
||||
bx::read(&reader, texInfo);
|
||||
}
|
||||
|
||||
if (!isShaderVerLess(magic, 10) )
|
||||
{
|
||||
uint16_t texFormat = 0;
|
||||
bx::read(&reader, texFormat);
|
||||
}
|
||||
|
||||
const char* kind = "invalid";
|
||||
|
||||
PredefinedUniform::Enum predefined = nameToPredefinedUniformEnum(name);
|
||||
|
||||
Reference in New Issue
Block a user