diff options
author | Nicolai Hähnle <[email protected]> | 2017-06-10 20:35:21 +0200 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2017-12-12 08:18:32 +0100 |
commit | 5bc03d250861df6836f9c9fe37e0609c1777a87b (patch) | |
tree | 378bee83caef17baf2c2793d06f18c2484afb5a5 /src/compiler/blob.c | |
parent | a8889f5cc7129c1f8942248d620f64b4496e8f35 (diff) |
mesa: implement SPIR-V loading in glShaderBinary
v2: * Add a gl_shader_spirv_data member to gl_shader, which already
encapsulates a gl_spirv_module where the binary will be saved.
(Eduardo Lima)
* Just use the 'spirv_data' member to know whether a gl_shader has
the SPIR_V_BINARY_ARB state. (Timothy Arceri)
* Remove redundant argument checks. Move extension presence check
to API entry point where the rest of checks are. Retype 'n' and
'length'arguments to use the correct and more standard types.
(Ian Romanick)
* Fix some nitpicks. (Ian Romanick)
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/compiler/blob.c')
0 files changed, 0 insertions, 0 deletions