summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shared.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-10 20:35:21 +0200
committerEduardo Lima Mitev <[email protected]>2017-12-12 08:18:32 +0100
commit5bc03d250861df6836f9c9fe37e0609c1777a87b (patch)
tree378bee83caef17baf2c2793d06f18c2484afb5a5 /src/mesa/main/shared.c
parenta8889f5cc7129c1f8942248d620f64b4496e8f35 (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/mesa/main/shared.c')
0 files changed, 0 insertions, 0 deletions