Searched refs:S_FIXED (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/docs/relnotes/ |
D | 17.1.6.rst | 155 - gallium/radeon: make S_FIXED function signed and move it to shared
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_pipe_common.h | 918 static inline int S_FIXED(float value, unsigned frac_bits) in S_FIXED() function
|
D | r600_state.c | 610 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()
|
D | evergreen_state.c | 607 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/ |
D | macros.h | 241 S_FIXED(float value, uint32_t frac_bits) in S_FIXED() function
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state.c | 4366 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/ |
D | radv_device.c | 7371 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()
|