gallivm: Use the proper enum for the texture target bitfield.
This gets you nice output in gdb when trying to figure out why your 2D sample shader is hitting the cube paths. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8118>
This commit is contained in:
@@ -169,7 +169,7 @@ struct lp_static_texture_state
|
||||
unsigned swizzle_a:3;
|
||||
|
||||
/* pipe_texture's state */
|
||||
unsigned target:4; /**< PIPE_TEXTURE_* */
|
||||
enum pipe_texture_target target:4; /**< PIPE_TEXTURE_* */
|
||||
unsigned pot_width:1; /**< is the width a power of two? */
|
||||
unsigned pot_height:1;
|
||||
unsigned pot_depth:1;
|
||||
|
||||
Reference in New Issue
Block a user