gallivm: s/unsigned/enum pipe_swizzle/
Signed-off-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17062>
This commit is contained in:
parent
3f0a6c7ac1
commit
0c80bdf758
|
@ -571,7 +571,7 @@ lp_build_swizzle_aos(struct lp_build_context *bld,
|
|||
LLVMValueRef
|
||||
lp_build_swizzle_soa_channel(struct lp_build_context *bld,
|
||||
const LLVMValueRef *unswizzled,
|
||||
unsigned swizzle)
|
||||
enum pipe_swizzle swizzle)
|
||||
{
|
||||
switch (swizzle) {
|
||||
case PIPE_SWIZZLE_X:
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
|
||||
#include "gallivm/lp_bld.h"
|
||||
#include "pipe/p_defines.h"
|
||||
|
||||
|
||||
struct lp_type;
|
||||
|
@ -99,7 +100,7 @@ lp_build_swizzle_aos_n(struct gallivm_state* gallivm,
|
|||
LLVMValueRef
|
||||
lp_build_swizzle_soa_channel(struct lp_build_context *bld,
|
||||
const LLVMValueRef *unswizzled,
|
||||
unsigned swizzle);
|
||||
enum pipe_swizzle swizzle);
|
||||
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue