OSDN Git Service

mesa/st: Handle 16-bit types at st_glsl_storage_type_size()
authorEduardo Lima Mitev <elima@igalia.com>
Thu, 17 Aug 2017 07:51:22 +0000 (09:51 +0200)
committerJose Maria Casanova Crespo <jmcasanova@igalia.com>
Wed, 6 Dec 2017 07:57:18 +0000 (08:57 +0100)
commit52b10c7f20cf1613e47d5320339e61029549c420
treea7d9f06874ec4e1bb64de8351e6cec951524a5b4
parent59f458cd8703b97b31b826499f01fcc9a30cd606
mesa/st: Handle 16-bit types at st_glsl_storage_type_size()

This is basically to avoid "not handle in switch" warnings.

v2: Let the new types hit the assertion instead. (Marek Olšák
    and Jason Ekstrand)

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/state_tracker/st_glsl_types.cpp