diff options
author | Juan A. Suarez Romero <[email protected]> | 2017-07-14 10:31:38 +0000 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2017-07-14 10:33:19 +0000 |
commit | 5cd4ece34ebdc1383f1e2376c88097d06544e2f6 (patch) | |
tree | 4e2d6b5dc923da9c3d4d3da33ffdd79af9f73368 /src/intel | |
parent | 28d0c38d85d94cab23667049f03ea072b8e7907c (diff) |
anv/pipeline: do not use BITFIELD64_BIT()
In the previous commit, forgot to apply v2 suggestions.
Fixes: 28d0c38 (anv/pipeline: use unsigned long long constant to check
enable vertex inputs)
Signed-off-by: Juan A. Suarez Romero <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/anv_pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index edbe2e7a7ac..047f90ce08a 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -1330,7 +1330,7 @@ anv_pipeline_init(struct anv_pipeline *pipeline, const VkVertexInputAttributeDescription *desc = &vi_info->pVertexAttributeDescriptions[i]; - if (inputs_read & BITFIELD64_BIT(VERT_ATTRIB_GENERIC0 + desc->location)) + if (inputs_read & (1ull << (VERT_ATTRIB_GENERIC0 + desc->location))) pipeline->vb_used |= 1 << desc->binding; } |