summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_pipeline.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-11-30 13:28:09 -0800
committerJason Ekstrand <[email protected]>2015-11-30 13:28:17 -0800
commit9b1cb8fdbc7e3c2fb9b950a9844ef653761b7480 (patch)
tree4bbd7326526c542dc7704e70b671b007de8913ce /src/vulkan/anv_pipeline.c
parenta53f23d93f7e7ee65cb4937178ea8c2c28484756 (diff)
vk/0.210.0: Rework a few raster/input enums
Diffstat (limited to 'src/vulkan/anv_pipeline.c')
-rw-r--r--src/vulkan/anv_pipeline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vulkan/anv_pipeline.c b/src/vulkan/anv_pipeline.c
index a61f0c16757..16d054665f5 100644
--- a/src/vulkan/anv_pipeline.c
+++ b/src/vulkan/anv_pipeline.c
@@ -1043,12 +1043,12 @@ anv_pipeline_init(struct anv_pipeline *pipeline, struct anv_device *device,
/* Step rate is programmed per vertex element (attribute), not
* binding. Set up a map of which bindings step per instance, for
* reference by vertex element setup. */
- switch (desc->stepRate) {
+ switch (desc->inputRate) {
default:
- case VK_VERTEX_INPUT_STEP_RATE_VERTEX:
+ case VK_VERTEX_INPUT_RATE_VERTEX:
pipeline->instancing_enable[desc->binding] = false;
break;
- case VK_VERTEX_INPUT_STEP_RATE_INSTANCE:
+ case VK_VERTEX_INPUT_RATE_INSTANCE:
pipeline->instancing_enable[desc->binding] = true;
break;
}