Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cs_mipmap_3d_p.h
Go to the documentation of this file.
1// Copyright (C) 2025 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef CS_MIPMAP_3D_P_H
6#define CS_MIPMAP_3D_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists for the convenience
13// of other Qt classes. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtCore/private/qglobal_p.h>
20
21#ifdef Q_OS_WIN
22
23#include <qt_windows.h>
24
25#if 0
26//
27// Generated by Microsoft (R) HLSL Shader Compiler 10.1
28//
29//
30// Buffer Definitions:
31//
32// cbuffer cbuf
33// {
34//
35// float3 texelSize; // Offset: 0 Size: 12
36// uint srcMipLevel; // Offset: 12 Size: 4
37//
38// }
39//
40//
41// Resource Bindings:
42//
43// Name Type Format Dim HLSL Bind Count
44// ------------------------------ ---------- ------- ----------- -------------- ------
45// samp sampler NA NA s0 1
46// srcMip texture float4 3d t0 1
47// dstMip UAV float4 3d u0 1
48// cbuf cbuffer NA NA cb0 1
49//
50//
51//
52// Input signature:
53//
54// Name Index Mask Register SysValue Format Used
55// -------------------- ----- ------ -------- -------- ------- ------
56// no Input
57//
58// Output signature:
59//
60// Name Index Mask Register SysValue Format Used
61// -------------------- ----- ------ -------- -------- ------- ------
62// no Output
63cs_5_0
64dcl_globalFlags refactoringAllowed
65dcl_constantbuffer CB0[1], immediateIndexed
66dcl_sampler s0, mode_default
67dcl_resource_texture3d (float,float,float,float) t0
68dcl_uav_typed_texture3d (float,float,float,float) u0
69dcl_input vThreadID.xyz
70dcl_temps 1
71dcl_thread_group 8, 8, 8
72utof r0.xyz, vThreadID.xyzx
73add r0.xyz, r0.xyzx, l(0.500000, 0.500000, 0.500000, 0.000000)
74mul r0.xyz, r0.xyzx, cb0[0].xyzx
75utof r0.w, cb0[0].w
76sample_l_indexable(texture3d)(float,float,float,float) r0.xyzw, r0.xyzx, t0.xyzw, s0, r0.w
77store_uav_typed u0.xyzw, vThreadID.xyzz, r0.xyzw
78ret
79// Approximately 7 instruction slots used
80#endif
81
82const BYTE g_csMipmap3D[] =
83{
84 68, 88, 66, 67, 85, 215,
85 143, 22, 58, 22, 102, 67,
86 246, 112, 181, 48, 159, 52,
87 24, 6, 1, 0, 0, 0,
88 252, 3, 0, 0, 5, 0,
89 0, 0, 52, 0, 0, 0,
90 16, 2, 0, 0, 32, 2,
91 0, 0, 48, 2, 0, 0,
92 96, 3, 0, 0, 82, 68,
93 69, 70, 212, 1, 0, 0,
94 1, 0, 0, 0, 212, 0,
95 0, 0, 4, 0, 0, 0,
96 60, 0, 0, 0, 0, 5,
97 83, 67, 0, 1, 0, 0,
98 172, 1, 0, 0, 82, 68,
99 49, 49, 60, 0, 0, 0,
100 24, 0, 0, 0, 32, 0,
101 0, 0, 40, 0, 0, 0,
102 36, 0, 0, 0, 12, 0,
103 0, 0, 0, 0, 0, 0,
104 188, 0, 0, 0, 3, 0,
105 0, 0, 0, 0, 0, 0,
106 0, 0, 0, 0, 0, 0,
107 0, 0, 0, 0, 0, 0,
108 1, 0, 0, 0, 1, 0,
109 0, 0, 193, 0, 0, 0,
110 2, 0, 0, 0, 5, 0,
111 0, 0, 8, 0, 0, 0,
112 255, 255, 255, 255, 0, 0,
113 0, 0, 1, 0, 0, 0,
114 13, 0, 0, 0, 200, 0,
115 0, 0, 4, 0, 0, 0,
116 5, 0, 0, 0, 8, 0,
117 0, 0, 255, 255, 255, 255,
118 0, 0, 0, 0, 1, 0,
119 0, 0, 13, 0, 0, 0,
120 207, 0, 0, 0, 0, 0,
121 0, 0, 0, 0, 0, 0,
122 0, 0, 0, 0, 0, 0,
123 0, 0, 0, 0, 0, 0,
124 1, 0, 0, 0, 1, 0,
125 0, 0, 115, 97, 109, 112,
126 0, 115, 114, 99, 77, 105,
127 112, 0, 100, 115, 116, 77,
128 105, 112, 0, 99, 98, 117,
129 102, 0, 207, 0, 0, 0,
130 2, 0, 0, 0, 236, 0,
131 0, 0, 16, 0, 0, 0,
132 0, 0, 0, 0, 0, 0,
133 0, 0, 60, 1, 0, 0,
134 0, 0, 0, 0, 12, 0,
135 0, 0, 2, 0, 0, 0,
136 80, 1, 0, 0, 0, 0,
137 0, 0, 255, 255, 255, 255,
138 0, 0, 0, 0, 255, 255,
139 255, 255, 0, 0, 0, 0,
140 116, 1, 0, 0, 12, 0,
141 0, 0, 4, 0, 0, 0,
142 2, 0, 0, 0, 136, 1,
143 0, 0, 0, 0, 0, 0,
144 255, 255, 255, 255, 0, 0,
145 0, 0, 255, 255, 255, 255,
146 0, 0, 0, 0, 116, 101,
147 120, 101, 108, 83, 105, 122,
148 101, 0, 102, 108, 111, 97,
149 116, 51, 0, 171, 171, 171,
150 1, 0, 3, 0, 1, 0,
151 3, 0, 0, 0, 0, 0,
152 0, 0, 0, 0, 0, 0,
153 0, 0, 0, 0, 0, 0,
154 0, 0, 0, 0, 0, 0,
155 0, 0, 70, 1, 0, 0,
156 115, 114, 99, 77, 105, 112,
157 76, 101, 118, 101, 108, 0,
158 100, 119, 111, 114, 100, 0,
159 171, 171, 0, 0, 19, 0,
160 1, 0, 1, 0, 0, 0,
161 0, 0, 0, 0, 0, 0,
162 0, 0, 0, 0, 0, 0,
163 0, 0, 0, 0, 0, 0,
164 0, 0, 0, 0, 128, 1,
165 0, 0, 77, 105, 99, 114,
166 111, 115, 111, 102, 116, 32,
167 40, 82, 41, 32, 72, 76,
168 83, 76, 32, 83, 104, 97,
169 100, 101, 114, 32, 67, 111,
170 109, 112, 105, 108, 101, 114,
171 32, 49, 48, 46, 49, 0,
172 73, 83, 71, 78, 8, 0,
173 0, 0, 0, 0, 0, 0,
174 8, 0, 0, 0, 79, 83,
175 71, 78, 8, 0, 0, 0,
176 0, 0, 0, 0, 8, 0,
177 0, 0, 83, 72, 69, 88,
178 40, 1, 0, 0, 80, 0,
179 5, 0, 74, 0, 0, 0,
180 106, 8, 0, 1, 89, 0,
181 0, 4, 70, 142, 32, 0,
182 0, 0, 0, 0, 1, 0,
183 0, 0, 90, 0, 0, 3,
184 0, 96, 16, 0, 0, 0,
185 0, 0, 88, 40, 0, 4,
186 0, 112, 16, 0, 0, 0,
187 0, 0, 85, 85, 0, 0,
188 156, 40, 0, 4, 0, 224,
189 17, 0, 0, 0, 0, 0,
190 85, 85, 0, 0, 95, 0,
191 0, 2, 114, 0, 2, 0,
192 104, 0, 0, 2, 1, 0,
193 0, 0, 155, 0, 0, 4,
194 8, 0, 0, 0, 8, 0,
195 0, 0, 8, 0, 0, 0,
196 86, 0, 0, 4, 114, 0,
197 16, 0, 0, 0, 0, 0,
198 70, 2, 2, 0, 0, 0,
199 0, 10, 114, 0, 16, 0,
200 0, 0, 0, 0, 70, 2,
201 16, 0, 0, 0, 0, 0,
202 2, 64, 0, 0, 0, 0,
203 0, 63, 0, 0, 0, 63,
204 0, 0, 0, 63, 0, 0,
205 0, 0, 56, 0, 0, 8,
206 114, 0, 16, 0, 0, 0,
207 0, 0, 70, 2, 16, 0,
208 0, 0, 0, 0, 70, 130,
209 32, 0, 0, 0, 0, 0,
210 0, 0, 0, 0, 86, 0,
211 0, 6, 130, 0, 16, 0,
212 0, 0, 0, 0, 58, 128,
213 32, 0, 0, 0, 0, 0,
214 0, 0, 0, 0, 72, 0,
215 0, 141, 66, 1, 0, 128,
216 67, 85, 21, 0, 242, 0,
217 16, 0, 0, 0, 0, 0,
218 70, 2, 16, 0, 0, 0,
219 0, 0, 70, 126, 16, 0,
220 0, 0, 0, 0, 0, 96,
221 16, 0, 0, 0, 0, 0,
222 58, 0, 16, 0, 0, 0,
223 0, 0, 164, 0, 0, 6,
224 242, 224, 17, 0, 0, 0,
225 0, 0, 70, 10, 2, 0,
226 70, 14, 16, 0, 0, 0,
227 0, 0, 62, 0, 0, 1,
228 83, 84, 65, 84, 148, 0,
229 0, 0, 7, 0, 0, 0,
230 1, 0, 0, 0, 0, 0,
231 0, 0, 1, 0, 0, 0,
232 2, 0, 0, 0, 0, 0,
233 0, 0, 0, 0, 0, 0,
234 1, 0, 0, 0, 0, 0,
235 0, 0, 0, 0, 0, 0,
236 0, 0, 0, 0, 0, 0,
237 0, 0, 0, 0, 0, 0,
238 0, 0, 0, 0, 0, 0,
239 0, 0, 1, 0, 0, 0,
240 0, 0, 0, 0, 0, 0,
241 0, 0, 0, 0, 0, 0,
242 0, 0, 0, 0, 0, 0,
243 0, 0, 2, 0, 0, 0,
244 0, 0, 0, 0, 0, 0,
245 0, 0, 0, 0, 0, 0,
246 0, 0, 0, 0, 0, 0,
247 0, 0, 0, 0, 0, 0,
248 0, 0, 0, 0, 0, 0,
249 0, 0, 0, 0, 0, 0,
250 0, 0, 0, 0, 0, 0,
251 0, 0, 0, 0, 0, 0,
252 0, 0, 0, 0, 0, 0,
253 0, 0, 1, 0, 0, 0
254};
255
256#endif // Q_OS_WIN
257
258#endif // CS_MIPMAP_3D_P_H
#define __has_include(x)