<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">The spec even put it out clearly : "<span
style="color: rgba(0, 0, 0, 0.8); font-family: "Noto
Serif", "DejaVu Serif", serif; font-size: 16px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
-0.16px; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(248, 248, 247); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">The sum of<span> </span></span><code
style="box-sizing: border-box; font-family: "Droid Sans
Mono", "DejaVu Sans Mono", monospace; font-size:
0.9375em; font-weight: normal; color: rgba(0, 0, 0, 0.9);
letter-spacing: 0px; padding: 0.1em 0.5ex; word-spacing:
-0.15em; background-color: rgb(247, 247, 248); border-radius:
4px; line-height: 1.45; text-rendering: optimizeSpeed;
word-wrap: break-word; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial;">firstBinding</code><span style="color: rgba(0, 0, 0,
0.8); font-family: "Noto Serif", "DejaVu
Serif", serif; font-size: 16px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: -0.16px; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(248, 248,
247); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;"><span> </span>and<span> </span></span><code
style="box-sizing: border-box; font-family: "Droid Sans
Mono", "DejaVu Sans Mono", monospace; font-size:
0.9375em; font-weight: normal; color: rgba(0, 0, 0, 0.9);
letter-spacing: 0px; padding: 0.1em 0.5ex; word-spacing:
-0.15em; background-color: rgb(247, 247, 248); border-radius:
4px; line-height: 1.45; text-rendering: optimizeSpeed;
word-wrap: break-word; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial;">bindingCount</code><span style="color: rgba(0, 0, 0,
0.8); font-family: "Noto Serif", "DejaVu
Serif", serif; font-size: 16px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: -0.16px; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(248, 248,
247); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;"><span> </span></span><strong
class="purple" style="box-sizing: border-box; font-weight: bold;
line-height: inherit; letter-spacing: -0.005em; color: rgb(96,
0, 96); font-family: "Noto Serif", "DejaVu
Serif", serif; font-size: 16px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(248, 248,
247); text-decoration-style: initial; text-decoration-color:
initial;">must</strong><span style="color: rgba(0, 0, 0, 0.8);
font-family: "Noto Serif", "DejaVu Serif",
serif; font-size: 16px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: -0.16px; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(248, 248,
247); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;"><span> </span>be
less than or equal to<span> </span></span><code
style="box-sizing: border-box; font-family: "Droid Sans
Mono", "DejaVu Sans Mono", monospace; font-size:
0.9375em; font-weight: normal; color: rgba(0, 0, 0, 0.9);
letter-spacing: 0px; padding: 0.1em 0.5ex; word-spacing:
-0.15em; background-color: rgb(247, 247, 248); border-radius:
4px; line-height: 1.45; text-rendering: optimizeSpeed;
word-wrap: break-word; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial;">VkPhysicalDeviceLimits</code><span style="color:
rgba(0, 0, 0, 0.8); font-family: "Noto Serif",
"DejaVu Serif", serif; font-size: 16px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: -0.16px; orphans:
2; text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(248, 248,
247); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">::</span><code
style="box-sizing: border-box; font-family: "Droid Sans
Mono", "DejaVu Sans Mono", monospace; font-size:
0.9375em; font-weight: normal; color: rgba(0, 0, 0, 0.9);
letter-spacing: 0px; padding: 0.1em 0.5ex; word-spacing:
-0.15em; background-color: rgb(247, 247, 248); border-radius:
4px; line-height: 1.45; text-rendering: optimizeSpeed;
word-wrap: break-word; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial;">maxVertexInputBindings"</code><br>
<br>
Reviewed-by: Lionel Landwerlin
<a class="moz-txt-link-rfc2396E" href="mailto:lionel.g.landwerlin@intel.com"><lionel.g.landwerlin@intel.com></a><br>
<br>
On 21/07/17 09:26, Iago Toral Quiroga wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20170721082631.13236-1-itoral@igalia.com">
<pre wrap="">---
src/intel/vulkan/anv_cmd_buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/anv_cmd_buffer.c b/src/intel/vulkan/anv_cmd_buffer.c
index 7317674843..3b59af8f6f 100644
--- a/src/intel/vulkan/anv_cmd_buffer.c
+++ b/src/intel/vulkan/anv_cmd_buffer.c
@@ -566,7 +566,7 @@ void anv_CmdBindVertexBuffers(
/* We have to defer setting up vertex buffer since we need the buffer
* stride from the pipeline. */
- assert(firstBinding + bindingCount < MAX_VBS);
+ assert(firstBinding + bindingCount <= MAX_VBS);
for (uint32_t i = 0; i < bindingCount; i++) {
vb[firstBinding + i].buffer = anv_buffer_from_handle(pBuffers[i]);
vb[firstBinding + i].offset = pOffsets[i];
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>