<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/Frontend/HLSL/RootSignatureMetadata.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[DirectX] Making sure we always parse, validate and verify Flags (#162171)</title>
<updated>2025-10-08T20:18:18+00:00</updated>
<author>
<name>joaosaffran</name>
<email>joaosaffranllvm@gmail.com</email>
</author>
<published>2025-10-08T20:18:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3a3b21461fef83afdc1812fe4ced4815cb70ef34'/>
<id>3a3b21461fef83afdc1812fe4ced4815cb70ef34</id>
<content type='text'>
This PR makes a few changes to make sure that Root Signature Flags are
always parsed validated and verified, this includes if you use a version
that doesn't support flags. The logic already existed, this PR just
makes sure it is always executed.

Closes: [#161579](https://github.com/llvm/llvm-project/issues/161579)

---------

Co-authored-by: joaosaffran &lt;joao.saffran@microsoft.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR makes a few changes to make sure that Root Signature Flags are
always parsed validated and verified, this includes if you use a version
that doesn't support flags. The logic already existed, this PR just
makes sure it is always executed.

Closes: [#161579](https://github.com/llvm/llvm-project/issues/161579)

---------

Co-authored-by: joaosaffran &lt;joao.saffran@microsoft.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[DirectX] Remove custom error classes from RootSignature Metadata parser  (#161921)</title>
<updated>2025-10-08T18:17:23+00:00</updated>
<author>
<name>joaosaffran</name>
<email>joaosaffranllvm@gmail.com</email>
</author>
<published>2025-10-08T18:17:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d987465f47ec6460a4865238232a4f59072ef4b8'/>
<id>d987465f47ec6460a4865238232a4f59072ef4b8</id>
<content type='text'>
We have too many custom error classes that look too much alike when
error handling root signature metadata parser. This PR removes those
custom error classes and instead reuses `StringError` and a few
pre-formatted error messages.

Closes: [#159429](https://github.com/llvm/llvm-project/issues/159429)

---------

Co-authored-by: joaosaffran &lt;joao.saffran@microsoft.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have too many custom error classes that look too much alike when
error handling root signature metadata parser. This PR removes those
custom error classes and instead reuses `StringError` and a few
pre-formatted error messages.

Closes: [#159429](https://github.com/llvm/llvm-project/issues/159429)

---------

Co-authored-by: joaosaffran &lt;joao.saffran@microsoft.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[DirectX] Fix Flags validation to prevent casting into enum (#161587)</title>
<updated>2025-10-06T21:21:28+00:00</updated>
<author>
<name>joaosaffran</name>
<email>joaosaffranllvm@gmail.com</email>
</author>
<published>2025-10-06T21:21:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=58ce3e20e55c67298da94eabe4e25f8baeb45fa7'/>
<id>58ce3e20e55c67298da94eabe4e25f8baeb45fa7</id>
<content type='text'>
This PR changes the validation logic for Root Descriptor and Descriptor
Range flags to properly check if the `uint32_t` values are within range
before casting into the enums.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR changes the validation logic for Root Descriptor and Descriptor
Range flags to properly check if the `uint32_t` values are within range
before casting into the enums.</pre>
</div>
</content>
</entry>
<entry>
<title>[DirectX] Updating Root Signature Metadata to contain Static Sampler flags (#160210)</title>
<updated>2025-10-01T20:42:38+00:00</updated>
<author>
<name>joaosaffran</name>
<email>joaosaffranllvm@gmail.com</email>
</author>
<published>2025-10-01T20:42:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=56ca23c46dfd3b4a8cfd5cff05680ffcb20dde44'/>
<id>56ca23c46dfd3b4a8cfd5cff05680ffcb20dde44</id>
<content type='text'>
Root Signature 1.2 adds flags to static samplers. This requires us to
change the metadata representation to account for it when being
generated. This patch focus on the metadata changes required in the
backend, frontend changes will come in a future PR.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Root Signature 1.2 adds flags to static samplers. This requires us to
change the metadata representation to account for it when being
generated. This patch focus on the metadata changes required in the
backend, frontend changes will come in a future PR.</pre>
</div>
</content>
</entry>
<entry>
<title>[DirectX] Updating DXContainer Yaml to represent Root Signature 1.2 (#159659)</title>
<updated>2025-09-26T16:04:19+00:00</updated>
<author>
<name>joaosaffran</name>
<email>joaosaffranllvm@gmail.com</email>
</author>
<published>2025-09-26T16:04:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7d2f6fd177fcf79564e68c9999a38b5af9982cbb'/>
<id>7d2f6fd177fcf79564e68c9999a38b5af9982cbb</id>
<content type='text'>
This PR updates the YAML representation of DXContainer to support Root
Signature 1.2, this also requires updating the write logic to support
testing.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR updates the YAML representation of DXContainer to support Root
Signature 1.2, this also requires updating the write logic to support
testing.</pre>
</div>
</content>
</entry>
<entry>
<title>[DirectX] Adding missing descriptor table validations (#153276)</title>
<updated>2025-09-26T15:58:54+00:00</updated>
<author>
<name>joaosaffran</name>
<email>joaosaffranllvm@gmail.com</email>
</author>
<published>2025-09-26T15:58:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c06f35422d6b049ef6a6b1d7de07597845b841e6'/>
<id>c06f35422d6b049ef6a6b1d7de07597845b841e6</id>
<content type='text'>
This patch adds 2 small validation to DirectX backend. First, it checks
if registers in descriptor tables are not overflowing, meaning they
don't try to bind registers over the maximum allowed value, this is
checked both on the offset and on the number of descriptors inside the
range; second, it checks if samplers are being mixed with other resource
types.
Closes: #153057, #153058

---------

Co-authored-by: joaosaffran &lt;joao.saffran@microsoft.com&gt;
Co-authored-by: Joao Saffran &lt;{ID}+{username}@users.noreply.github.com&gt;
Co-authored-by: Joao Saffran &lt;jderezende@microsoft.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds 2 small validation to DirectX backend. First, it checks
if registers in descriptor tables are not overflowing, meaning they
don't try to bind registers over the maximum allowed value, this is
checked both on the offset and on the number of descriptors inside the
range; second, it checks if samplers are being mixed with other resource
types.
Closes: #153057, #153058

---------

Co-authored-by: joaosaffran &lt;joao.saffran@microsoft.com&gt;
Co-authored-by: Joao Saffran &lt;{ID}+{username}@users.noreply.github.com&gt;
Co-authored-by: Joao Saffran &lt;jderezende@microsoft.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[DirectX] Removing dxbc StaticSampler from mcbxdc (#154631)</title>
<updated>2025-09-11T22:47:09+00:00</updated>
<author>
<name>joaosaffran</name>
<email>joaosaffranllvm@gmail.com</email>
</author>
<published>2025-09-11T22:47:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d88c89f860c205cda2c07b59fbb9ede70130818f'/>
<id>d88c89f860c205cda2c07b59fbb9ede70130818f</id>
<content type='text'>
MC Static Samplers Representation currently depends on Object
structures. This PR removes that dependency and in order to facilitate
removing to_underlying usage in follow-up PRs.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MC Static Samplers Representation currently depends on Object
structures. This PR removes that dependency and in order to facilitate
removing to_underlying usage in follow-up PRs.</pre>
</div>
</content>
</entry>
<entry>
<title>[DirectX] Removing dxbc DescriptorRange from mcbxdc (#154629)</title>
<updated>2025-09-10T18:49:01+00:00</updated>
<author>
<name>joaosaffran</name>
<email>joaosaffranllvm@gmail.com</email>
</author>
<published>2025-09-10T18:49:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9e778f6cd155f64896a9a0580e96aa4814ca999b'/>
<id>9e778f6cd155f64896a9a0580e96aa4814ca999b</id>
<content type='text'>
MC Descriptor Range Representation currently depend on Object
structures. This PR removes that dependency and in order to facilitate
removing to_underlying usage in follow-up PRs.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MC Descriptor Range Representation currently depend on Object
structures. This PR removes that dependency and in order to facilitate
removing to_underlying usage in follow-up PRs.</pre>
</div>
</content>
</entry>
<entry>
<title>[DirectX] Removing dxbc RootSignature and RootDescriptor from mcbxdc (#154585)</title>
<updated>2025-08-29T19:42:34+00:00</updated>
<author>
<name>joaosaffran</name>
<email>joaosaffranllvm@gmail.com</email>
</author>
<published>2025-08-29T19:42:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=dfc376a9bfb228c7c0361b4c321fda44ed76111a'/>
<id>dfc376a9bfb228c7c0361b4c321fda44ed76111a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DirectX] Refactor RootSignature Backend to remove `to_underlying` from Root Parameter Header (#154249)</title>
<updated>2025-08-25T20:28:07+00:00</updated>
<author>
<name>joaosaffran</name>
<email>joaosaffranllvm@gmail.com</email>
</author>
<published>2025-08-25T20:28:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c6dfbc5cc7b89637ec7f06d7c0018ef8964c9323'/>
<id>c6dfbc5cc7b89637ec7f06d7c0018ef8964c9323</id>
<content type='text'>
This patch is refactoring Root Parameter Header in DX Container backend
to remove the usage of `to_underlying`. This requires some changes:
first, MC Root Signature should not depend on Object/DXContainer.h;
Second, we need to assume data to be valid in scenarios where it was
originally not expected, this made some tests be removed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch is refactoring Root Parameter Header in DX Container backend
to remove the usage of `to_underlying`. This requires some changes:
first, MC Root Signature should not depend on Object/DXContainer.h;
Second, we need to assume data to be valid in scenarios where it was
originally not expected, this made some tests be removed.</pre>
</div>
</content>
</entry>
</feed>
