Home
last modified time | relevance | path

Searched refs:S_FIXED (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/docs/relnotes/
D17.1.6.rst155 - gallium/radeon: make S_FIXED function signed and move it to shared
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.h918 static inline int S_FIXED(float value, unsigned frac_bits) in S_FIXED() function
Dr600_state.c610 S_03C004_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 6)) | in r600_create_sampler_state()
611 S_03C004_MAX_LOD(S_FIXED(CLAMP(state->max_lod, 0, 15), 6)) | in r600_create_sampler_state()
612 S_03C004_LOD_BIAS(S_FIXED(CLAMP(state->lod_bias, -16, 16), 6)); in r600_create_sampler_state()
Devergreen_state.c607 S_03C004_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 8)) | in evergreen_create_sampler_state()
608 S_03C004_MAX_LOD(S_FIXED(CLAMP(max_lod, 0, 15), 8)); in evergreen_create_sampler_state()
611 S_03C008_LOD_BIAS(S_FIXED(CLAMP(state->lod_bias, -16, 16), 8)) | in evergreen_create_sampler_state()
/external/mesa3d/src/mesa/main/
Dmacros.h241 S_FIXED(float value, uint32_t frac_bits) in S_FIXED() function
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c4366 static inline int S_FIXED(float value, unsigned frac_bits) in S_FIXED() function
4424 rstate->val[1] = (S_008F34_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 8)) | in si_create_sampler_state()
4425 S_008F34_MAX_LOD(S_FIXED(CLAMP(state->max_lod, 0, 15), 8)) | in si_create_sampler_state()
4427 rstate->val[2] = (S_008F38_LOD_BIAS(S_FIXED(CLAMP(state->lod_bias, -16, 16), 8)) | in si_create_sampler_state()
/external/mesa3d/src/amd/vulkan/
Dradv_device.c7371 static inline int S_FIXED(float value, unsigned frac_bits) in S_FIXED() function
7473 sampler->state[1] = (S_008F34_MIN_LOD(S_FIXED(CLAMP(pCreateInfo->minLod, 0, 15), 8)) | in radv_init_sampler()
7474 S_008F34_MAX_LOD(S_FIXED(CLAMP(pCreateInfo->maxLod, 0, 15), 8)) | in radv_init_sampler()
7476 sampler->state[2] = (S_008F38_LOD_BIAS(S_FIXED(CLAMP(pCreateInfo->mipLodBias, -16, 16), 8)) | in radv_init_sampler()