Searched refs:UBYTE_TO_FLOAT (Results 1 – 8 of 8) sorted by relevance
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_s3tc.c | 268 texel[RCOMP] = UBYTE_TO_FLOAT(tex[RCOMP]); in fetch_rgb_dxt1() 269 texel[GCOMP] = UBYTE_TO_FLOAT(tex[GCOMP]); in fetch_rgb_dxt1() 270 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]); in fetch_rgb_dxt1() 271 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); in fetch_rgb_dxt1() 280 texel[RCOMP] = UBYTE_TO_FLOAT(tex[RCOMP]); in fetch_rgba_dxt1() 281 texel[GCOMP] = UBYTE_TO_FLOAT(tex[GCOMP]); in fetch_rgba_dxt1() 282 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]); in fetch_rgba_dxt1() 283 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); in fetch_rgba_dxt1() 292 texel[RCOMP] = UBYTE_TO_FLOAT(tex[RCOMP]); in fetch_rgba_dxt3() 293 texel[GCOMP] = UBYTE_TO_FLOAT(tex[GCOMP]); in fetch_rgba_dxt3() [all …]
|
D | texcompress_bptc.c | 87 texel[RCOMP] = UBYTE_TO_FLOAT(texel_bytes[0]); in fetch_bptc_rgba_unorm() 88 texel[GCOMP] = UBYTE_TO_FLOAT(texel_bytes[1]); in fetch_bptc_rgba_unorm() 89 texel[BCOMP] = UBYTE_TO_FLOAT(texel_bytes[2]); in fetch_bptc_rgba_unorm() 90 texel[ACOMP] = UBYTE_TO_FLOAT(texel_bytes[3]); in fetch_bptc_rgba_unorm() 105 texel[ACOMP] = UBYTE_TO_FLOAT(texel_bytes[3]); in fetch_bptc_srgb_alpha_unorm()
|
D | api_arrayelt.c | 154 CALL_VertexAttrib1fNV(get_dispatch(), (index, UBYTE_TO_FLOAT(v[0]))); in VertexAttrib1NubvNV() 166 CALL_VertexAttrib2fNV(get_dispatch(), (index, UBYTE_TO_FLOAT(v[0]), in VertexAttrib2NubvNV() 167 UBYTE_TO_FLOAT(v[1]))); in VertexAttrib2NubvNV() 179 CALL_VertexAttrib3fNV(get_dispatch(), (index, UBYTE_TO_FLOAT(v[0]), in VertexAttrib3NubvNV() 180 UBYTE_TO_FLOAT(v[1]), in VertexAttrib3NubvNV() 181 UBYTE_TO_FLOAT(v[2]))); in VertexAttrib3NubvNV() 193 CALL_VertexAttrib4fNV(get_dispatch(), (index, UBYTE_TO_FLOAT(v[0]), in VertexAttrib4NubvNV() 194 UBYTE_TO_FLOAT(v[1]), in VertexAttrib4NubvNV() 195 UBYTE_TO_FLOAT(v[2]), in VertexAttrib4NubvNV() 196 UBYTE_TO_FLOAT(v[3]))); in VertexAttrib4NubvNV() [all …]
|
D | texcompress_etc.c | 1283 texel[RCOMP] = UBYTE_TO_FLOAT(dst[0]); in fetch_etc1_rgb8() 1284 texel[GCOMP] = UBYTE_TO_FLOAT(dst[1]); in fetch_etc1_rgb8() 1285 texel[BCOMP] = UBYTE_TO_FLOAT(dst[2]); in fetch_etc1_rgb8() 1305 texel[RCOMP] = UBYTE_TO_FLOAT(dst[0]); in fetch_etc2_rgb8() 1306 texel[GCOMP] = UBYTE_TO_FLOAT(dst[1]); in fetch_etc2_rgb8() 1307 texel[BCOMP] = UBYTE_TO_FLOAT(dst[2]); in fetch_etc2_rgb8() 1345 texel[RCOMP] = UBYTE_TO_FLOAT(dst[0]); in fetch_etc2_rgba8_eac() 1346 texel[GCOMP] = UBYTE_TO_FLOAT(dst[1]); in fetch_etc2_rgba8_eac() 1347 texel[BCOMP] = UBYTE_TO_FLOAT(dst[2]); in fetch_etc2_rgba8_eac() 1348 texel[ACOMP] = UBYTE_TO_FLOAT(dst[3]); in fetch_etc2_rgba8_eac() [all …]
|
D | texcompress_rgtc.c | 320 texel[RCOMP] = UBYTE_TO_FLOAT(red); in fetch_red_rgtc1() 334 texel[BCOMP] = UBYTE_TO_FLOAT(red); in fetch_l_latc1() 375 texel[RCOMP] = UBYTE_TO_FLOAT(red); in fetch_rg_rgtc2() 376 texel[GCOMP] = UBYTE_TO_FLOAT(green); in fetch_rg_rgtc2() 394 texel[BCOMP] = UBYTE_TO_FLOAT(red); in fetch_la_latc2() 395 texel[ACOMP] = UBYTE_TO_FLOAT(green); in fetch_la_latc2()
|
D | macros.h | 49 #define UBYTE_TO_FLOAT(u) _mesa_ubyte_to_float_color_tab[(unsigned int)(u)] macro
|
D | pack.c | 843 DEPTH_VALUES(GLubyte, UBYTE_TO_FLOAT); in _mesa_unpack_depth_span()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_attrib_tmp.h | 1209 if (index < VBO_ATTRIB_MAX) ATTR4F(index, UBYTE_TO_FLOAT(x), UBYTE_TO_FLOAT(y), in TAG() 1210 UBYTE_TO_FLOAT(z), UBYTE_TO_FLOAT(w)); in TAG() 1274 if (index < VBO_ATTRIB_MAX) ATTR4F(index, UBYTE_TO_FLOAT(v[0]), UBYTE_TO_FLOAT(v[1]), in TAG() 1275 UBYTE_TO_FLOAT(v[2]), UBYTE_TO_FLOAT(v[3])); in TAG() 1406 ATTR4F(index + i, UBYTE_TO_FLOAT(v[4 * i]), UBYTE_TO_FLOAT(v[4 * i + 1]), in TAG() 1407 UBYTE_TO_FLOAT(v[4 * i + 2]), UBYTE_TO_FLOAT(v[4 * i + 3])); in TAG() 1709 ATTR4F(0, UBYTE_TO_FLOAT(x), UBYTE_TO_FLOAT(y), UBYTE_TO_FLOAT(z), UBYTE_TO_FLOAT(w)); in TAG() 1711 …ATTR4F(VBO_ATTRIB_GENERIC0 + index, UBYTE_TO_FLOAT(x), UBYTE_TO_FLOAT(y), UBYTE_TO_FLOAT(z), UBYTE… in TAG() 1721 … ATTR4F(0, UBYTE_TO_FLOAT(v[0]), UBYTE_TO_FLOAT(v[1]), UBYTE_TO_FLOAT(v[2]), UBYTE_TO_FLOAT(v[3])); in TAG() 1723 …ATTR4F(VBO_ATTRIB_GENERIC0 + index, UBYTE_TO_FLOAT(v[0]), UBYTE_TO_FLOAT(v[1]), UBYTE_TO_FLOAT(v[2… in TAG() [all …]
|