diff options
author | Timothy Arceri <[email protected]> | 2016-10-19 12:09:09 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-10-26 14:29:36 +1100 |
commit | 5a228c0aae347ce68009f165427581e149611d65 (patch) | |
tree | 04520f24e9d73312960cc87b628e0fe2e0826a6c /src/compiler | |
parent | 4ca71a1175a0065d9cf2920da94b14aa2d676b00 (diff) |
mesa: set cs shader_info metadata directly
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/shader_info.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/compiler/shader_info.c b/src/compiler/shader_info.c index 20422eff0d9..9329e518a37 100644 --- a/src/compiler/shader_info.c +++ b/src/compiler/shader_info.c @@ -51,15 +51,6 @@ copy_shader_info(const struct gl_shader_program *shader_prog, break; } - case MESA_SHADER_COMPUTE: { - struct gl_compute_program *cp = (struct gl_compute_program *)sh->Program; - info->cs.local_size[0] = cp->LocalSize[0]; - info->cs.local_size[1] = cp->LocalSize[1]; - info->cs.local_size[2] = cp->LocalSize[2]; - info->cs.shared_size = cp->SharedSize; - break; - } - default: break; /* No stage-specific info */ } |