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