llvmpipe: refactor jit type creation
authorDave Airlie <airlied@redhat.com>
Fri, 28 Jun 2019 21:34:18 +0000 (07:34 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 27 Aug 2019 02:29:21 +0000 (12:29 +1000)
commita8ef6b5755c49118dc77dea6bb4b1087ef74ccc2
tree9057689c016430edb0994a64eaddc61623c16458
parent1eda49cc3de22e97a70944367d17d5afe611f3cc
llvmpipe: refactor jit type creation

This just cleans the code up so the texture/sampler type
creation can be reused.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_jit.c