Module: Mesa
Branch: main
Commit: 1aa56d486cbe22f4739b6122e35ef3650546471b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1aa56d486cbe22f4739b6122e35ef3650546471b

Author: Jesse Natalie <[email protected]>
Date:   Thu Nov  9 08:55:56 2023 -0800

d3d12: Fix location_frac_mask bitfield size

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26156>

---

 src/gallium/drivers/d3d12/d3d12_compiler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/d3d12/d3d12_compiler.h 
b/src/gallium/drivers/d3d12/d3d12_compiler.h
index 1f55f449e68..d2e63b38487 100644
--- a/src/gallium/drivers/d3d12/d3d12_compiler.h
+++ b/src/gallium/drivers/d3d12/d3d12_compiler.h
@@ -77,7 +77,7 @@ d3d12_varying_cache_destroy(struct d3d12_screen *ctx);
 struct d3d12_varying_info {
    struct {
       const struct glsl_type *types[4];
-      uint8_t location_frac_mask:2;
+      uint8_t location_frac_mask:4;
       uint8_t patch:1;
       struct {
          unsigned interpolation:3;   // INTERP_MODE_COUNT = 5

Reply via email to